flash-media-server

AS3 concatenate rtmp connection string from xml between two functions

旧城冷巷雨未停 提交于 2019-12-24 18:23:44
问题 I keep getting a 'null' for the instance of the application under flash media server. I can't seem to pass the value from one function to another function XML Sample <bsettings> <obj title="instance">19046</owner> <obj title="id">uniqueid</owner> <obj title="name">somename</owner> <obj title="date">08/01/2012</owner> <obj title="gender">female</owner> </bsettings> AS3 Code <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="initConnection(event)">

FMS FLV to mp3/aac/wav

我是研究僧i 提交于 2019-12-24 07:48:28
问题 How can I decode a FLV's audio if it's recorded from a live stream using Flash Media Server and uses NellyMoser codec? I'm writing a script that process several FLVs, using FFmpeg, so I need a command line solution. Any ideas? 回答1: This should work for you, since NellyMoser is supported by FFmpeg. 1. Using mp3 ffmpeg -i yourinput.flv -vn -acodec libmp3lame output.flv 2. Using AAC (switch aac with libfaac depending on which you have loaded) ffmpeg -i yourinput.flv -vn -acodec libfaac output

AS3: Is it possible to capture stage elements or bitmap data into a netstream?

大城市里の小女人 提交于 2019-12-23 17:27:28
问题 I'm looking at the netstream documentation. but can't really glean if appendBytes() can really take arbitrary data. Could I really just take arbitrary bitmap data (as a byte array) and append the frame to stream (presumably before sending it to a FMS to save a file)? I think I am wrong: it's only useful for dynamic streaming. I know that it is possible to grab a webcam feed and directly encode video via FMS. But say I wanted to add some overlays before encoding, is that even possible in Flash

Live video streaming using progressive download (and not RTMP) in Flash

和自甴很熟 提交于 2019-12-23 01:55:14
问题 Is it possible to use progressive download for near real-time playback of a live video stream recorded with a webcam? What I need is that a video stream is recorded on one end, uploaded in real-time to a server and downloaded with a short delay, but in real-time, using progressive download (i.e., HTTP streaming) on another end for playback. Is it possible or does it require the use of RTMP? If it's possible, then does it require that Flash Media Server runs on a server? Thanks! 回答1: What you

Speex or nellymoser

北战南征 提交于 2019-12-21 17:44:33
问题 I am developing a voice application, I have 2 options speex and nellymoser .Why should I use speex instead of nellymoser in flex application. 回答1: this should make it clear , Comparison of both codecs for flex: http://askmeflash.com/article/2/speex-vs-nellymoser 回答2: Speex is open source, optimized for speech and seems to have lower bandwidth requirements. However, in Flash/AIR, Speex is always 16 kHz, which is not quite the Skype-like crispness of the sound. Because of that, we're currently

red5 media server and protect video from being embeded?

半城伤御伤魂 提交于 2019-12-20 04:31:26
问题 I'm trying to protect my videos the most possible way, so I know putting them up on a red5 media server will make them streaming so the flv file won't be downloaded to users cache but the main concern I have is that possible to protect the video from being embeded? so it will run only from domains that I specify? and also, is it possible to somehow encrypt a streaming video file? and encrypt it down in my flash player when it's downloading? 回答1: To secure your streams you can edit the file:

Using your own AMS, how can you use BitmapData.draw() on an RTMP stream with no security exception?

…衆ロ難τιáo~ 提交于 2019-12-14 03:53:46
问题 I've posted a similar question about the more general case, but this question deals specifically with RTMP. We have an Adobe AIR app written in AS3 that can view live video streams from other parties. That being said, when trying to call BitmapData.draw() on one of those remote video streams (technically we're calling ImageSnapshot.captureImage() ), we're getting a 2123 error - a security sandbox exception. I've seen a lot of people refer to a real simple configuration in the AMS that will

Adobe Cirrus Error on Direct Connect“Property startTransmit not found on flash.net.NetStream”

你离开我真会死。 提交于 2019-12-12 12:33:41
问题 The error: ReferenceError: Error #1069: Property startTransmit not found on flash.net.NetStream and there is no default value. I've played around with cirrus plenty of times before and have yet to see this error before. But now I cant get it to go away. My p2p Direct connect works great just fine. But every single time i see this error pop up. It throws an exception. I can't figure out where it's exactly happening. Has anyone encountered this before? Any ideas where I should look? 回答1: Every

Error #2130 Unable to flush sharedObject

♀尐吖头ヾ 提交于 2019-12-11 21:19:50
问题 I cant flush the shared object in my project. What can I do for that problem? 回答1: Make sure that the URL is valid. I had the same problem with a double slash ( // ) in the URL: http://localhost/myProject//MyProject.html?debug=true 回答2: Flash should be allowed to store data to your hard drive. You can configure storage settings here : http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.html 回答3: I was having the same problem in Windows 7. I went to control

How can I record and save flash video's with an H264 codec

自闭症网瘾萝莉.ら 提交于 2019-12-11 02:57:23
问题 Right now I am working on an AIR 3.2 application which lets you stream a video to a Flash Media Server and saves it on a hard drive. This sequence works fine with the standard Sorenson codec but I want to use H.264 for my videos. I found lots example code and implemented it in my code, but when I record a video of myself I am unable to re-watch it afterwards. I found how to implement a H.264 encoding in a realeyes blog post here. My code is here. It saves the video as a .f4v file, but my