[FFmpeg-user] Documentation for input -i options

Moritz Barsnick barsnick at gmx.net
Thu Dec 5 17:57:06 EET 2019

On Thu, Dec 05, 2019 at 21:10:20 +0530, Gyan wrote:
> See ffmpeg -h demuxer=image2 to see its options, or on the web at

Funnily, of all self-documenting options, this one's default behavior
(and range) will look somewhat confusing to the user:

  -pattern_type      <int>        .D........ set pattern type (from 0 to INT_MAX) (default 4)
     glob_sequence   0            .D........ select glob/sequence pattern type
     glob            1            .D........ select glob pattern type
     sequence        2            .D........ select sequence pattern type
     none            3            .D........ disable pattern matching

Note "(from 0 to INT_MAX) (default 4)".

We may want to suggest a fix for that. :-)

Explanation: The default '4' is actually interpreted as "some default
behavior, either 'none' or 'glob_sequence', depending on some stuff".


More information about the ffmpeg-user mailing list