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

Paul B Mahol onemda at gmail.com
Mon Aug 19 18:24:40 CEST 2013


On 8/19/13, Robert Krueger <krueger at lesspain.de> wrote:
> On Mon, Aug 19, 2013 at 4:39 PM, Tom Evans <tevans.uk at googlemail.com>
> wrote:
>> On Sun, Aug 18, 2013 at 3:04 AM, simon mares <simon.mares at gmail.com>
>> wrote:
>>> Hello, is it possible to generate a pre-defined moov atom for fixed
>>> lenght
>>> of fe. 8 hours with use of
>>> http://ffmpeg.org/ffmpeg-all.html#MOV_002fMP4_002fISMV arguments? Video
>>> would never be seeked beyond the real duration, as I would not allow.
>>>
>>> Reason for doing this is that I'm experimenting with something and I
>>> would
>>> like to playback the file that I'm still recording, so it's kind of a
>>> live-streaming, but it's only used locally. As I'm only transcoding from
>>> .ts
>>> to .mp4 file no CPU is used, this is also my goal.
>>>
>>> Codec is h264, 720p, 25pfs. Video is generated with blackmagic
>>> pro-recorder.
>>>
>>
>> Just use "-movflags faststart".
> Are you sure this will result in a file he can play back while it is
> being written? If the docs are correct, I doubt it will.
>

Of course it will not play back while it is still recording.
That flag just move moov atom from end of file to start of file at end
of muxing.


More information about the ffmpeg-user mailing list