1

It can sound basic, but I see in many forums

-movflags +faststart -movflags -faststart -movflags faststart

What is the difference between plus + and minus - or just no sign before the flag ?

What does the signs do ?

Jintor
  • 607
  • 8
  • 32

2 Answers2

3

A + sign indicates that ffmpeg should set the specified value in addition to any values that the MOV/MP4 muxer will automatically set during the course of executing the command.
A - sign indicates that ffmpeg should unset the specified value, useful when one knows if the muxer enables it by default.
Omitting the sign altogether means ffmpeg will reset the flags to their default values, and only toggle the state of faststart.

Gyan
  • 85,394
  • 9
  • 169
  • 201
0

To put what llogan stated in a comment above but which I missed the first few times I came across this question, if you're specifying multiple MOV flags it's crucial there's no spaces between them:

-movflags +faststart+write_colr

instead of

-movflags +faststart +write_colr

The latter results in an error:

Unable to find a suitable output format for 'write_colr'`

...which I was stuck on for 10 mins before I noticed the comment exchange addressing this above.

Hashim Aziz
  • 4,074
  • 5
  • 38
  • 68