NetStream.play()

View: New views
4 Messages — Rating Filter:   Alert me  

NetStream.play()

by Dan Daemon-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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()

by Walter Tak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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.
----- Original Message -----
Sent: Friday, 06 November 2009 00:10
Subject: [Red5] 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

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: NetStream.play()

by Dan Daemon-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:
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.
----- Original Message -----
Sent: Friday, 06 November 2009 00:10
Subject: [Red5] 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


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: NetStream.play()

by Walter Tak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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.
 
 
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.
----- Original Message -----
Sent: Friday, 06 November 2009 15:26
Subject: Re: [Red5] 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:
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.
----- Original Message -----
Sent: Friday, 06 November 2009 00:10
Subject: [Red5] 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


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org