<div>I guess it may be the way qtmux writes the header info . If it writes the header info at the end of the file then there should be a proper way to close the file i.e. by sending EOS event . Because if closing of file is done without sending EOS event then qtmux may not write the header info to the file.</div>
<div> </div>
<div>And ffmux_mov is writing the header info at the beginning of the file so that does not require the notification of the EOS event.</div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Sat, Jun 26, 2010 at 1:02 AM, Stefan Kost <span dir="ltr"><<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">Am 24.06.2010 16:16, schrieb Overkill:<br></div>
<div>
<div></div>
<div class="h5">> I'm developing an embedded camera that records<br>> video in .MOV format. I have two qt muxers,<br>><br>> ffmux_mov<br>><br>> qtmux<br>><br>> I'm using this pipeline<br>><br>
> gst-launch my_v4lsrc num-buffers=300 ! \<br>> video/x-raw-yuv,format=\(fourcc\)I420,width=680,height=480,framerate=\(fraction\)30/1<br>> ! \<br>> my_h264encoder \<br>> name=video \<br>> alsasrc num-buffers=10 ! \<br>
> audio/x-raw-int,rate=16000,channels=2,width=16,depth=16 ! \<br>> queue name=audio \<br>> ffmux_mov name=mux ! \<br>> filesink location=test_ffmux_mov.mov \<br>> video.src ! video/x-h264,width=640,height=480,framerate=\(fraction\)30/1<br>
> ! mux.video_0 \<br>> audio.src ! mux.audio_0<br>><br>> The .mov produced is working flawlessly.<br>> But because the media used for recording is an SD card,<br>> the user can remove while the camera is still in recording.<br>
> I saw that the qtmux plugin has the feature to save some temporary<br>> data in order to try to recover the .mov.<br>> But if I use the qtmux plugin in my pipline (exactly the same,<br>> just swap ffmux_mov with qtmux and use _00 on the pad name)<br>
> won't produce a working .mov at all. Or to be hoest the .mov is<br>> playing with VLC and QT+Perian, but not in QT alone as Apple produces.<br>><br>> I'd like to know how to fix the unfinished .mov file or how to<br>
> use qtmux in order to have a working .mov.<br><br></div></div>Please also see the thread "Mov file generated does not play on QT player" and<br>check that your h264encoder output the proper format (it might has an issue as<br>
normaly you would not need a caps filter between encoder and muxer).<br><font color="#888888"><br>Stefan<br></font>
<div>
<div></div>
<div class="h5"><br>><br>> Thak You<br>><br>> Overkill<br>><br>> ------------------------------------------------------------------------------<br>> ThinkGeek and WIRED's GeekDad team up for the Ultimate<br>
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the<br>> lucky parental unit. See the prize list and enter to win:<br>> <a href="http://p.sf.net/sfu/thinkgeek-promo" target="_blank">http://p.sf.net/sfu/thinkgeek-promo</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>
<br><br>------------------------------------------------------------------------------<br>ThinkGeek and WIRED's GeekDad team up for the Ultimate<br>GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the<br>lucky parental unit. See the prize list and enter to win:<br>
<a href="http://p.sf.net/sfu/thinkgeek-promo" target="_blank">http://p.sf.net/sfu/thinkgeek-promo</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></div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>
<br>Sudarshan Bisht<br>