[gst-devel] qtdemux bug?

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Sep 29 10:21:28 CEST 2009


On Tue, 2009-09-29 at 11:36 +0800, dxssx wrote:

> Pipeline "filesrc location=xxx.mp4 ! qtdemux name=demux
> demux.audio_00 ! queue ! filesink location=a.aac demux.video_00 !
> queue ! filesink location=a.h264" works well, but "filesrc
> location=xxx.mp4 ! qtdemux name=demux demux.audio_00 ! filesink
> location=a.aac demux.video_00 ! filesink location=a.h264" does not
> work.
> 
> 
> It seems to be a dead lock in basesink which is waiting for a play
> event.
> 
> 
> Does it necessary to add a queue in pipeline when demuxing?

Yes, you need to add queues, otherwise the pipeline can't preroll
because the first sink to get data will block and control won't be given
back to qtdemux to push data to the other sink (which will then wait for
data forever and never preroll).

Cheers
 -Tim

> 





More information about the gstreamer-devel mailing list