Gstreamer mpeg2dec plugin is blocking

Chuck Crisler ccrisler at mutualink.net
Tue May 27 14:04:27 PDT 2014


Maybe someone else can give a better answer, but try putting in a queue
between the mpegtsdemux and the mpeg2dec to isolate them. Blocking means
deadlock. Queues often resolve that.


On Tue, May 27, 2014 at 4:04 PM, Dustin Oprea <myselfasunder at gmail.com>wrote:

> I'm reading an ATSC DVB source to MPEG2-TS, isolating the MPEG2 stream,
> and trying to play it. There's some small glitch, where mpeg2dec is
> connected and the pipeline is in the PLAYING state, but nothing happens.
> When I remove *mpeg2dec* and just write the video stream to a file, I can
> play it back without a problem.
>
> This blocks forever:
>
> $ gst-launch-0.10 dvbbasebin adapter=0 frontend=0 frequency=551000000
> program-numbers=6 modulation=8VSB ! mpegtsdemux ! video/mpeg,mpegversion=2
> ! mpeg2dec ! filesink location=video.yuv
>
>
> However, this works:
>
> $ gst-launch-0.10 dvbbasebin adapter=0 frontend=0 frequency=551000000
> program-numbers=6 modulation=8VSB ! mpegtsdemux ! video/mpeg,mpegversion=2
> ! filesink location=video.mp2
>
>
> ..and I can play it in another process as it's being recorded:
>
> $ gst-launch-0.10 filesrc location=video.mp2 ! mpeg2dec ! xvimagesink
>
>
> What am I missing? Thanks for any insights. I lost many hours debugging
> this.
>
>
>
>
> Dustin
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140527/c81c3a64/attachment.html>


More information about the gstreamer-devel mailing list