[gst-devel] why video do not play frequently under rate control
thaytan at noraisin.net
Thu May 24 16:55:14 CEST 2007
zhangfei gao wrote:
> command line is
> gst-launch filesrc location=*.mpg ! flupsdemux ! mpeg2dec ! overlay2sink
> I thought video render discard frame because fps could not reach timestamp.
> But for 30 fps stream, why full speed fps can reach 34fps, while using
> timestamp still can not play frequently.
> Is there any tricky, since the same story on qtdemux and h264dec.
Add a queue between the decoder and the sink to decouple the decoding
and display into 2 separate threads and provide some buffering.
queue max-size-buffers=5 should do it.
When you get to playing audio too, you'll also want some queues between
the demuxer and the decoders.
More information about the gstreamer-devel