Your pipe may look like<br><br>gst-launch dvbsrc ! mpegtsdemux name=demux demux.video_0040 ! queue ! mpegpsmux name=mux ! filesink demux.audio_0040 ! queue ! mux.<br><br>So in your pipe only video pad of demux was linked with video pad of mux. You need to link both audio &amp; video.<br>
<br>Regards<br>Kapil<br> <font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US"></span></font><br><div class="gmail_quote">On Fri, Jun 10, 2011 at 3:17 PM, Bernhard Graaf <span dir="ltr">&lt;<a href="mailto:bernhard.graaf@gmx.de">bernhard.graaf@gmx.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">










<div link="blue" vlink="purple" lang="DE">

<div>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">Hi,</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">Sorry, there is a fault
in my pipe. I try this:</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">gst-launch-0.10 -v dvbsrc
adapter=0 frequency=12544000 pids=97:511:512:515 polarity=&#39;h&#39; symbol-rate=22000
! mpegtsdemux es-pids=511:512 ! mpegpsmux ! filesink location=test.mpg</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">The Messages are:</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">New clock: MpegTSClock</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">/GstPipeline:pipeline0/GstMpegTSDemux:mpegtsdemux0.GstPad:sink:
caps = video/mpegts, mpegversion=(int)2, systemstream=(boolean)true</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">/GstPipeline:pipeline0/GstMpegTSDemux:mpegtsdemux0:
pat-info = ((GValueArray*) 0x8307b60)</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">/GstPipeline:pipeline0/GstMpegTSDemux:mpegtsdemux0:
pmt-info = ((MpegTsPmtInfo*) 0xb6c04680)</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">/GstPipeline:pipeline0/MpegPsMux:mpegpsmux0.GstPad:pad0:
caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)false</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">/GstPipeline:pipeline0/MpegPsMux:mpegpsmux0.GstPad:src:
caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)true</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink:
caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)true</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">And that’s what I
get: Only the video-stream without any audio.</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">What’s wrong with
this pipe?</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">Thanks’ a lot!</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy" lang="EN-US">Bernhard</span></font></p>

<div>

<div class="MsoNormal" style="text-align:center" align="center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">

<hr align="center" size="2" width="100%">

</span></font></div>

<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">Von:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> gstreamer-devel-bounces+bernhard.graaf=<a href="http://gmx.de" target="_blank">gmx.de</a>@<a href="http://lists.freedesktop.org" target="_blank">lists.freedesktop.org</a>
[mailto:<a href="mailto:gstreamer-devel-bounces%2Bbernhard.graaf" target="_blank">gstreamer-devel-bounces+bernhard.graaf</a>=<a href="http://gmx.de" target="_blank">gmx.de</a>@<a href="http://lists.freedesktop.org" target="_blank">lists.freedesktop.org</a>] <b><span style="font-weight:bold">Im Auftrag von </span></b>Bernhard Graaf<br>

<b><span style="font-weight:bold">Gesendet:</span></b> Freitag, 10. Juni 2011
10:28<br>
<b><span style="font-weight:bold">An:</span></b> &#39;Discussion
 of the development of and with GStreamer&#39;<br>
<b><span style="font-weight:bold">Betreff:</span></b> Converting MPEG-TS to
MPEG-PS</span></font></p>

</div><div><div></div><div class="h5">

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

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US">Hi,</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US">I have a problem for seeking in MPEG-TS-files (to
slow) and want to convert a TS-Stream to PS.</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US">But it seems to be a little tricky to select the
pids. My pipe looks like this:</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US">‘gst-launch-0.10 dvbsrc pids=97:511:512
frequ….. ! mpegtsdemux es-pids=511:512 !  mpeg2dec ! filesink
location=test.mpg’</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US">The pids are: 97 = PMT, 511 = Video, 512 = Audio.</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US">But it doesn’t work. The file is always 0 Bytes
long.</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US">Without converting, it’s a very simple pipe:</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US">‘gst-launch-0.10 dvbsrc pids=97:511:512
frequ….. ! filesink location=test.mpg’</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US">And it’s works very good.</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US">What to I wrong to convert the stream?</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US">Thanks’ a lot for helping!!</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US">Bernhard</span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US"> </span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial" lang="EN-US"> </span></font></p>

</div></div></div>

</div>


<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.mediamagictechnologies.com">www.mediamagictechnologies.com</a> (Gstreamer, ffmpeg, Red5, Streaming)<br>twitter handle: @gst_kaps<br><a href="http://www.linkedin.com/in/kapilagrawal">http://www.linkedin.com/in/kapilagrawal</a><br>