<div class="gmail_quote">On 30 August 2012 08:41, Mark Kenna <span dir="ltr"><<a href="mailto:mark.kenna@sureviewsystems.com" target="_blank">mark.kenna@sureviewsystems.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 30 Aug 2012, at 01:10, Jan Ehrhardt <<a href="mailto:phpdev@ehrhardt.nl">phpdev@ehrhardt.nl</a>> wrote:<br>
<br>
> Mark Kenna in gmane.comp.video.ffmpeg.libav.user (Wed, 29 Aug 2012<br>
> 21:31:24 +0100):<br>
>> But for that you would have to have encoded the entire file before<br>
>> streaming right? I need to stream as I'm encoding so there will never<br>
>> be a physical file.<br>
><br>
> qt-faststart, mp4box -inter nnn and mp4creator -optimize all do more or<br>
> less the same on transcoded files. You might take a look at<br>
><br>
> <a href="http://stackoverflow.com/questions/8616855/how-to-output-fragmented-mp4-with-ffmpeg/9734251#9734251" target="_blank">http://stackoverflow.com/questions/8616855/how-to-output-fragmented-mp4-with-ffmpeg/9734251#9734251</a><br>

><br>
> Jan<br>
><br>
> _______________________________________________<br>
> Libav-user mailing list<br>
> <a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
> <a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
</div></div>Surely all these tools require a pre-encoded file as input? I would<br>
need to do it on the fly so the moon atom would have to exist just<br>
after the write header stage.<br>
<span class="HOEnZb"><font color="#888888"><br>
Mark.<br>
</font></span></blockquote></div><br><br clear="all"><div>Also - I have tried the "<span style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);font-size:14px;line-height:18px">-movflags empty_moov" but it seems that FFMpeg does not actually write the output until the entire input is decoded (which would not work with live streaming). I then tried adding the "</span><span style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);font-size:14px;line-height:18px">frag_keyframe" but that results in a file that is unplayable.</span></div>
<div><span style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);font-size:14px;line-height:18px"><br>
</span></div><div><span style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);font-size:14px;line-height:18px">Mark.</span></div>
<div><span style="font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);font-size:14px;line-height:18px"><br>
</span></div>