[FFmpeg-user] Using the flags -movflags +faststart
Moritz Barsnick
barsnick at gmx.net
Sat Feb 25 16:41:39 EET 2017
On Fri, Feb 24, 2017 at 21:33:28 -0600, Reuben Martin wrote:
> On Friday, February 24, 2017 8:36:05 PM CST JD wrote:
> > I did not stop the encoding.
> > Just opened another gnome-terminal and cd'd to the directory and
> > tried to play the unfinished file.
> > But now I see that I should not have included the + sign for the
> > faststart.
>
> Yeah, that’s not going to work.
The '+' sign in front of the flags is not going to work? I disagree.
ffmpeg's command line parser doesn't care whether the first flag is
prepended with a '+' or not:
Both
$ ffmpeg -f lavfi -i testsrc2 -t 3 -c:v libx264 -movflags +faststart /tmp/mp41_+faststart.mp4
and
$ ffmpeg -f lavfi -i testsrc2 -t 3 -c:v libx264 -movflags faststart /tmp/mp41_faststart.mp4
give identical files with a MOOV atom right up front.
Moritz
More information about the ffmpeg-user
mailing list