ActionScript 3.0 :: Stream Live Video In SWF
Mar 21, 2012How do you stream a live camera feed in a flash/actionscript file?What video format do you need to stream it in a swf?
View 1 RepliesHow do you stream a live camera feed in a flash/actionscript file?What video format do you need to stream it in a swf?
View 1 RepliesHow can i stream video live by the help of PHP like live tv? I am willing not to use flash media server. If it is must to use it then which server is free and reliable?
View 1 RepliesPossible to place or insert text on live video stream using the FMS?Whether with any solution or plugin.I am a web radio broadcaster and would like to have information on the screen like the station's phone number instead of having to keep reading it out all the time.
View 2 RepliesI don't find such API to indicate whether a stream is live or not.
Anyone knows how to judge this,either by client side or server side actionscript?
I have a streaming video that is displayed on a web page through a flash player from an external source. This video has a huge border that I would like to crop out before displaying. How can I alter the feed in real time before showing it to the user, such that the resulting video has its border removed?
View 1 RepliesI need to play a .FLV file (a commercial), then switch over to a live RTMP stream. Then, every 30 minutes STOP the live stream (or mute/hide it if thats more efficient/effective) and play the commercial again, then continue with the stream for another 30 minutes and repeat. For some reason I'm clueless on how to do this. I don't know if I'm supposed to use timers or setInterval. For now I'm using the FLVPlayBack component (I'm too lazy to code my own right now).
It would be really cool if the script could sense when the video is done playing rather than me having to set a specific time because they might not all be the same length. I dont want my viewers seeing 15 seconds of nothing if its a 15 second commercial and I set a timer for 30 seconds.
I was wondering if I were to create a NetStream object and publish it passing in "record" (allowing the end user to record a video via webcam which is then stored on the FMS), how would I specify the bitrate and frame rates etc of the video being recorded? Is this something I need to configure flash media server to do or can I do this through action script?
View 1 RepliesHow can I access the camera on a wireless computer and import the live stream into my a SWF file, on Ubuntu Linux?
I know that there is Flash Media Server and Flash Media Live Encoder to create an .flv stream, but the encoder only works on Windows and Mac.
Is it possible to access the camera on a linux computer and convert into a video stream for AS3?
If not, are there other video stream formats that can be read into Actionscript?
im looking for a Flash Video player that can play Live Stream Video .... i follow the video basic 6 but wasnt sure which part of the link i have to put on ns.play("link here"); this the link i got from the stream
s1.addParam('flashvars','&file=livestream&bufferlength=3&type=rtmp&streamer=rtmp://w.fl.misolutions.net/wn-live01/'); i dont which part i should used to replace "link here"
I'm trying to get Flex Builder 3 to play a live video stream with Flash Media Server and Flash Live Media Encoder.
I'm able to stream pre-recrorded (vod) flvs in flex from flash media server.
I'm able to stream live video using Flash/FMS/Flas Live Media Encoder, but not with Flex.
This code streams pre-recorded Video on Demand flvs, but not live streams:
If I change source to "rtmp://localhost/live/livesream.flv, I get nothing.
<?xml version="1.0"?><!-- controlsvideodisplayVideoDisplayFMS.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:HBox> <mx:Label text="RTMP FMS 2.0"/> <mx:VideoDisplay autoBandWidthDetection="false" source="rtmp://localhost/vod/Legend.flv"/> </mx:HBox></mx:Application>
I am trying to encode and stream live video. I have downloaded both the Flash Media Encoder and Flash Media Server. The problem i have now is, i can't able to connect to Flash Media Server. The FMS url is as default: rtmp://localhost/live. Do i have to purchase a FMS url? How do i make sure that my FMS is running/ activated?
View 1 RepliesI'm trying to use Flash's StageVideo object through the example ActionScript file in this page(http:url....), the problem is it's just showing up a black screen (no video) for live streams which are not using the H264 codec? and also it is not even throwing up a StageVideoEvent.RENDER_STATE event to say that it cannot play the stream. Actually it can seem to play the stream because I can hear audio but it is just unable to show up any video.
Someone commented on some other sites to check if the "Enable Hardware Acceleration" in the Flash settings is checked, and I can confirm that it is checked, again this is only happening whenever I'm viewing a non-H264 stream.Can the StageVideo be used to view live stream using screenshare codec (SVC2)? I have tried viewing H263 stream and it plays fine, only when viewing live stream using screenshare codec that I'm encountering this problem
I am trying to find a way to embed a live video stream on a webpage accessible via the internet. I have my video server setup so that multicast streaming over my LAN works. The only problem I face now is figuring out how to embed the live video object into my webpage. I am wondering if I could use a converter like ffmpeg and flex to accomplish this? If this is not the right place to post this, just let me know and I'll repost in the proper place.
View 2 RepliesHave a Flex/FMS web meeting app that has multiple custom components - live streaming camera, chat, slide dec.
Each component does its share of communicating through the FMS server. Should all three of those things share one NetConnection object in the application or will the live video stream suffer when users chat or the meeting presenter advances slides and such?
use Flash's StageVideo object through the example ActionScript file in this page [URL] the problem is it's just showing up a black screen (no video) for live streams which are not using the H264 codec?and also it is not even throwing up a StageVideoEvent.RENDER_STATE event to say that it cannot play the stream. Actually it can seem to play the stream because I can hear audio but it is just unable to show up any video, anybody encountered this scenario before?Someone commented on some other sites to check if the "Enable Hardware Acceleration" in the Flash settings is checked, and I can confirm that it is checked, again this is only happening whenever I'm viewing a non-H264 stream
View 1 RepliesIs it possible to broadcast a live video stream from my PC to my website and have it appear in a flash player?
View 4 RepliesI'm trying to stream live video for the first time. I've installed FMIS 3.5 without Apache 2.2. I'm confused on the RTMP/HTTP protocol usage,I can only have port 80 opened on our FMIS 3.5 box.
[Code]...
Server conf:
2 x Intel(R) Xeon(R) CPU L5410 @ 2.33GHz
16Gb RAM
2 Gbit ethernet channel
OS - Linux CentOS 5.5 x86_64
FMS4 Interactive
Live stream parameters:
320Ń…240 qua_=87 bw_=200000 kf_=5 fps_=18
So, after approximately 600 connections to one stream video becomes choppy (periodically freeze, slow motions). CPU-usage at this time is 100-120% (maximum is 800%, 100% per each core), network usage is 500 Mbit/sec.But second live stream(with few connections) at this server looks fine simultaneously with 600 connections at first stream.Experiments with recommendation in "Configuring performance features" documentation chapter(enabling/disabling aggregate messages and configure the size of stream chunks) do not help.
I did a live stream last week using 282,482,832,1500Kbps streams. What would cause the audio to get out of sync with the live video stream? I'm trying to determine if it was bandwidth related, cpu/memory issue on the FMIS 4.5 server, or an issue with encoding PC exceeding it's limits?
View 3 RepliesHow to record a live video stream playing on an FLVPlayback?
View 1 RepliesI currently have two connections with two separate streams. They both hit the same fms 3.5 server. One connection transfers live audio and video. The other one is used for remote objects. Sometimes when viewing the audio and video stream with a slower internet connection, the stream for the shared objects disconnects. I think it is a bandwidth issue. Is there any way to set the priority of the streams? I think this should allow me to set a higher priority for the shared object connection so it won't disconnect.
View 3 RepliesIs it possible to limit the length of live recorded video stream to N minutes/MegaBytes by SSAS in FMS? If the aggregate size of stream outcomes the limit,always make the recorded video file the last N minutes/MegaBytes of the live show? remove the video file and record from the beginning when arriving N minutes/MegaBytes?
View 1 RepliesWhat file should android devices use to view a live video stream? myeventname.f4m? I'm using the following html5 code and it's not working in Android devices.
<video id="liveWebcast"
poster="poster.jpg"
src="[URL]" controls autoplay>
</video>
So far , I only found tutorials on control these attributes while publishing the stream
View 15 RepliesI am using Flash Media server 4.5 and i read the tutorial if i want to stream the live feed, i may need to use the media live encoder.
but what i found in media encoder is i have to manually setup everything and it only support camera devices. But in my case i have multiple video files keep received from another program and place it on file system (server),my goal is use the Flash Media server to perform a live boardcasting with these video file one by one. That means when client watching a live streaming, they will not notice the server is playing mov1, then mov2, then mov3, then mov4... and so on.
You can imagine i am trying to boardcast a live footage say for 60sec, but the video file will not recorded entirely after 60sec, instead for every 10sec i will save a new video file, so that when client watching the live by HLS [URL]when the time reach to 10sec, a mov1 video file available and FMS should boardcast this video on live123.when the time reach to 20sec, a mov2 video file available and FMS should Immediately follow the mov1 boardcast on live123.and so on...Also can FMS dynamically create a new streaming session (invoke by code), so that when client A uploading some video files to the server, the FMS open a new streaming session only stream cilent A video files?the configuration to boardcasting like screen size, bit rate, etc should be pre-defined on the server. [URL]
I use FMIE and FMLE.how can i do save to file Live Streaming in server installed fms, not local system ?
View 1 Repliesclose another live stream B if opening when stream A is closed? Does FMS support this kind of logic?
View 8 RepliesI build a client side application where is only a FLVPlayback2.5 component and a short AS3 script.
[Code]....
My Encoder is setup with three streams: Vid: 500 kbps - Audio: 48 kbpsVid: 800 kbps - Audio: 48 kbpsVid: 1500 kbps - Audio: 48 kbps I start the encoder and everything looks fine in the log. In my browser (Safari or Firefox) I go to my html site and the stream starts after 6-8 sec. But anytime with the lowest bitrate 548 kbps and nothing look like the stream is switching to another bitrate. I tried it with the smil playlist and the result is the same. Only the lowest bitrate is plublished.
[Code]....
I'm having a problem with recording a live webcam stream. The last few seconds of the stream is getting cut off.
The recording is stopped with the following piece of code:
vid.attachCamera(null);
vid.clear();
ns.attachCamera(null);
ns.attachAudio(null);
ns.pause();
What could be causing this? Is the stream cut off too soon? Is the client unable to send buffered data to the server?
I'm trying to stream a HDS live multi-bit stream, it seems to push to the FMS but my player doesn't display the stream.Are these settings and files correct? The documenation is confusing on what and which files need to be edited and/or created.
Encoder settings:
Bit Rate: 150,500,700
FMS URL: rtmp://myserver/livepkgr
Stream: liveevent%i?adbe-live-event?liveevent
FMS 4.5
I see the following directories being created when I start encoding and each directory has a single file with a .stream extension in them. Are these correct? fC:FMS-HOMEapplicationslivepkgrevents\_definst_liveevent1[code].....