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

Tom Evans tevans.uk at googlemail.com
Mon Aug 19 16:39:14 CEST 2013


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".

Cheers

Tom


More information about the ffmpeg-user mailing list