ActionScript 3.0 :: Dynamic Stream, Initiate, Buffer But Dont Play?

Feb 10, 2010

is there a way to start a stream, let it buffer, but pause it on the fast frame? (or not start it at all) the manual pause call is way to slow.

View 4 Replies


Similar Posts:


ActionScript 3.0 :: Play MP3 Sound From Buffer (ByteArray / Stream)?

Oct 25, 2009

I have a buffer with MP3 data (If I would save this buffer and call it buffer.mp3 it would play, but in this situation I should not save it to file system). I have to play it, but I can not, what shall I do? I tried the next code to play that buffrer(ByteArrayStream) (I get MP3 data from server the method of getting data works fine (tested on text int's etc) I call the returned ByteArray readResponse because I have some seading method and It is it's response).

[Code]....

View 5 Replies

ActionScript 3.0 :: How To Buffer Stream When The Video Is Paused

Nov 30, 2010

I just made it clear of the differences between the progressive video and streaming video *^_^* But I do need a feature of allowing buffering the video when it's paused, which I cannot find how to do it directly... I followed an article ( url...) to manage the buffer strategy but it didn't solve my problem. My problem is: if the user has a very slow network condition, he/she might want to just pause the video manually, and wait it to be downloaded until it's 'pretty much', and he/she can watch it without interrupting. But I notice that, when I pause the video, the event "NetStream.Buffer.Flush" is triggered. And according to the language reference: "Data has finished streaming, and the remaining buffer will be emptied.", I have to re-buffer it, right? However, also according to the reference, it shouldn't stop buffering:Starting with Flash Player 9.0.115.0, Flash Player no longer clears the buffer when NetStream.pause() is called. This behavior is called "smart pause". Before Flash Player 9.0.115.0, Flash Player waited for the buffer to fill up before resuming playback, which often caused a delay. I'm using Flash Professional to do the debugging, and the traced version number is: MAC 10,0,22,91; and for the streaming server, I use red5.

View 1 Replies

ActionScript 3.0 :: Buffer Stream When The Video Is Paused?

Nov 28, 2010

just made it clear of the differences between the progressive video and streaming video *^.^*

But I do need a feature of allowing buffering the video when it's paused, which I cannot find how to do it directly...

I followed an article (I'm not able to post the url) to manage the buffer strategy but it didn't solve my problem.

My problem is: if the user has a very slow network condition, he/she might want to just pause the video manually, and wait it to be downloaded until it's 'pretty much', and he/she can watch it without interrupting.

But I notice that, when I pause the video, the event "NetStream.Buffer.Flush" is triggered. And according to the language reference: "Data has finished streaming, and the remaining buffer will be emptied.", I have to re-buffer it, right?

I really expect the "buffer when paused" functionality, is it possible to do?

p.s. I'm using red5, not fms, although I haven't touched the difference part of them.

View 3 Replies

Media Server :: Buffer A Live Webcam Stream?

Aug 20, 2009

Should I buffer a live webcam stream?

View 1 Replies

Flex :: Flash - Buffer + Live Stream Via RTMP?

Jan 27, 2010

Live streaming and a buffer on a NetStream do not mix. Why? The docs don't say you can't do this.The playback gets hosed. Buffer is supposed to fill to what you set it to before playing. Instead though, about half the time, the player starts playing right away and disregards the buffer time you've set. Then you get caught in short buffering and rebuffering cycles that degrades the playback experience.

Give it a shot yourself. Here is the simplest of live streaming video players. No frills. Just connect it to your live stream by changing the defaultURL string and stream name in the ns.play() statement.

Run it in Flex debug mode. It will check and print the ns.bufferLength property every second. The buffer is set to 20 secs currently. Last time I ran it, I never made it above 2 seconds in the buffer. Player started playing right away instead of buffering the full 20 secs first. Sometimes you get to the full 20 and sometimes not.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
initialize="init()">
<mx:Script>

[code]....

View 2 Replies

Actionscript 3 :: Buffer Stream When The Video Is Paused With Flash?

Nov 30, 2010

I need a feature of allowing buffering the video when it's paused, which I cannot find how to do it directly... I notice that, when I pause the video, the event "NetStream.Buffer.Flush" is triggered. And according to the language reference: "Data has finished streaming, and the remaining buffer will be emptied.", I have to re-buffer it, right? However, also according to the reference, it shouldn't stop buffering:

[Code]....

View 1 Replies

Media Server :: Publish Live Stream(H.264) To FMS(NetStream.Buffer.Empty)?

Feb 27, 2011

I am developing a C++ program to connect FMS via RTMP, and then publish a live stream I can't use FMLE here because I need collect the H.264 NALU from somewhere and forward them to the FMS.I write a demo app, which parses H.264 encoded FLV file, and send the VideoTag in the FLV as RTMP Message content for publishing.Finally, I make it run and I can see some frames of video!But the problem is: The video does not play smoothly and it just updates some frames.
Then I looked at the NetStream event and found that:Everytime when there is a NetStream.Buffer.Full event, the frame in the video is updated and display correctly But immediately there is another NetStream.Buffer.Empty event followed and the video is frozen.
 
[code]...

View 1 Replies

Media Server :: Clearing Application Buffer After A Live Stream Ends?

Mar 16, 2012

I'm sure this has been asked and answered a million times, but searching for "application" "buffer" "cache" "live" and "hls" isn't giving me any answers, so let's get to it. After I end a live stream (which I do using FMLE 3.2 and FMS 4.5) and I then start a new live stream with the same application name, the HLS stream just loops the last 30 seconds of the old stream. To prevent this, after I end a stream, I have to go to applicationslivepkgstreams\_definst_ and delete the buffered data there. Only then can I start a new stream with the same name as the old stream. Now... that can't be normal, can it? Is there a switch somewhere I can set to tell FMS to cut it out and stop buffering old streams?

View 1 Replies

Media Server :: Cannot Play HTTP Sample Video And Dynamic Stream On IIS Default Website

Aug 4, 2009

if I repeat this IIS topic, I couldn't find the answer to my problem any where on the internet. I installed FMS Dev 3.5 on Win 2003 Server with IIS 6.0 enabled. I don't have any issue with port 80 Listening, I used the IP address 192.168.0.21 for my web application (IIS) and 192.168.0.22 for FMS (I only have one network card and port 1935 is open under firewall). I can play the sample videos (RTMP, HTTP, and Dynamic Stream) using the Flash Media Start Screen (or from the location C: Program FilesAdobe Flash Media Server 3.5webrootindex.html) without any problem.

I then modified the IIS Default Website to look at the "webroot" folder (C: Program FilesAdobe Flash Media Server 3.5webroot). From IE, I can access the default web site by enter http://192.168.0.21/index.html. The website loads up correctly, and the RTMP video is playing perfectly. However, if I click Play Video (HTTP) or Dynamic Stream (tab), I receive "Connection Error. Please press Play to try again." I look at the log file (access.01.log) and see the error log "Session disconnect

[Code]...

View 5 Replies

IDE :: Dynamic Text Dont Load When Is On Server

Apr 23, 2009

i got a dinamic text field wich loads text from 2 diferent file.txt with loadVariable, it works fine on my computer but when i upload to server the text wont show up.[code]

View 3 Replies

Media Server :: Access Log- Stream Play & Stream Stop?

May 24, 2010

I have recently installed FMIS 3.5.3. In checking the access logs I find data in both logs that display the same stream stop and stream play time .I'm not sure why the time is the same (00:19:27 example below). Videos play fine when testing from work (T3 connection). However, occasionally a very slight hesitation when playing video from home (I have cable connection). [code]...

View 4 Replies

Media Server :: Dynamic Live Stream Don't Take The Best Stream For Bandwith

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

ActionScript 3.0 :: Put Buffer In Dynamic Sound(mp3 File)?

Jul 16, 2009

like row sound we put buffer, like thisbuffer = new SoundLoaderContext(65000);_loop_snd = new Sound(new URLRequest(_mp3), buffer);
how can i put buffer in dynamic sound..as per your code where i can put buffer in below code..
 
_dynamicSound = new Sound();
_dynamicSound.addEventListener(SampleDataEvent.SAMPLE_DATA, onSampleData);
 
the dynamicSound genrated from the row sound, means i modify the row sound.

View 2 Replies

ActionScript 3.0 :: Sound Event - Buffer Needs To Load And Everytime The Song Resumes Play State?

Jan 14, 2009

I'm having a sound object being loaded. And I want that for as long as it is buffering to have it written in a textfield "loading..." and when it starts playing to write in that textfield the name of the song. And i want this to happen everytime the buffer needs to load and everytime the song resumes play state.

View 1 Replies

Media Server :: Stream.play (live_from_FMLE, -1, 4500, True) Got No NetStream.Play.Start?

Nov 5, 2010

I got a bunch of live stream from FMLE, say: "FMLE_channel1", "FMLE_channel2", "FMLE_channel3". And then on the server side, I created several corresponding republished stream called "channel1", "channel2", "channel3".

On periodical basis, we call Stream.get("channel1").play("FMLE_channel1", -1, 10, true) every 10 seconds. Similar things were done on the second channel & third channel.Soon after the above Stream.get("channel1").play() call, I should get the following events in sequence:info :NetStream.Unpublish.Successinfo :NetStream.Publish.Startinfo :NetStream.Play.Resetinfo :NetStream.Play.Start In the above case all are happy. Clients can view channel1, channel2, channel3 well.But then after a while, one of the three channels, in most case it would be channel1, will not be viewable.

With the server trace info, I found that after the Stream.get("channel1").play() call, only the following two events exists:

info :NetStream.Unpublish.Successinfo :NetStream.Publish.Starti.e. I was missing the play.reset and play.start event.I further checked and confirmed that the FMLE was publishing all three channels fine to the server. I was able to view the "FMLE_channel1" from flash clients, but not the republished "channel1". the version is FMS 3.5.0.

View 3 Replies

Media Server :: Server-side Buffer For Live Dynamic Streaming?

Jul 10, 2009

Finding faults in my reasoning, or expanding the discussion further. We are benchmarking FMS 3.5.x for live dynamic streaming and we have run across an issue. When throttling the client from a high bandwidth (1500kbps) to a low bandwidth (325kbps) via a bandwidth shaper (a physical firewall) it takes a very long (real-) time for the client to see the new stream-quality.
 
During the investigation of this issue we have narrowed this down to:
 
1. when transition is requested from client, the client-side buffer is 1/2 i.e. 4-5seconds.
2. if transition is request on a client with unlimited bandwidth, it takes about 6 seconds for the server to process, find an acceptable switching position and send a "transition.complete" event.
3. on the throttled client however, this event takes much longer.

[Code]...

View 2 Replies

Media Server :: Get Stream Name On Play?

Nov 17, 2009

Using SSAS on FMS3.5, is there a way to get the stream name of a play event?  In my case, I am trying to run additional steps when a stream is played and I need the stream name to do so.

View 3 Replies

ActionScript 3.0 :: How Play More Input Stream

Apr 15, 2011

How play more input stream? Is one NetStream enough? If not how to create and use array of NetStream?[code]

View 4 Replies

Professional :: How To Play Single Stream On Two Objects

Jan 18, 2011

I'm interested in making a stereoscopic player similar to YouTube's 3D Player. The first strategy I tried is having two streams (one for each eye) attached to two video objects, but I noticed that this could lead to problems with them going off sync due to separate buffering issues. So now I'm thinking the way to do it is to encode the two eyes side-by-side into one video, and do some Flash trickery whereby I can take the left side and overlay it with the right side.

I suspect that this is how YouTube does this, because they ask you to upload 3D videos in a side-by-side format in the first place. I don't know how to do that Flash trickery, where I essentially take a video's left-half and overlay it with it's right-half. I tried attaching one stream to two video objects that were offset from each other, but only one of the streams played.

View 6 Replies

Adobe Flash To Play RTSP Stream?

Dec 6, 2010

I have a home made RTSP server that streams video to QuickTime clients. Now, I need to support Flash Player clients, because QuickTime needs some configuration to work on Windows, and also there is no implementation of it in Linux distributions. Then I opted for Flash.

BUT: does Flash support RTSP??? If not, where can I find documentation for its streaming protocol so I can build one?

View 3 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

Actionscript 3 :: Play Windows Mms Stream In Flex?

Jul 15, 2011

I'm developing a Flex app (Flash Builder 4.5 AIR app). Flex can play other streams but it does not supports mms://url stream. can anyone suggest some sort of codec library in actionscript/flex. I want to design a stream radio app for desktop.

View 1 Replies

Stream - Play Back A RTSP In Flash

Nov 14, 2011

I have an IP camera streaming video through RTSP, and I am able to pick up the stream in VLC [URL]. What I need now is a way to show this stream in a Flash application I am developing (probably through the FLVPlayback component?). This means I need a way to "convert" or transcode the RSTP stream to a format supported by Flash, live.

I searched around but couldn't find any conclusive answers... Should I use VLC to transcode the video stream? Something with Adobe Media Server? Is ffmpeg an option here? I have no clue where to start or which option is most suited in this case.

View 1 Replies

ActionScript 3.0 :: Netstream.play.stream Not Found

Feb 7, 2009

I am trying to upload my demo reel. I compressed it to an FLV file, and used the import video command with the setting' "Load external video with playback component." After selecting my skin and hitting ok, I got a prompt that said "Netstream.play.stream not found." Why isn't this working?

View 2 Replies

ActionScript 2.0 :: Load The Sound And Play And Stream It

Mar 21, 2004

I have a button which loads a sounclip into a movieclip: [AS]_root.myMusic = new Sound(emptyMC); _root.myMusic.loadSound("song1.mp3", true);[/AS] it will load the sound and play and stream it ... but in my output i constantly get this every sec: Error opening URL "file:///E|/Dir/Dir/Dir/undefined"

View 1 Replies

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

ActionScript 3.0 :: Stream A Youtube Video, And Play It In Player?

Dec 1, 2010

stream a video from Youtube and play that video in the player of their choice? I have a client wanting a response for this one, I did check out Youtube and found nothing.

View 5 Replies

Media Server :: Play Stream In A HTML5 Video Tag?

Jun 21, 2011

I use Flash Media Server 4 and Flash Media Live Encoder 3.2 for a strem rtmp.
 
I set FMS url to rtmp:localhost/livepkgr and I set stream name to :livestream.m3u8
 
 I started FMS and I'd want to play my stream in a HTML5 video tag.
 
I have not changed FMS4 parameter, and I'd want to insert the src attribute in video tag.

View 8 Replies

Jquery :: Why Does Stream Play Correctly In JPlayer In All Browsers Except IE

Feb 4, 2012

I am currently building a custom jPlayer instance for a streaming media file. Having modified a supplied demo, I am able to get the player working in all major browsers except IE.

I have checked the swf path many times, which is loading without fault. I think I am unable to get the trigger to load the file in IE, resulting in "Attempt to issue media playback commands, while no mediaurl is set. Use mediaurl() to set. Context play()".

I am using an event trigger CSC class to play the media "track" in my source code (not mediaurl directly).

Below I will demo the current code, however I feel it would be more beneficial if someone could construct some pseudo code for me outlining the exact requirements to get this to work, and also an explanation of the GUI button CSS handles, so that I can get these working properly too (I may need to modify the JS, which is currently the standard).

I am using IE8 32 w/ Flash 8 and jPlayer 2.1.0

I only need the following functions:

Play button (jp_play?) - this should trigger the stream and then enable multiple other classes (jp_volume, jp_playline, jp_stop etc)

Stop button (to replace play button) - should stop (not pause) the stream and disable previously enabled classes.

If it helps jp_pause gives me all the required functionality with regard to hiding elements, except the mediaurl is paused, I need it stopping.

Current code snippets:

// Instance jPlayer
my_jPlayer.jPlayer({
ready: function () {

[Code]...

View 1 Replies







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