If the first frame is not keyframe..

About encoding, codec settings, muxers and filter usage
tiantao
Blank Cone
Blank Cone
Posts: 34
Joined: 17 Mar 2004 08:07

If the first frame is not keyframe..

Postby tiantao » 22 Mar 2004 02:29

when streaming, If the first frame is not keyframe, the first frame on the client will be seen as a green screen, and become normal after a few seconds. How can I avoid this happen. Can the client wait for the first keyframe and then display it? Dose it have an option to do this?
Thank you!

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 22 Mar 2004 09:24

It doesn't have any such option but it would be relatively easy to add (by checking the picture type of the decoded picture in the ffmpeg video decoder - modules/codec/ffmpeg/video.c).

tiantao
Blank Cone
Blank Cone
Posts: 34
Joined: 17 Mar 2004 08:07

Postby tiantao » 23 Mar 2004 14:09

Thank you !
i am using the VCL under RedHat 9.0 Can I change some Configure file to avoid this happened?
I am just don't want to let the screen be green for a little time and then turn right, must I modify the source code? ( In the text it says the first frame is not key frame)
why I use it in Windows this doesn't happen?
Thank you.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 22 guests