qtdemux bug?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

qtdemux bug?

Demon Deng
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
Reply | Threaded
Open this post in threaded view
|

Re: qtdemux bug?

Tim-Philipp Müller-2
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
Reply | Threaded
Open this post in threaded view
|

Re: qtdemux bug?

Demon Deng
thanks

2009/9/29 Tim-Philipp Müller <[hidden email]>
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&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel