<br><br><div class="gmail_quote">On Tue, Oct 20, 2009 at 3:15 PM, Yiliang Bao <span dir="ltr">&lt;<a href="mailto:yiliangb@gmail.com">yiliangb@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Following is the pipeline I used:<br>
<br>
gst-launch -e v4l2src ! ffmpegcolorspace ! x264enc ! qtmux ! filesink<br>
location=a.mov<br>
<br>
The output from gst-launch is:<br>
<br>
ERROR: from element /GstPipeline:pipeline0/GstQTMux:qtmux0: Could not<br>
multiplex stream.<br>
Additional debug info:<br>
gstqtmux.c(1107): gst_qt_mux_add_buffer ():<br>
/GstPipeline:pipeline0/GstQTMux:qtmux0:<br>
Failed to determine time to mux.<br>
Execution ended after 416709785 ns.<br>
<br>
I also tried the following 2 pipelines and both of them are working fine.<br>
<br>
gst-launch -e v4l2src ! ffmpegcolorspace ! qtmux ! filesink location=a.mov<br>
gst-launch filesrc location=Videos/g.mov ! decodebin ! ffmpegcolorspace !<br>
x264enc ! qtmux ! filesink location=a.mov<br>
<br>
I have tried both webcam and TV capture card as the capture device, but got<br>
the same result.<br>
<br>
Has anyone seen similar problem before? I found one post reporting the same<br>
problem, but there was no followup.<br>
<br>
<a href="http://www.nabble.com/rtsp---h264---mp4mux-td23866919.html#a23937937" target="_blank">http://www.nabble.com/rtsp---h264---mp4mux-td23866919.html#a23937937</a></blockquote><div><br></div><div>This issue has already been fixed in current git (it was a v4l2src issue).</div>

<div>You can backport the change (commit 72af90ae31907964b31c368164ec17d0f72aa7bf), upgrade to the git version or wait a new -good release come out.</div><div><br></div><div>Maybe adding a videorate after v4l2src will also make it work.</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
Thanks!<br>
<br>
Yiliang<br>
<br>
--<br>
View this message in context: <a href="http://www.nabble.com/Cannot-save-H.264-bitstream-in-QuickTime-%28qtmux%29-file%2C-error-%22failed-to-determine-the-time-to-mux%22-tp25979039p25979039.html" target="_blank">http://www.nabble.com/Cannot-save-H.264-bitstream-in-QuickTime-%28qtmux%29-file%2C-error-%22failed-to-determine-the-time-to-mux%22-tp25979039p25979039.html</a><br>


Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Come build with us! The BlackBerry(R) Developer Conference in SF, CA<br>
is the only developer event you need to attend this year. Jumpstart your<br>
developing skills, take BlackBerry mobile applications to market and stay<br>
ahead of the curve. Join us from November 9 - 12, 2009. Register now!<br>
<a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</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><br clear="all"><br>-- <br>Thiago Sousa Santos<br>