ActionScript 3.0 :: Play FLV Video Commercial Then Live Stream?

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


Similar Posts:


Media Server :: Play Live Video Stream With Flex?

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

Stream Video Live By Php?

Sep 17, 2011

How 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 Replies

Actionscript :: Play An Mp3 Live Stream With Flash?

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

Text On Live Video Stream?

Feb 21, 2010

Possible 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 Replies

ActionScript 3.0 :: Stream Live Video In SWF

Mar 21, 2012

How 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 Replies

Check Whether A Stream Live / Recorded Video In FMS?

Dec 2, 2010

I 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?

View 4 Replies

Flash :: Crop Live Video Stream?

Jun 1, 2011

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 Replies

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

Set / Determine Live Recorded Stream Video Quality?

Sep 9, 2010

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 Replies

ActionScript 3.0 :: Stream Live Video Wirelessly On Linux?

Feb 28, 2012

How 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?

View 0 Replies

Actionscript 2.0 :: Flash Video Player (live Stream)

Mar 9, 2009

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"

View 1 Replies

Professional :: Adobe Flash Tried To Play A Live Or Recorded Stream That Does Not Exist

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

Flash :: Media Server - Encode And Stream Live Video

Nov 11, 2010

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 Replies

ActionScript 3.0 :: StageVideo Not Showing Live Stream Video (non-H264)?

Sep 12, 2011

I'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

View 14 Replies

Embed A Live Video Stream On A Webpage Accessible Via Internet?

Apr 3, 2009

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 Replies

Actionscript :: FMS Live Video Stream Suffer If Chat Uses Same NetConnection?

Sep 22, 2009

Have 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?

View 2 Replies

Flash - StageVideo Not Showing Live Stream Video (non-H264)?

Sep 12, 2011

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 Replies

ActionScript 3.0 :: Flash - Broadcast A Live Video Stream From PC To Website?

Jul 25, 2010

Is it possible to broadcast a live video stream from my PC to my website and have it appear in a flash player?

View 4 Replies

Media Server :: Client Is Not Able Play Back The Live Stream From The FMS(Error 1009)?

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

Stream Live Video - Use Http Or Rtmp Protocols From Player Code?

Nov 21, 2009

I'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]...

View 1 Replies

Media Server :: Live Webcam Video Becomes Choppy After 600 Connections Per Stream?

Dec 10, 2010

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.

View 2 Replies

Media Server :: Audio Several Seconds Out Of Sync With Live Video Stream

Jan 4, 2012

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 Replies

Media Server :: Record A Live Video Stream Playing On An FLVPlayback?

Mar 22, 2012

How to record a live video stream playing on an FLVPlayback?

View 1 Replies

ActionScript 3.0 :: Video Skin Work And Play Video Locally And NOT Live?

Jul 31, 2009

Why does my swf's skin referenced by a simple component FLA work locally but NOT live? There's no AS3 in the component FLA. It's just a one-layer component referenced to the the FLV. When I test locally, IN FLASH CS4 ONLY, and click on "Animalia - Verse From the Zoo" the FLV and skin load and the video (source FLV - "Sequence01.flv") plays. But the same thing live only loads the swf for the FLV file area but NO SKIN. Try it yourself, please:Has anyone had this problem and knows the solution? All files are in the SAME FOLDER on the web server. I've tried every URL and path combination I can think of on the website. I've tried referencing the whole URL.

Yet whatever path combination I try, either nothing happens, or I just get the FLV box but no skin. Which is what's happening now. Publish settings are set to Flash Player 10 for all files. And I've tried the component SWF WITH and WITHOUT the fl.video package (import fl.video.*. No difference. Why does the skin load and play locally but not live? It's all AS3. No AS2. And it does not seem to be a "publish settings" issue as far as I can see. The relevant code in my API is:

var AnimalFLVLoader:Loader = new Loader();
AnimalFLVLoader.contentLoaderInfo.addEventListener (MouseEvent.MOUSE_DOWN,fAnimaliaVOn);
Animalia2.addEventListener(MouseEvent.MOUSE_DOWN, fAnimaliaVOn);

[code].....

View 9 Replies

Media Server :: Stream Priorities - Live Audio And Video / Remote Objects

Jul 14, 2010

I 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 Replies

Media Server :: Rotate The Live Recorded Video Stream To A Maximum Limit?

Dec 6, 2010

Is 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 Replies

Media Server :: What File Android Devices Use To View Live Video Stream

Dec 29, 2011

What 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>

View 3 Replies

Media Server :: Adobe Flash Tried To Play A Live Or Recorded Stream That Does Not Exist. Source Can't Be Found?

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

Media Server :: Possible To Adjust FPS,video Size And Quality Per The Bitrate While Playing A Live Stream?

Jul 30, 2010

So far , I only found tutorials on control these attributes while publishing the stream

View 15 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved