<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I&#8217;m trying to use GStreamer and its associated plugins
to play an MPEG Transport Stream (TS) that I captured.&nbsp; FWIW, I can play
the stream, as is, with mplayer, but mplayer has limitations that make it
unusable as a long-term solution.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The TS has several programs and I want to play one of them.&nbsp;
This is simply a development step on the way to using a DVB-T/ATSC front end to
source the TS.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>I have used<br>
<br>
&quot;gst-launch filesrc location=file.ts ! flutsdemux name=d&nbsp;
d.audio_0801 ! queue ! filesink location=0801.mpa d.video_0800 ! queue !
filesink location=0800.mpv&quot;<br>
<br>
to extract an audio and video PID to files, so the demuxer seems to be
working.<br>
<br>
I have used<br>
<br>
&quot;gst-launch filesrc location=0801.mpa ! decodebin ! audioconvert !
alsasink&quot;<br>
<br>
and<br>
<br>
&quot;gst-launch filesrc location=0800.mpv ! queue ! mpeg2dec !
ffmpegcolorspace ! xvimagesink&quot;<br>
<br>
to successfully play the individual files, but when I combine them with<br>
<br>
gst-launch -m filesrc location=file.ts ! flutsdemux name=d&nbsp; d.audio_0801 !
queue ! decodebin ! audioconvert ! alsasink&nbsp; d.video_0800 ! queue !
mpeg2dec ! xvimagesink<br>
<br>
a window is opened and the first frame displayed, but neither does the video
continue, nor is there any audio.&nbsp; I can kill the X window, and there are
the messages at the end of the post.<br>
<br>
Any ideas where I should begin debugging this?&nbsp; Is there a clock/sync
problem, perhaps?<br>
<br>
Thanks.<br>
<br>
Setting pipeline to PAUSED ...<br>
Pipeline is PREROLLING ...<br>
Got Message from element &quot;xvimagesink0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;alsasink0&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;ffmpegcsp0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;audioconvert0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;mpeg2dec0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;queue1&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;fakesink&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;typefind&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;decodebin0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;queue0&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;d&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;filesrc0&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;pipeline0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_PAUSED;<br>
Got Message from element &quot;ffmpegcsp0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;audioconvert0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;mpeg2dec0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;queue1&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;typefind&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;queue0&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;d&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;filesrc0&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
No accelerated IMDCT transform found<br>
Got Message from element &quot;a52dec0&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;a52dec0&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;fakesink&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_PLAYING, new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_READY;<br>
Got Message from element &quot;decodebin0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;fakesink&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_NULL;<br>
Got Message from element &quot;fakesink&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_NULL,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;a52dec0&quot; (tag): taglist,
bitrate=(guint)384000;<br>
Got Message from element &quot;xvimagesink0&quot; (element):
prepare-xwindow-id;<br>
Got Message from element &quot;xvimagesink0&quot; (element): have-xwindow-id,
xwindow-id=(gulong)58720262;<br>
Got Message from element &quot;xvimagesink0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;alsasink0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;pipeline0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Pipeline is PREROLLED ...<br>
Setting pipeline to PLAYING ...<br>
Got Message from element &quot;pipeline0&quot; (new-clock): GstMessageNewClock,
clock=(GstClock)&quot;\(GstAudioClock\)\ GstAudioSinkClock&quot;;<br>
New clock: GstAudioSinkClock<br>
Got Message from element &quot;pipeline0&quot; (async-done): no message details<br>
Got Message from element &quot;xvimagesink0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_PAUSED,
new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;alsasink0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_PAUSED,
new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;ffmpegcsp0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_PAUSED,
new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;audioconvert0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_PAUSED,
new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;mpeg2dec0&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;a52dec0&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;typefind&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;decodebin0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_PAUSED,
new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;queue1&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;queue0&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;d&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;filesrc0&quot; (state-changed): GstMessageState,
old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;pipeline0&quot; (state-changed):
GstMessageState, old-state=(GstState)GST_STATE_PAUSED,
new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;<br>
Got Message from element &quot;xvimagesink0&quot; (error): GstMessageError,
gerror=(GstGError)(NULL), debug=(string)&quot;xvimagesink.c\(1199\):\
gst_xvimagesink_handle_xevents\ \(\):\ /pipeline0/xvimagesink0&quot;;<br>
ERROR: from element /pipeline0/xvimagesink0: Output window was closed<br>
Additional debug info:<br>
xvimagesink.c(1199): gst_xvimagesink_handle_xevents (): /pipeline0/xvimagesink0<br>
Execution ended after 2136255378 ns.<br>
Setting pipeline to PAUSED ...<br>
Setting pipeline to READY ...<br>
Setting pipeline to NULL ...<br>
FREEING pipeline ...<br>
<o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>