Hi all,<br><br>I have written a application to transcode given media file to H264 and AAC video. The application works for most of the media files I checked. But in one case where the input file is mpegts with video content-&gt;mpeg2video and audio-&gt;mp2. The muxer doesn&#39;t emit a &quot;pad-added&quot; signal for audio stream only, it emits signal for video stream.<br>
<br>The error is :<br><br>** (dec-check:30607): CRITICAL **: gst_ffmpegmux_request_new_pad: assertion `ffmpegmux-&gt;opened == FALSE&#39; failed<br><br>I get the request pad for both video and audio pads as below. <br><br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; mux_sinkpad = gst_element_get_request_pad (ffmux_mp4, &quot;audio_0&quot;);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (mux_sinkpad ==&nbsp; NULL) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; g_print (&quot;Error : get request pad : mux_sinkpad audio_0\n&quot;);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br><br>Also I tried using the g_signal_connect (); function as below<br><br>g_signal_connect (GST_OBJECT (ffmux_mp4), &quot;pad-added&quot;, G_CALLBACK (cb_newpad_mux), NULL); <br><br>But the same error pops out. <br>
<br>Could some one help me regarding this?<br><br>Thanks<br>