<div dir="ltr">Imagine you want to extract the audio from a MPTS of the service ID (program ID) 800<div><br></div><div><br></div><div>gst-launch filesrc location=the_whole_ts.ts ! tsdemux program-number=800 ! mad ! audioconvert ! lame ! filesink location=audio.mp3<br></div><div><br></div><div>There we have, the tsdemuxer, the mad (audio encoded in the ts), the audioconvert, if necessary to convert from different audio formats and the enconding format (lame which is mp3) and the filesink where to dump mp3 data.</div><div><br></div><div>Br,</div><div>Nuno Martins</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 22, 2015 at 1:13 PM, Thornton, Keith <span dir="ltr"><<a href="mailto:keith.thornton@zeiss.com" target="_blank">keith.thornton@zeiss.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="DE" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">As Nuno Mota said in his mail, if you have demuxed the from the TS to individual elementary streams you then need to remux these separate elementary streams into
 separate ts streams using the ts muxer.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">(or mp3 muxer …)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> gstreamer-devel [mailto:<a href="mailto:gstreamer-devel-bounces@lists.freedesktop.org" target="_blank">gstreamer-devel-bounces@lists.freedesktop.org</a>]
<b>Im Auftrag von </b>Buchibabu Bandarupally<br>
<b>Gesendet:</b> Donnerstag, 22. Januar 2015 13:49<br>
<b>An:</b> Discussion of the development of and with GStreamer<br>
<b>Betreff:</b> Re: Video/Audio Transport Stream extraction from MPTS file<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">i want both  Audio and Video files(both must be in TS container format),the output files(abc.mpg,abc,mp3) that i mentioned in above mail is  for just  testing purpose ,my intention is to separate audio packets
 and video packets from from container(MPEGTS) in to a separate files<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Jan 22, 2015 at 5:43 PM, Nuno Mota <<a href="mailto:mundumelga@gmail.com" target="_blank">mundumelga@gmail.com</a>> wrote:<u></u><u></u></p>
<p>What do you want as a result exactly? .ts? .mp3? <u></u><u></u></p>
<p style="margin-bottom:12.0pt">You will need muxers I think,  at the end of the pipeline, in order to get the right output container.
<u></u><u></u></p>
<div>
<p class="MsoNormal">Em 22/01/2015 11:45, "Buchibabu Bandarupally" <<a href="mailto:buchibabu.bandarupally@gaiatv.in" target="_blank">buchibabu.bandarupally@gaiatv.in</a>> escreveu:<u></u><u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi All<u></u><u></u></p>
</div>
<p class="MsoNormal">     i am trying to Extract Audio/Video packets from Transport stream using  following pipeline<br>
     <u></u><u></u></p>
<pre style="margin-bottom:12.0pt"><code>for video:</code><br><code>gst-launch-0.10 filesrc location=~/Desktop/TS_ES/katy.ts ! tsdemux !  filesink location = abc.mpg</code><u></u><u></u></pre>
<pre><code>for audio</code><br><code>gst-launch-0.10 filesrc location=~/Desktop/TS_ES/katy.ts ! tsdemux ! mpegaudioparse ! filesink location = abc.mp3</code><u></u><u></u></pre>
<pre><code> but i am getting only elementary streams but  i need to extract Transportstreams(Audio/Video)</code><u></u><u></u></pre>
<pre style="margin-bottom:12.0pt"><code>is there any way to do this using Gstreamer Plugins?..</code><br><br><u></u><u></u></pre>
<pre>Thanks in advance<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</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"><div><br></div>-- <br><div class="gmail_signature">Nuno Martins<br></div>
</div>