<div>Hi Edward,</div>
<div>&nbsp;</div>
<div>Thanks for your help. </div>
<div>&nbsp;</div>
<div>I found out that my pipeline was actually muxing both audio and video, despite gstreamer giving that error. Also gstreamer playbin itself was not capable of playing the movie. VLC player could play it, though it got the duration wrong. Quicktime could not play it. So I guess it again boils down to the bug/s in ffmpeg regarding handling audio duration which we discussed in another mail thread. So let me start looking into it.
<br>&nbsp;</div>
<div>Once again, I really appreciate your help.</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>Deeptendu<br>&nbsp;</div>
<div><span class="gmail_quote">On 11/7/06, <b class="gmail_sendername">Edward Hervey</b> &lt;<a href="mailto:bilboed@gmail.com">bilboed@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>On 11/7/06, Deeptendu Bikash &lt;<a href="mailto:dbikash@gmail.com">dbikash@gmail.com</a>&gt; wrote:
<br>&gt; Hi,<br>&gt;<br>&gt; I'm using the latest CVS version of gst-ffmpeg (<a href="http://0.10.1.1">0.10.1.1</a>) to mux audio and<br>&gt; video into a mov file. If I mux only audio or only video it works. But when<br>
&gt; I try to mux both audio and video, I get a gst-launch WARNING: syntax error,<br>&gt; unexpected $undefined.<br>&gt;<br>&gt; However, it does go on to mux only the audio.<br>&gt;<br>&gt; Does ffmux_mov support taking both audio and video as input?
<br><br>Yes, as long as your formats are supported by the muxer (check the<br>pad templates using gst-inspect).<br><br>&gt;<br>&gt; I'm using the pipeline:<br>&gt; ffmux_mov name=mux ! filesink {filesrc &lt;raw video file&gt; ! caps ! ffenc_mpeg4
<br>&gt; ! mux.video_00} {filesrc &lt;raw audio file&gt; ! caps ! amrnbenc ! mux.audio_00}<br><br>It seems perfectly valid, except for you filesrc of raw data. the<br>buffers coming out of the filesrc will have no timestamping, no
<br>guarantee of containing whole video frames, etc... even though you<br>have set caps.<br><br>Unless you have a valid reason, you might want to use some container<br>formats to hold the raw data. And then you will be able to use this
<br>variation of your pipeline:<br><br>filesrc location=myvideo.xxx ! decodebin ! ffenc_mpeg4 ! ffmux_mov<br>name=mux ! filesink location=myfile.mov filesrc location=myaudio.xxx !<br>decodebin ! amrnbenc ! mux.<br><br>Hope this helps,
<br><br>&nbsp;&nbsp;Edward<br><br>&gt;<br>&gt; Am I doing something wrong?<br>&gt;<br></blockquote></div>