<div dir="ltr"><div>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.</div>

<div><br></div><div>This blocks forever:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="courier new, monospace">$ 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</font></div>

</blockquote><div><br></div><div>However, this works:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="courier new, monospace">$ 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</font></div>

</blockquote><div><br></div><div>..and I can play it in another process as it's being recorded:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="courier new, monospace">$ gst-launch-0.10 filesrc location=video.mp2 ! mpeg2dec ! xvimagesink</font></div>

</blockquote><div><br></div><div>What am I missing? Thanks for any insights. I lost many hours debugging this.</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Dustin</div></div>