Hi, I have got some problems when using qtdemux. 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? Thanks.
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
thanks
2009/9/29 Tim-Philipp Müller <[hidden email]>
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |