Thanks Tim<br><br><div class="gmail_quote">On Wed, Feb 25, 2009 at 2:48 PM, Tim-Philipp Müller <span dir="ltr">&lt;<a href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Mon, 2009-02-23 at 13:53 +0530, Jyoti D wrote:<br>
<br>
&gt; I am writing an application to transcode TS file into h264 and aac<br>
&gt; format and store the transcoded file.<br>
&gt; The application works fine with the input files which have one video<br>
&gt; and audio stream.<br>
&gt; If I have more than 1 audio files I still want to transcode all the<br>
&gt; audio streams into aac format and store them in a single file.<br>
&gt;<br>
&gt; Could someone help me to handle ore than 1 audio streams?<br>
&gt;<br>
&gt; I am currently using the below pipeline :<br>
&gt;<br>
&gt; gst-launch-0.10 uridecodebin uri=file://in-file.ts name=d d. ! queue !<br>
&gt; audioconvert ! faac ! ffmux_mp4 name=mux ! filesink<br>
&gt; location=~/Desktop/h264-aac/out-file.mp4  d. ! queue !<br>
&gt; ffmpegcolorspace ! x264enc pass=qual quantizer=16 ref=3 subme=6<br>
&gt; analyse=p4x4 me=umh ! mux.<br>
<br>
</div>With gst-launch, you need to know how many streams there are in the<br>
input stream in advance, and specify a transcoding path (d. !<br>
queue ! ..) for each audio and video stream you want to transcode. You<br>
can&#39;t have a generic pipeline which handles all cases, because if there<br>
is only one audio stream but you specified multiple audio transcoding<br>
paths, then gst-launch will hang/wait forever for the other audio pads.<br>
<br>
In other words: you need to write code to handle this.<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
&gt; I get the following warning messages while running the above pipeline:<br>
&gt;<br>
&gt; Setting pipeline to PAUSED ...<br>
&gt; Pipeline is PREROLLING ...<br>
&gt; WARNING: from element /GstPipeline:pipeline0/GstURIDecodeBin:d: No<br>
&gt; decoder available for type &#39;application/x-mpegts-private-section&#39;.<br>
&gt; Additional debug info:<br>
&gt; gsturidecodebin.c(589): unknown_type_cb<br>
&gt; (): /GstPipeline:pipeline0/GstURIDecodeBin:d<br>
&gt; WARNING: from element /GstPipeline:pipeline0/GstURIDecodeBin:d: No<br>
&gt; decoder available for type &#39;application/x-mpegts-private-section&#39;.<br>
&gt; Additional debug info:<br>
&gt; gsturidecodebin.c(589): unknown_type_cb<br>
&gt; (): /GstPipeline:pipeline0/GstURIDecodeBin:d<br>
&gt; WARNING: from element /GstPipeline:pipeline0/GstURIDecodeBin:d: No<br>
&gt; decoder available for type &#39;application/x-mpegts-private-section&#39;.<br>
&gt; Additional debug info:<br>
&gt; gsturidecodebin.c(589): unknown_type_cb<br>
&gt; (): /GstPipeline:pipeline0/GstURIDecodeBin:d<br>
&gt; WARNING: from element /GstPipeline:pipeline0/GstURIDecodeBin:d: No<br>
&gt; decoder available for type &#39;application/x-mpegts-private-section&#39;.<br>
&gt; Additional debug info:<br>
&gt; gsturidecodebin.c(589): unknown_type_cb<br>
&gt; (): /GstPipeline:pipeline0/GstURIDecodeBin:d<br>
&gt; WARNING: from element /GstPipeline:pipeline0/GstURIDecodeBin:d: No<br>
&gt; decoder available for type &#39;application/x-mpegts-private-section&#39;.<br>
&gt; Additional debug info:<br>
&gt; gsturidecodebin.c(589): unknown_type_cb<br>
&gt; (): /GstPipeline:pipeline0/GstURIDecodeBin:d<br>
&gt; WARNING: from element /GstPipeline:pipeline0/GstURIDecodeBin:d: No<br>
&gt; decoder available for type &#39;private/teletext&#39;.<br>
&gt; Additional debug info:<br>
&gt; gsturidecodebin.c(589): unknown_type_cb<br>
&gt; (): /GstPipeline:pipeline0/GstURIDecodeBin:d<br>
<br>
</div></div>I don&#39;t think those are fatal or related to your problem. You can<br>
probably ignore them.<br>
<br>
Cheers<br>
 -Tim<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA<br>
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise<br>
-Strategies to boost innovation and cut costs with open source participation<br>
-Receive a $600 discount off the registration fee with the source code: SFAD<br>
<a href="http://p.sf.net/sfu/XcvMzF8H" target="_blank">http://p.sf.net/sfu/XcvMzF8H</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>