|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
NetStream.play()Hello guys,
Does RED5 supports NetStream.play() with seek parameters? As you know it's possible to call play with second parameter which is bigger than 0 and means seeks from recorded stream.
Does RED5 supports it?
_______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: NetStream.play()Ofcourse. Else you wouldn't be able to scrub/seek
through video on demand (VOD) files ergo ; go to postion 5:12 minutes in a
movie.
Tip ; if you create movies yourself you want to add
navigational cuepoints if you need to seek to a very precise keyframe. Else your
encoding software will add keyframes once every 15-30 frames (depends on the
encoder settings) and then you'd only be able to jump to one of those keyframes.
Depending on the framerate you'd see a default accuracy of around 0.5 to 1
seconds in each video out of the box.
W.
_______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: NetStream.play()Hello Walter,
Thank you very much for your answer. So, if RED5 records my stream from my webcam I will be able to do something like nc.play( "my-stream-name", 500 ); right?
Simple I tried but without results... should I generate cuepoints file or something else to get ability to seek?
On Fri, Nov 6, 2009 at 2:49 AM, Walter Tak <walter@...> wrote:
_______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: NetStream.play()Yep even recorded webcam streams can be scrubbed
but it's flaky because the framerate of recorded streams varies (!) ; it works
like Variable BitRate (VBR) in MP3 soundfiles.
Fortunately you can set the amount of keyframes
going out with ; http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/media/Camera.html#setKeyFrameInterval%28%29
quote:
Conversely, specifying a
lower value for
keyFrameInterval (sending keyframes more frequently) increases bandwidth
use because entire video frames are transmitted more often, but may decrease the
amount of time required to seek a particular video frame within a recorded
video.W.
_______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
| Free embeddable forum powered by Nabble | Forum Help |