[FFmpeg-user] mp4 generate moov atom at beginning of recording

Reindl Harald h.reindl at thelounge.net
Mon Aug 19 18:59:49 CEST 2013



Am 19.08.2013 18:53, schrieb simon mares:
>> Just use "-movflags faststart".
>>
> I tried this, indeed ffmpeg did move moov atom in front of movie data (mdat) but when I open this video after 18
> seconds of recoding and video *is still being recorded* then duration is 18 seconds in player, but video is still
> recording. What I would need that I would predefine this headers for some hours ahead.
> 
> Please note that I'm encoding from named pipe, so mp4 file is generated on-the-fly

you can't pre-define headers of a unknown output file
on which base do you want to guess the data?

maybe some luck with this because it does the same as "-movflags faststart"
with files which have the moov at the end - but not really sure if
it generates one on-the-fly to make the client happy while the
output file is still generated
http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Apache-Version2




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130819/1b4523d9/attachment.asc>


More information about the ffmpeg-user mailing list