Flash 7 :: Play A FMS Stream (live Or On Demand), Either An FLVPlayback Component
Jul 16, 2009
In order to play a FMS stream (live or on demand), either an FLVPlayback component or the Video class is needed.And they require ActionScript 3 and Flash 8 or above.
As far as i know , Youtube, Dailymotion and Google Video stream their on demand videos from a FMS, and their players are compatible with Flash 7.
How can they achieve this? If Youtube, Google and Dailymotion do that, i deduce it's possible..
I tried to create a Flash 7 application that plays a video coming from FMS, using a MediaDisplay component, but it doesn't work well. Sometimes it shows the video, sometimes not.So i don't think youtube player uses MediaDisplay..
View 7 Replies
Similar Posts:
Sep 14, 2011
I have a folder in my applications folder in FMS 4.0 Is it possible to stream both Live and VOD from this sames folder.
View 1 Replies
Nov 19, 2010
I want it to automatically detect if there's a live video,then play live;otherwise play back.
View 2 Replies
Apr 11, 2009
I need to know how to start and stop my flvplayer and my live stream.
I think this is kind of what I need but I've tried bits and pieces of it inside of functions triggered after a certain time and its not working.[code]...
View 5 Replies
Jun 29, 2011
I'm completely new to ActionScript and Flash. I need to create a flash plugin that can play audio that is streaming live in an mp3 format. I would have used the new html5 <audio> tag except that they don't support mp3, and I have thus resorted to Flash.[code]...
View 1 Replies
Mar 22, 2012
How to record a live video stream playing on an FLVPlayback?
View 1 Replies
Sep 4, 2011
I have started a stream from Flash media encoder to flash media server. According to my encoder, it should be located at: "rtmp://localhost/live" and is called livestream.In the Flash software I try and set the source of FLVPlayback component to "rtmp://localhost/live/livestream", and I get this error: "NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.". Both the server and encoder is runnind and I am encoding.Too, when I try and open the html with the stream in a browser, nothing appears.
View 5 Replies
Jul 23, 2009
I can play my live rtmp (fms) stream through the FLVPlayback component without any problems. I even figured out how to make my own player in AS2. But I still can not get a LIVE player in AS3. I keep getting "onMetaData", "Async" and "onBWDone" errors in varying combinations.Can someone, please find it in their heart to provide me with the appropriate code? Every single tutorial online is either AS2 or is for flvplayback (nc.connect goes to null).[code]
View 13 Replies
Jul 23, 2009
I can play my live rtmp (fms) stream through the FLVPlayback component without any problems. I even figured out how to make my own player in AS2. But I still can not get a LIVE player in AS3. I keep getting "onMetaData", "Async" and "onBWDone" errors in varying combinations. Here is my working AS2 code. I have a "linked video" thing from the library named "live_feed" on the stage.
Code:
//connect to the Flash Media Server
client_nc = new NetConnection();
client_nc.connect("rtmp://12.34.56.789/live/");
[code]....
View 3 Replies
Sep 5, 2011
I have started a stream from Flash media encoder to flash media server. According to my encoder, it should be located at: "rtmp://localhost/live" and is called livestream.In the Flash software I try and set the source of FLVPlayback component to rtmp://localhost/live/livestream", and I get this error: "NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.". Both the server and encoder is runnind and I am encoding.
View 12 Replies
Nov 19, 2010
I've read the reference here,but it seems to me that I can only make it work with live OR recorded videos.How can I make it work with both live AND recorded videos?
View 7 Replies
Apr 8, 2009
I 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.
View 1 Replies
Sep 23, 2010
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>
View 3 Replies
Oct 13, 2010
I'm just trying to figure out this error message that comes up when I am importing a video into flash. It says: 'NetStream.Play.StreamNotFound: Adobe flash tried to play a live or recorded stream that does not exist. Source can't be found'
View 2 Replies
Jul 13, 2011
I am publishing video content to FMS with my program to livepkgr application. After i start publishing the vidoe content, files like .bootstrap, .conrol, .f4f and .meta are gettign created inside the livepkgr folder's my stream folder. But when i try to playback via OSMF player, the player is throwing error 1009. This happens for some few minutes. After some 4-5 minutes, the player start playing the live video content properly (.f4f file size is not getting updated for those few 4-5 minutes)
View 2 Replies
Mar 9, 2010
Is there any way that i can load a local mp3 file using flvplayback?
View 2 Replies
Apr 8, 2010
Video won't play from XML
I have been trying to pull a single random video (.flv) from an XML list to play it using the FLVPlayback component. I managed to get the description from the <desc> tag and the title <vidtitle> tag in the xml file but can't get the flv to play in the player.
I dragged a FLVPlayback component onto the stage and gave it an instance name of "display" but I still cannot get it to work. I get no errors when hitting "control + enter" the video never loads. My code is below.
Code: Select all//Let's load our video classes
import fl.video.*;
import flash.events.Event;
import flash.net.*;
[Code].....
View 1 Replies
Sep 29, 2009
Will the FLVPlayback Component (version 2.5.0.15) play an MP3 file without it having to be streamed through a Flash Media Server? All I'm looking for is to place a player into my Flash that plays an MP3 file that's in the same directory as the SWF.
Here's my code... it's pretty simple:
import fl.video.FLVPlayback;
var myMusic:FLVPlayback = new FLVPlayback();
myMusic.source = "mySong.mp3";
myMusic.skin = "SkinOverPlayMute.swf";
myMusic.skinBackgroundColor = 0xCCCCCC;
addChild(myMusic);
View 3 Replies
Jul 27, 2011
i'm trying to embed h264 mp4 video into website using flash cs3 professional.
when i select the source file it's looking for .flv files and not the mp4 file so the mp4's are greyed out.i read a great tutorial using a pc which shows the workaround for being able to see the mp4 files.url...I'm however using a mac and this method of putting an * in the file name box doesn't work on mac.
View 1 Replies
Aug 2, 2006
My Challenge is this...To feed up to 5 video references (filepaths) into the SWF which contains the FLVPlayBack component, and have these play in sequence automatically.
Once the first video ends, the next begins...Currently our FLV player takes 1 filepath passed by FlashVars and play it.
First things first... I just want to get the function of having one .flv file play after the first has finsihed... do I need some kind of listener?
View 3 Replies
Jan 17, 2011
I recorded videos using fms and i want to play them using FLVPlayback component. I've done some research but i cant find somethinguseful, I tried this code :
flvplayback.source = "rtmp://localhost/appname/instancename/video";
View 5 Replies
Nov 3, 2011
I am trying to config custom encryption key for different pieces of content at streaming level using jit.conf for On-demand Apple HTTP Live Streaming.I tried to set "HLSEncryptionScope content" in httpd.conf and placed jit.conf in ../webroot/vod but not success, the m3u8 generate not contains EXT-X-KEY.and, I tried and got nothing in access plugin log file while i http stream a m3u8 file, is it possible to log HTTP Live Streaming using plug-in?can plugin got any event triggered by http streaming?
View 4 Replies
Mar 20, 2012
I was wondering if there was a way to get the sound from a FLVPlayback component and manipulate it with using a custom volume slider? Within my Actionscript I currently have this code which enables me to control the volume of a MP3:
import fl.events.SliderEvent;
var mysong = new music();
var myChannel:SoundChannel = new SoundChannel();
var myTransform = new SoundTransform();
myChannel = mysong.play(0,10);
[Code]...
But Instead of using the MP3 for sound, is there a way to use an FLV's sound instead?
View 1 Replies
Aug 28, 2010
close another live stream B if opening when stream A is closed? Does FMS support this kind of logic?
View 8 Replies
Mar 9, 2010
I 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]....
View 3 Replies
Aug 27, 2010
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?
View 2 Replies
Dec 12, 2011
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].....
View 2 Replies
Jul 4, 2011
I have a video in flash in the size of 19 MB (5 minutes) and I want the user to see what that has been loaded so far, or even get an indication of what has been loaded - so he won't be stuck in a blank screen until the video loads. The quality of the video is important so I won't resize it - but how can I: stream it so the user can see what that has been loaded so far give him an indication of how long he will need to wait until it loads.
My Code looks something like this:
[Code]....
View 1 Replies
Nov 16, 2010
I have a component and I add some content to it making it change it's size, immediately I need it's new size, but flex only updates the size in the next frame by calling updateDisplayList. how can I force it to update the size of the component right away.
View 1 Replies
Apr 26, 2010
I am wanting to play a number of movie clips and flash produced video clips. On the main timeline I have a frame for each clip I want to play. In that frame is a flash movie that contains the video that I have embedded onto the timeline for the movie. The filesize for this project is massive and I am struggling to work on the file. I want to be able to play the video files with the playback component in each of the frames where the video was.
[Code]...
View 5 Replies