[FFmpeg-devel] [PATCH v2] doc: update loglevel option documentation

Tobias Rapp t.rapp at noa-archive.com
Wed Apr 11 10:11:35 EEST 2018

On 10.04.2018 22:26, Lou Logan wrote:
> On Mon, Apr 9, 2018, at 10:59 PM, Tobias Rapp wrote:
>> +For example to enable repeated log output and set @var{loglevel} to
>> + at code{verbose}:
>> + at example
>> +ffmpeg -loglevel repeat+verbose -i input output
>> + at end example
> Just to show all current flags and the loglevel I prefer:
> For example to enable repeated log output, add the @code{level} prefix, and set @var{loglevel} to
> @code{verbose}:
> @example
> ffmpeg -loglevel repeat+level+verbose -i input output
> @end example

OK, will change.

>> +Another example that disables the @code{level} prefix without affecting the
>> +current state of @code{repeat} flag or @var{loglevel}:
>> + at example
>> +ffmpeg [...] -loglevel -level
>> + at end example
> I'm not sure how useful this example is. Sure, it displays how to use "-", but is there an actual use case for using "-loglevel -level" since the level prefix is not shown by default anyway?

Yeah I added this to show that incrementally updating the loglevel 
option and the "-" also works. Can change it to "+" if that is preferred.

BTW: Is there some documentation on the generic flags syntax used in 
FFmpeg for options like "-fflags" or "-cpuflags" and how to combine the 
tokens with "+" or "-"? I couldn't find something on a quick scan.


More information about the ffmpeg-devel mailing list