{
    "mode": "man",
    "parameter": "ffplay-all",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/ffplay-all/1/json",
    "generated": "2026-06-03T03:35:07Z",
    "synopsis": "ffplay [options] [inputurl]",
    "sections": {
        "NAME": {
            "content": "ffplay - FFplay media player\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "ffplay [options] [inputurl]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "FFplay is a very simple and portable media player using the FFmpeg libraries and the SDL\nlibrary. It is mostly used as a testbed for the various FFmpeg APIs.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "All the numerical options, if not specified otherwise, accept a string representing a number\nas input, which may be followed by one of the SI unit prefixes, for example: 'K', 'M', or\n'G'.\n\nIf 'i' is appended to the SI unit prefix, the complete prefix will be interpreted as a unit\nprefix for binary multiples, which are based on powers of 1024 instead of powers of 1000.\nAppending 'B' to the SI unit prefix multiplies the value by 8. This allows using, for\nexample: 'KB', 'MiB', 'G' and 'B' as number suffixes.\n\nOptions which do not take arguments are boolean options, and set the corresponding value to\ntrue. They can be set to false by prefixing the option name with \"no\". For example using\n\"-nofoo\" will set the boolean option with name \"foo\" to false.\n",
            "subsections": [
                {
                    "name": "Stream specifiers",
                    "content": "Some options are applied per-stream, e.g. bitrate or codec. Stream specifiers are used to\nprecisely specify which stream(s) a given option belongs to.\n\nA stream specifier is a string generally appended to the option name and separated from it by\na colon. E.g. \"-codec:a:1 ac3\" contains the \"a:1\" stream specifier, which matches the second\naudio stream. Therefore, it would select the ac3 codec for the second audio stream.\n\nA stream specifier can match several streams, so that the option is applied to all of them.\nE.g. the stream specifier in \"-b:a 128k\" matches all audio streams.\n\nAn empty stream specifier matches all streams. For example, \"-codec copy\" or \"-codec: copy\"\nwould copy all the streams without reencoding.\n\nPossible forms of stream specifiers are:\n\nstreamindex\nMatches the stream with this index. E.g. \"-threads:1 4\" would set the thread count for\nthe second stream to 4. If streamindex is used as an additional stream specifier (see\nbelow), then it selects stream number streamindex from the matching streams. Stream\nnumbering is based on the order of the streams as detected by libavformat except when a\nprogram ID is also specified. In this case it is based on the ordering of the streams in\nthe program.\n\nstreamtype[:additionalstreamspecifier]\nstreamtype is one of following: 'v' or 'V' for video, 'a' for audio, 's' for subtitle,\n'd' for data, and 't' for attachments. 'v' matches all video streams, 'V' only matches\nvideo streams which are not attached pictures, video thumbnails or cover arts. If\nadditionalstreamspecifier is used, then it matches streams which both have this type\nand match the additionalstreamspecifier. Otherwise, it matches all streams of the\nspecified type.\n\np:programid[:additionalstreamspecifier]\nMatches streams which are in the program with the id programid. If\nadditionalstreamspecifier is used, then it matches streams which both are part of the\nprogram and match the additionalstreamspecifier.\n\n#streamid or i:streamid\nMatch the stream by stream id (e.g. PID in MPEG-TS container).\n\nm:key[:value]\nMatches streams with the metadata tag key having the specified value. If value is not\ngiven, matches streams that contain the given tag with any value.\n\nu   Matches streams with usable configuration, the codec must be defined and the essential\ninformation such as video dimension or audio sample rate must be present.\n\nNote that in ffmpeg, matching by metadata will only work properly for input files.\n"
                },
                {
                    "name": "Generic options",
                    "content": "These options are shared amongst the ff* tools.\n"
                },
                {
                    "name": "-L",
                    "content": "",
                    "flag": "-L"
                },
                {
                    "name": "-h, -?, -help, --help",
                    "content": "Show help. An optional parameter may be specified to print help about a specific item. If\nno argument is specified, only basic (non advanced) tool options are shown.\n\nPossible values of arg are:\n\nlong\nPrint advanced tool options in addition to the basic tool options.\n\nfull\nPrint complete list of options, including shared and private options for encoders,\ndecoders, demuxers, muxers, filters, etc.\n\ndecoder=decodername\nPrint detailed information about the decoder named decodername. Use the -decoders\noption to get a list of all decoders.\n\nencoder=encodername\nPrint detailed information about the encoder named encodername. Use the -encoders\noption to get a list of all encoders.\n\ndemuxer=demuxername\nPrint detailed information about the demuxer named demuxername. Use the -formats\noption to get a list of all demuxers and muxers.\n\nmuxer=muxername\nPrint detailed information about the muxer named muxername. Use the -formats option\nto get a list of all muxers and demuxers.\n\nfilter=filtername\nPrint detailed information about the filter named filtername. Use the -filters\noption to get a list of all filters.\n\nbsf=bitstreamfiltername\nPrint detailed information about the bitstream filter named bitstreamfiltername.\nUse the -bsfs option to get a list of all bitstream filters.\n\nprotocol=protocolname\nPrint detailed information about the protocol named protocolname.  Use the\n-protocols option to get a list of all protocols.\n",
                    "flag": "-?",
                    "long": "--help"
                },
                {
                    "name": "-version",
                    "content": "Show version.\n"
                },
                {
                    "name": "-buildconf",
                    "content": "Show the build configuration, one option per line.\n"
                },
                {
                    "name": "-formats",
                    "content": "Show available formats (including devices).\n"
                },
                {
                    "name": "-demuxers",
                    "content": "Show available demuxers.\n"
                },
                {
                    "name": "-muxers",
                    "content": "Show available muxers.\n"
                },
                {
                    "name": "-devices",
                    "content": "Show available devices.\n"
                },
                {
                    "name": "-codecs",
                    "content": "Show all codecs known to libavcodec.\n\nNote that the term 'codec' is used throughout this documentation as a shortcut for what\nis more correctly called a media bitstream format.\n"
                },
                {
                    "name": "-decoders",
                    "content": "Show available decoders.\n"
                },
                {
                    "name": "-encoders",
                    "content": "Show all available encoders.\n"
                },
                {
                    "name": "-bsfs",
                    "content": "Show available bitstream filters.\n"
                },
                {
                    "name": "-protocols",
                    "content": "Show available protocols.\n"
                },
                {
                    "name": "-filters",
                    "content": "Show available libavfilter filters.\n"
                },
                {
                    "name": "-pix",
                    "content": "Show available pixel formats.\n"
                },
                {
                    "name": "-sample",
                    "content": "Show available sample formats.\n"
                },
                {
                    "name": "-layouts",
                    "content": "Show channel names and standard channel layouts.\n"
                },
                {
                    "name": "-colors",
                    "content": "Show recognized color names.\n"
                },
                {
                    "name": "-sources",
                    "content": "Show autodetected sources of the input device.  Some devices may provide system-dependent\nsource names that cannot be autodetected.  The returned list cannot be assumed to be\nalways complete.\n\nffmpeg -sources pulse,server=192.168.0.4\n"
                },
                {
                    "name": "-sinks",
                    "content": "Show autodetected sinks of the output device.  Some devices may provide system-dependent\nsink names that cannot be autodetected.  The returned list cannot be assumed to be always\ncomplete.\n\nffmpeg -sinks pulse,server=192.168.0.4\n"
                },
                {
                    "name": "-loglevel -v",
                    "content": "Set logging level and flags used by the library.\n\nThe optional flags prefix can consist of the following values:\n\nrepeat\nIndicates that repeated log output should not be compressed to the first line and the\n\"Last message repeated n times\" line will be omitted.\n\nlevel\nIndicates that log output should add a \"[level]\" prefix to each message line. This\ncan be used as an alternative to log coloring, e.g. when dumping the log to file.\n\nFlags can also be used alone by adding a '+'/'-' prefix to set/reset a single flag\nwithout affecting other flags or changing loglevel. When setting both flags and loglevel,\na '+' separator is expected between the last flags value and before loglevel.\n\nloglevel is a string or a number containing one of the following values:\n\nquiet, -8\nShow nothing at all; be silent.\n\npanic, 0\nOnly show fatal errors which could lead the process to crash, such as an assertion\nfailure. This is not currently used for anything.\n\nfatal, 8\nOnly show fatal errors. These are errors after which the process absolutely cannot\ncontinue.\n\nerror, 16\nShow all errors, including ones which can be recovered from.\n\nwarning, 24\nShow all warnings and errors. Any message related to possibly incorrect or unexpected\nevents will be shown.\n\ninfo, 32\nShow informative messages during processing. This is in addition to warnings and\nerrors. This is the default value.\n\nverbose, 40\nSame as \"info\", except more verbose.\n\ndebug, 48\nShow everything, including debugging information.\n\ntrace, 56\n\nFor example to enable repeated log output, add the \"level\" prefix, and set loglevel to\n\"verbose\":\n\nffmpeg -loglevel repeat+level+verbose -i input output\n\nAnother example that enables repeated log output without affecting current state of\n\"level\" prefix flag or loglevel:\n\nffmpeg [...] -loglevel +repeat\n\nBy default the program logs to stderr. If coloring is supported by the terminal, colors\nare used to mark errors and warnings. Log coloring can be disabled setting the\nenvironment variable AVLOGFORCENOCOLOR, or can be forced setting the environment\nvariable AVLOGFORCECOLOR.\n",
                    "flag": "-v"
                },
                {
                    "name": "-report",
                    "content": "Dump full command line and log output to a file named \"program-YYYYMMDD-HHMMSS.log\" in\nthe current directory.  This file can be useful for bug reports.  It also implies\n\"-loglevel debug\".\n\nSetting the environment variable FFREPORT to any value has the same effect. If the value\nis a ':'-separated key=value sequence, these options will affect the report; option\nvalues must be escaped if they contain special characters or the options delimiter ':'\n(see the ``Quoting and escaping'' section in the ffmpeg-utils manual).\n\nThe following options are recognized:\n\nfile\nset the file name to use for the report; %p is expanded to the name of the program,\n%t is expanded to a timestamp, \"%%\" is expanded to a plain \"%\"\n\nlevel\nset the log verbosity level using a numerical value (see \"-loglevel\").\n\nFor example, to output a report to a file named ffreport.log using a log level of 32\n(alias for log level \"info\"):\n\nFFREPORT=file=ffreport.log:level=32 ffmpeg -i input output\n\nErrors in parsing the environment variable are not fatal, and will not appear in the\nreport.\n"
                },
                {
                    "name": "-hide",
                    "content": "Suppress printing banner.\n\nAll FFmpeg tools will normally show a copyright notice, build options and library\nversions. This option can be used to suppress printing this information.\n"
                },
                {
                    "name": "-cpuflags",
                    "content": "Allows setting and clearing cpu flags. This option is intended for testing. Do not use it\nunless you know what you're doing.\n\nffmpeg -cpuflags -sse+mmx ...\nffmpeg -cpuflags mmx ...\nffmpeg -cpuflags 0 ...\n\nPossible flags for this option are:\n\nx86\nmmx\nmmxext\nsse\nsse2\nsse2slow\nsse3\nsse3slow\nssse3\natom\nsse4.1\nsse4.2\navx\navx2\nxop\nfma3\nfma4\n3dnow\n3dnowext\nbmi1\nbmi2\ncmov\nARM\narmv5te\narmv6\narmv6t2\nvfp\nvfpv3\nneon\nsetend\nAArch64\narmv8\nvfp\nneon\nPowerPC\naltivec\nSpecific Processors\npentium2\npentium3\npentium4\nk6\nk62\nathlon\nathlonxp\nk8"
                },
                {
                    "name": "-max",
                    "content": "Set the maximum size limit for allocating a block on the heap by ffmpeg's family of\nmalloc functions. Exercise extreme caution when using this option. Don't use if you do\nnot understand the full consequence of doing so.  Default is INTMAX.\n"
                },
                {
                    "name": "AVOptions",
                    "content": "These options are provided directly by the libavformat, libavdevice and libavcodec libraries.\nTo see the list of available AVOptions, use the -help option. They are separated into two\ncategories:\n"
                },
                {
                    "name": "generic",
                    "content": "These options can be set for any container, codec or device. Generic options are listed\nunder AVFormatContext options for containers/devices and under AVCodecContext options for\ncodecs.\n"
                },
                {
                    "name": "private",
                    "content": "These options are specific to the given container, device or codec. Private options are\nlisted under their corresponding containers/devices/codecs.\n\nFor example to write an ID3v2.3 header instead of a default ID3v2.4 to an MP3 file, use the\nid3v2version private option of the MP3 muxer:\n\nffmpeg -i input.flac -id3v2version 3 out.mp3\n\nAll codec AVOptions are per-stream, and thus a stream specifier should be attached to them:\n\nffmpeg -i multichannel.mxf -map 0:v:0 -map 0:a:0 -map 0:a:0 -c:a:0 ac3 -b:a:0 640k -ac:a:1 2 -c:a:1 aac -b:2 128k out.mp4\n\nIn the above example, a multichannel audio stream is mapped twice for output.  The first\ninstance is encoded with codec ac3 and bitrate 640k.  The second instance is downmixed to 2\nchannels and encoded with codec aac. A bitrate of 128k is specified for it using absolute\nindex of the output stream.\n\nNote: the -nooption syntax cannot be used for boolean AVOptions, use -option 0/-option 1.\n\nNote: the old undocumented way of specifying per-stream AVOptions by prepending v/a/s to the\noptions name is now obsolete and will be removed soon.\n"
                },
                {
                    "name": "Main options",
                    "content": ""
                },
                {
                    "name": "-x",
                    "content": "Force displayed width.\n",
                    "flag": "-x"
                },
                {
                    "name": "-y",
                    "content": "Force displayed height.\n",
                    "flag": "-y"
                },
                {
                    "name": "-s",
                    "content": "Set frame size (WxH or abbreviation), needed for videos which do not contain a header\nwith the frame size like raw YUV.  This option has been deprecated in favor of private\noptions, try -videosize.\n",
                    "flag": "-s"
                },
                {
                    "name": "-fs",
                    "content": ""
                },
                {
                    "name": "-an",
                    "content": ""
                },
                {
                    "name": "-vn",
                    "content": ""
                },
                {
                    "name": "-sn",
                    "content": ""
                },
                {
                    "name": "-ss",
                    "content": "Seek to pos. Note that in most formats it is not possible to seek exactly, so ffplay will\nseek to the nearest seek point to pos.\n\npos must be a time duration specification, see the Time duration section in the\nffmpeg-utils(1) manual.\n"
                },
                {
                    "name": "-t",
                    "content": "Play duration seconds of audio/video.\n\nduration must be a time duration specification, see the Time duration section in the\nffmpeg-utils(1) manual.\n",
                    "flag": "-t"
                },
                {
                    "name": "-bytes",
                    "content": "Seek by bytes.\n"
                },
                {
                    "name": "-seek",
                    "content": "Set custom interval, in seconds, for seeking using left/right keys. Default is 10\nseconds.\n"
                },
                {
                    "name": "-nodisp",
                    "content": "Disable graphical display.\n"
                },
                {
                    "name": "-noborder",
                    "content": "Borderless window.\n"
                },
                {
                    "name": "-alwaysontop",
                    "content": "Window always on top. Available on: X11 with SDL >= 2.0.5, Windows SDL >= 2.0.6.\n"
                },
                {
                    "name": "-volume",
                    "content": "Set the startup volume. 0 means silence, 100 means no volume reduction or amplification.\nNegative values are treated as 0, values above 100 are treated as 100.\n"
                },
                {
                    "name": "-f",
                    "content": "Force format.\n",
                    "flag": "-f"
                },
                {
                    "name": "-window",
                    "content": "Set window title (default is the input filename).\n"
                },
                {
                    "name": "-left",
                    "content": "Set the x position for the left of the window (default is a centered window).\n"
                },
                {
                    "name": "-top",
                    "content": "Set the y position for the top of the window (default is a centered window).\n"
                },
                {
                    "name": "-loop",
                    "content": "Loops movie playback <number> times. 0 means forever.\n"
                },
                {
                    "name": "-showmode",
                    "content": "Set the show mode to use.  Available values for mode are:\n\n0, video\nshow video\n\n1, waves\nshow audio waves\n\n2, rdft\nshow audio frequency band using RDFT ((Inverse) Real Discrete Fourier Transform)\n\nDefault value is \"video\", if video is not present or cannot be played \"rdft\" is\nautomatically selected.\n\nYou can interactively cycle through the available show modes by pressing the key w.\n"
                },
                {
                    "name": "-vf",
                    "content": "Create the filtergraph specified by filtergraph and use it to filter the video stream.\n\nfiltergraph is a description of the filtergraph to apply to the stream, and must have a\nsingle video input and a single video output. In the filtergraph, the input is associated\nto the label \"in\", and the output to the label \"out\". See the ffmpeg-filters manual for\nmore information about the filtergraph syntax.\n\nYou can specify this parameter multiple times and cycle through the specified\nfiltergraphs along with the show modes by pressing the key w.\n"
                },
                {
                    "name": "-af",
                    "content": "filtergraph is a description of the filtergraph to apply to the input audio.  Use the\noption \"-filters\" to show all the available filters (including sources and sinks).\n"
                },
                {
                    "name": "-i",
                    "content": "Read inputurl.\n",
                    "flag": "-i"
                },
                {
                    "name": "Advanced options",
                    "content": ""
                },
                {
                    "name": "-pix",
                    "content": "Set pixel format.  This option has been deprecated in favor of private options, try\n-pixelformat.\n"
                },
                {
                    "name": "-stats",
                    "content": "Print several playback statistics, in particular show the stream duration, the codec\nparameters, the current position in the stream and the audio/video synchronisation drift.\nIt is shown by default, unless the log level is lower than \"info\". Its display can be\nforced by manually specifying this option. To disable it, you need to specify \"-nostats\".\n"
                },
                {
                    "name": "-fast",
                    "content": "Non-spec-compliant optimizations.\n"
                },
                {
                    "name": "-genpts",
                    "content": "Generate pts.\n"
                },
                {
                    "name": "-sync",
                    "content": "Set the master clock to audio (\"type=audio\"), video (\"type=video\") or external\n(\"type=ext\"). Default is audio. The master clock is used to control audio-video\nsynchronization. Most media players use audio as master clock, but in some cases\n(streaming or high quality broadcast) it is necessary to change that. This option is\nmainly used for debugging purposes.\n"
                },
                {
                    "name": "-ast",
                    "content": "Select the desired audio stream using the given stream specifier. The stream specifiers\nare described in the Stream specifiers chapter. If this option is not specified, the\n\"best\" audio stream is selected in the program of the already selected video stream.\n"
                },
                {
                    "name": "-vst",
                    "content": "Select the desired video stream using the given stream specifier. The stream specifiers\nare described in the Stream specifiers chapter. If this option is not specified, the\n\"best\" video stream is selected.\n"
                },
                {
                    "name": "-sst",
                    "content": "Select the desired subtitle stream using the given stream specifier. The stream\nspecifiers are described in the Stream specifiers chapter. If this option is not\nspecified, the \"best\" subtitle stream is selected in the program of the already selected\nvideo or audio stream.\n"
                },
                {
                    "name": "-autoexit",
                    "content": "Exit when video is done playing.\n"
                },
                {
                    "name": "-exitonkeydown",
                    "content": "Exit if any key is pressed.\n"
                },
                {
                    "name": "-exitonmousedown",
                    "content": "Exit if any mouse button is pressed.\n"
                },
                {
                    "name": "-codec:",
                    "content": "Force a specific decoder implementation for the stream identified by mediaspecifier,\nwhich can assume the values \"a\" (audio), \"v\" (video), and \"s\" subtitle.\n"
                },
                {
                    "name": "-acodec",
                    "content": "Force a specific audio decoder.\n"
                },
                {
                    "name": "-vcodec",
                    "content": "Force a specific video decoder.\n"
                },
                {
                    "name": "-scodec",
                    "content": "Force a specific subtitle decoder.\n"
                },
                {
                    "name": "-autorotate",
                    "content": "Automatically rotate the video according to file metadata. Enabled by default, use\n-noautorotate to disable it.\n"
                },
                {
                    "name": "-framedrop",
                    "content": "Drop video frames if video is out of sync. Enabled by default if the master clock is not\nset to video. Use this option to enable frame dropping for all master clock sources, use\n-noframedrop to disable it.\n"
                },
                {
                    "name": "-infbuf",
                    "content": "Do not limit the input buffer size, read as much data as possible from the input as soon\nas possible. Enabled by default for realtime streams, where data may be dropped if not\nread in time. Use this option to enable infinite buffers for all inputs, use -noinfbuf to\ndisable it.\n"
                },
                {
                    "name": "-filter",
                    "content": "Defines how many threads are used to process a filter pipeline. Each pipeline will\nproduce a thread pool with this many threads available for parallel processing. The\ndefault is 0 which means that the thread count will be determined by the number of\navailable CPUs.\n"
                },
                {
                    "name": "While playing",
                    "content": ""
                },
                {
                    "name": "q, ESC",
                    "content": "Quit.\n\nf   Toggle full screen.\n"
                },
                {
                    "name": "p, SPC",
                    "content": "Pause.\n\nm   Toggle mute.\n"
                },
                {
                    "name": "9, 0",
                    "content": "Decrease and increase volume respectively.\n\n/, *\nDecrease and increase volume respectively.\n\na   Cycle audio channel in the current program.\n\nv   Cycle video channel.\n\nt   Cycle subtitle channel in the current program.\n\nc   Cycle program.\n\nw   Cycle video filters or show modes.\n\ns   Step to the next frame.\n\nPause if the stream is not already paused, step to the next video frame, and pause.\n"
                },
                {
                    "name": "left/right",
                    "content": "Seek backward/forward 10 seconds.\n"
                },
                {
                    "name": "down/up",
                    "content": "Seek backward/forward 1 minute.\n"
                },
                {
                    "name": "page down/page up",
                    "content": "Seek to the previous/next chapter.  or if there are no chapters Seek backward/forward 10\nminutes.\n"
                },
                {
                    "name": "right mouse click",
                    "content": "Seek to percentage in file corresponding to fraction of width.\n"
                },
                {
                    "name": "left mouse double-click",
                    "content": "Toggle full screen.\n"
                }
            ]
        },
        "SYNTAX": {
            "content": "This section documents the syntax and formats employed by the FFmpeg libraries and tools.\n",
            "subsections": [
                {
                    "name": "Quoting and escaping",
                    "content": "FFmpeg adopts the following quoting and escaping mechanism, unless explicitly specified. The\nfollowing rules are applied:\n\n•   ' and \\ are special characters (respectively used for quoting and escaping). In addition\nto them, there might be other special characters depending on the specific syntax where\nthe escaping and quoting are employed.\n\n•   A special character is escaped by prefixing it with a \\.\n\n•   All characters enclosed between '' are included literally in the parsed string. The quote\ncharacter ' itself cannot be quoted, so you may need to close the quote and escape it.\n\n•   Leading and trailing whitespaces, unless escaped or quoted, are removed from the parsed\nstring.\n\nNote that you may need to add a second level of escaping when using the command line or a\nscript, which depends on the syntax of the adopted shell language.\n\nThe function \"avgettoken\" defined in libavutil/avstring.h can be used to parse a token\nquoted or escaped according to the rules defined above.\n\nThe tool tools/ffescape in the FFmpeg source tree can be used to automatically quote or\nescape a string in a script.\n\nExamples\n\n•   Escape the string \"Crime d'Amour\" containing the \"'\" special character:\n\nCrime d\\'Amour\n\n•   The string above contains a quote, so the \"'\" needs to be escaped when quoting it:\n\n'Crime d'\\''Amour'\n\n•   Include leading or trailing whitespaces using quoting:\n\n'  this string starts and ends with whitespaces  '\n\n•   Escaping and quoting can be mixed together:\n\n' The string '\\'string\\'' is a string '\n\n•   To include a literal \\ you can use either escaping or quoting:\n\n'c:\\foo' can be written as c:\\\\foo\n"
                },
                {
                    "name": "Date",
                    "content": "The accepted syntax is:\n\n[(YYYY-MM-DD|YYYYMMDD)[T|t| ]]((HH:MM:SS[.m...]]])|(HHMMSS[.m...]]]))[Z]\nnow\n\nIf the value is \"now\" it takes the current time.\n\nTime is local time unless Z is appended, in which case it is interpreted as UTC.  If the\nyear-month-day part is not specified it takes the current year-month-day.\n"
                },
                {
                    "name": "Time duration",
                    "content": "There are two accepted syntaxes for expressing time duration.\n\n[-][<HH>:]<MM>:<SS>[.<m>...]\n\nHH expresses the number of hours, MM the number of minutes for a maximum of 2 digits, and SS\nthe number of seconds for a maximum of 2 digits. The m at the end expresses decimal value for\nSS.\n\nor\n\n[-]<S>+[.<m>...][s|ms|us]\n\nS expresses the number of seconds, with the optional decimal part m.  The optional literal\nsuffixes s, ms or us indicate to interpret the value as seconds, milliseconds or\nmicroseconds, respectively.\n\nIn both expressions, the optional - indicates negative duration.\n\nExamples\n\nThe following examples are all valid time duration:\n\n55  55 seconds\n\n0.2 0.2 seconds\n"
                },
                {
                    "name": "200ms",
                    "content": "200 milliseconds, that's 0.2s\n"
                },
                {
                    "name": "200000us",
                    "content": "200000 microseconds, that's 0.2s\n"
                },
                {
                    "name": "12:03:45",
                    "content": "12 hours, 03 minutes and 45 seconds\n"
                },
                {
                    "name": "23.189",
                    "content": "23.189 seconds\n"
                },
                {
                    "name": "Video size",
                    "content": "Specify the size of the sourced video, it may be a string of the form widthxheight, or the\nname of a size abbreviation.\n\nThe following abbreviations are recognized:\n"
                },
                {
                    "name": "ntsc",
                    "content": "720x480\n\npal 720x576\n"
                },
                {
                    "name": "qntsc",
                    "content": "352x240\n"
                },
                {
                    "name": "qpal",
                    "content": "352x288\n"
                },
                {
                    "name": "sntsc",
                    "content": "640x480\n"
                },
                {
                    "name": "spal",
                    "content": "768x576\n"
                },
                {
                    "name": "film",
                    "content": "352x240\n"
                },
                {
                    "name": "ntsc-film",
                    "content": "352x240\n"
                },
                {
                    "name": "sqcif",
                    "content": "128x96\n"
                },
                {
                    "name": "qcif",
                    "content": "176x144\n\ncif 352x288\n"
                },
                {
                    "name": "4cif",
                    "content": "704x576\n"
                },
                {
                    "name": "16cif",
                    "content": "1408x1152\n"
                },
                {
                    "name": "qqvga",
                    "content": "160x120\n"
                },
                {
                    "name": "qvga",
                    "content": "320x240\n\nvga 640x480\n"
                },
                {
                    "name": "svga",
                    "content": "800x600\n\nxga 1024x768\n"
                },
                {
                    "name": "uxga",
                    "content": "1600x1200\n"
                },
                {
                    "name": "qxga",
                    "content": "2048x1536\n"
                },
                {
                    "name": "sxga",
                    "content": "1280x1024\n"
                },
                {
                    "name": "qsxga",
                    "content": "2560x2048\n"
                },
                {
                    "name": "hsxga",
                    "content": "5120x4096\n"
                },
                {
                    "name": "wvga",
                    "content": "852x480\n"
                },
                {
                    "name": "wxga",
                    "content": "1366x768\n"
                },
                {
                    "name": "wsxga",
                    "content": "1600x1024\n"
                },
                {
                    "name": "wuxga",
                    "content": "1920x1200\n"
                },
                {
                    "name": "woxga",
                    "content": "2560x1600\n"
                },
                {
                    "name": "wqsxga",
                    "content": "3200x2048\n"
                },
                {
                    "name": "wquxga",
                    "content": "3840x2400\n"
                },
                {
                    "name": "whsxga",
                    "content": "6400x4096\n"
                },
                {
                    "name": "whuxga",
                    "content": "7680x4800\n\ncga 320x200\n\nega 640x350\n"
                },
                {
                    "name": "hd480",
                    "content": "852x480\n"
                },
                {
                    "name": "hd720",
                    "content": "1280x720\n"
                },
                {
                    "name": "hd1080",
                    "content": "1920x1080\n\n2k  2048x1080\n"
                },
                {
                    "name": "2kflat",
                    "content": "1998x1080\n"
                },
                {
                    "name": "2kscope",
                    "content": "2048x858\n\n4k  4096x2160\n"
                },
                {
                    "name": "4kflat",
                    "content": "3996x2160\n"
                },
                {
                    "name": "4kscope",
                    "content": "4096x1716\n\nnhd 640x360\n"
                },
                {
                    "name": "hqvga",
                    "content": "240x160\n"
                },
                {
                    "name": "wqvga",
                    "content": "400x240\n"
                },
                {
                    "name": "fwqvga",
                    "content": "432x240\n"
                },
                {
                    "name": "hvga",
                    "content": "480x320\n\nqhd 960x540\n"
                },
                {
                    "name": "2kdci",
                    "content": "2048x1080\n"
                },
                {
                    "name": "4kdci",
                    "content": "4096x2160\n"
                },
                {
                    "name": "uhd2160",
                    "content": "3840x2160\n"
                },
                {
                    "name": "uhd4320",
                    "content": "7680x4320\n"
                },
                {
                    "name": "Video rate",
                    "content": "Specify the frame rate of a video, expressed as the number of frames generated per second. It\nhas to be a string in the format frameratenum/framerateden, an integer number, a float\nnumber or a valid video frame rate abbreviation.\n\nThe following abbreviations are recognized:\n"
                },
                {
                    "name": "ntsc",
                    "content": "30000/1001\n\npal 25/1\n"
                },
                {
                    "name": "qntsc",
                    "content": "30000/1001\n"
                },
                {
                    "name": "qpal",
                    "content": "25/1\n"
                },
                {
                    "name": "sntsc",
                    "content": "30000/1001\n"
                },
                {
                    "name": "spal",
                    "content": "25/1\n"
                },
                {
                    "name": "film",
                    "content": "24/1\n"
                },
                {
                    "name": "ntsc-film",
                    "content": "24000/1001\n"
                },
                {
                    "name": "Ratio",
                    "content": "A ratio can be expressed as an expression, or in the form numerator:denominator.\n\nNote that a ratio with infinite (1/0) or negative value is considered valid, so you should\ncheck on the returned value if you want to exclude those values.\n\nThe undefined value can be expressed using the \"0:0\" string.\n"
                },
                {
                    "name": "Color",
                    "content": "It can be the name of a color as defined below (case insensitive match) or a\n\"[0x|#]RRGGBB[AA]\" sequence, possibly followed by @ and a string representing the alpha\ncomponent.\n\nThe alpha component may be a string composed by \"0x\" followed by an hexadecimal number or a\ndecimal number between 0.0 and 1.0, which represents the opacity value (0x00 or 0.0 means\ncompletely transparent, 0xff or 1.0 completely opaque). If the alpha component is not\nspecified then 0xff is assumed.\n\nThe string random will result in a random color.\n\nThe following names of colors are recognized:\n"
                },
                {
                    "name": "AliceBlue",
                    "content": "0xF0F8FF\n"
                },
                {
                    "name": "AntiqueWhite",
                    "content": "0xFAEBD7\n"
                },
                {
                    "name": "Aqua",
                    "content": "0x00FFFF\n"
                },
                {
                    "name": "Aquamarine",
                    "content": "0x7FFFD4\n"
                },
                {
                    "name": "Azure",
                    "content": "0xF0FFFF\n"
                },
                {
                    "name": "Beige",
                    "content": "0xF5F5DC\n"
                },
                {
                    "name": "Bisque",
                    "content": "0xFFE4C4\n"
                },
                {
                    "name": "Black",
                    "content": "0x000000\n"
                },
                {
                    "name": "BlanchedAlmond",
                    "content": "0xFFEBCD\n"
                },
                {
                    "name": "Blue",
                    "content": "0x0000FF\n"
                },
                {
                    "name": "BlueViolet",
                    "content": "0x8A2BE2\n"
                },
                {
                    "name": "Brown",
                    "content": "0xA52A2A\n"
                },
                {
                    "name": "BurlyWood",
                    "content": "0xDEB887\n"
                },
                {
                    "name": "CadetBlue",
                    "content": "0x5F9EA0\n"
                },
                {
                    "name": "Chartreuse",
                    "content": "0x7FFF00\n"
                },
                {
                    "name": "Chocolate",
                    "content": "0xD2691E\n"
                },
                {
                    "name": "Coral",
                    "content": "0xFF7F50\n"
                },
                {
                    "name": "CornflowerBlue",
                    "content": "0x6495ED\n"
                },
                {
                    "name": "Cornsilk",
                    "content": "0xFFF8DC\n"
                },
                {
                    "name": "Crimson",
                    "content": "0xDC143C\n"
                },
                {
                    "name": "Cyan",
                    "content": "0x00FFFF\n"
                },
                {
                    "name": "DarkBlue",
                    "content": "0x00008B\n"
                },
                {
                    "name": "DarkCyan",
                    "content": "0x008B8B\n"
                },
                {
                    "name": "DarkGoldenRod",
                    "content": "0xB8860B\n"
                },
                {
                    "name": "DarkGray",
                    "content": "0xA9A9A9\n"
                },
                {
                    "name": "DarkGreen",
                    "content": "0x006400\n"
                },
                {
                    "name": "DarkKhaki",
                    "content": "0xBDB76B\n"
                },
                {
                    "name": "DarkMagenta",
                    "content": "0x8B008B\n"
                },
                {
                    "name": "DarkOliveGreen",
                    "content": "0x556B2F\n"
                },
                {
                    "name": "Darkorange",
                    "content": "0xFF8C00\n"
                },
                {
                    "name": "DarkOrchid",
                    "content": "0x9932CC\n"
                },
                {
                    "name": "DarkRed",
                    "content": "0x8B0000\n"
                },
                {
                    "name": "DarkSalmon",
                    "content": "0xE9967A\n"
                },
                {
                    "name": "DarkSeaGreen",
                    "content": "0x8FBC8F\n"
                },
                {
                    "name": "DarkSlateBlue",
                    "content": "0x483D8B\n"
                },
                {
                    "name": "DarkSlateGray",
                    "content": "0x2F4F4F\n"
                },
                {
                    "name": "DarkTurquoise",
                    "content": "0x00CED1\n"
                },
                {
                    "name": "DarkViolet",
                    "content": "0x9400D3\n"
                },
                {
                    "name": "DeepPink",
                    "content": "0xFF1493\n"
                },
                {
                    "name": "DeepSkyBlue",
                    "content": "0x00BFFF\n"
                },
                {
                    "name": "DimGray",
                    "content": "0x696969\n"
                },
                {
                    "name": "DodgerBlue",
                    "content": "0x1E90FF\n"
                },
                {
                    "name": "FireBrick",
                    "content": "0xB22222\n"
                },
                {
                    "name": "FloralWhite",
                    "content": "0xFFFAF0\n"
                },
                {
                    "name": "ForestGreen",
                    "content": "0x228B22\n"
                },
                {
                    "name": "Fuchsia",
                    "content": "0xFF00FF\n"
                },
                {
                    "name": "Gainsboro",
                    "content": "0xDCDCDC\n"
                },
                {
                    "name": "GhostWhite",
                    "content": "0xF8F8FF\n"
                },
                {
                    "name": "Gold",
                    "content": "0xFFD700\n"
                },
                {
                    "name": "GoldenRod",
                    "content": "0xDAA520\n"
                },
                {
                    "name": "Gray",
                    "content": "0x808080\n"
                },
                {
                    "name": "Green",
                    "content": "0x008000\n"
                },
                {
                    "name": "GreenYellow",
                    "content": "0xADFF2F\n"
                },
                {
                    "name": "HoneyDew",
                    "content": "0xF0FFF0\n"
                },
                {
                    "name": "HotPink",
                    "content": "0xFF69B4\n"
                },
                {
                    "name": "IndianRed",
                    "content": "0xCD5C5C\n"
                },
                {
                    "name": "Indigo",
                    "content": "0x4B0082\n"
                },
                {
                    "name": "Ivory",
                    "content": "0xFFFFF0\n"
                },
                {
                    "name": "Khaki",
                    "content": "0xF0E68C\n"
                },
                {
                    "name": "Lavender",
                    "content": "0xE6E6FA\n"
                },
                {
                    "name": "LavenderBlush",
                    "content": "0xFFF0F5\n"
                },
                {
                    "name": "LawnGreen",
                    "content": "0x7CFC00\n"
                },
                {
                    "name": "LemonChiffon",
                    "content": "0xFFFACD\n"
                },
                {
                    "name": "LightBlue",
                    "content": "0xADD8E6\n"
                },
                {
                    "name": "LightCoral",
                    "content": "0xF08080\n"
                },
                {
                    "name": "LightCyan",
                    "content": "0xE0FFFF\n"
                },
                {
                    "name": "LightGoldenRodYellow",
                    "content": "0xFAFAD2\n"
                },
                {
                    "name": "LightGreen",
                    "content": "0x90EE90\n"
                },
                {
                    "name": "LightGrey",
                    "content": "0xD3D3D3\n"
                },
                {
                    "name": "LightPink",
                    "content": "0xFFB6C1\n"
                },
                {
                    "name": "LightSalmon",
                    "content": "0xFFA07A\n"
                },
                {
                    "name": "LightSeaGreen",
                    "content": "0x20B2AA\n"
                },
                {
                    "name": "LightSkyBlue",
                    "content": "0x87CEFA\n"
                },
                {
                    "name": "LightSlateGray",
                    "content": "0x778899\n"
                },
                {
                    "name": "LightSteelBlue",
                    "content": "0xB0C4DE\n"
                },
                {
                    "name": "LightYellow",
                    "content": "0xFFFFE0\n"
                },
                {
                    "name": "Lime",
                    "content": "0x00FF00\n"
                },
                {
                    "name": "LimeGreen",
                    "content": "0x32CD32\n"
                },
                {
                    "name": "Linen",
                    "content": "0xFAF0E6\n"
                },
                {
                    "name": "Magenta",
                    "content": "0xFF00FF\n"
                },
                {
                    "name": "Maroon",
                    "content": "0x800000\n"
                },
                {
                    "name": "MediumAquaMarine",
                    "content": "0x66CDAA\n"
                },
                {
                    "name": "MediumBlue",
                    "content": "0x0000CD\n"
                },
                {
                    "name": "MediumOrchid",
                    "content": "0xBA55D3\n"
                },
                {
                    "name": "MediumPurple",
                    "content": "0x9370D8\n"
                },
                {
                    "name": "MediumSeaGreen",
                    "content": "0x3CB371\n"
                },
                {
                    "name": "MediumSlateBlue",
                    "content": "0x7B68EE\n"
                },
                {
                    "name": "MediumSpringGreen",
                    "content": "0x00FA9A\n"
                },
                {
                    "name": "MediumTurquoise",
                    "content": "0x48D1CC\n"
                },
                {
                    "name": "MediumVioletRed",
                    "content": "0xC71585\n"
                },
                {
                    "name": "MidnightBlue",
                    "content": "0x191970\n"
                },
                {
                    "name": "MintCream",
                    "content": "0xF5FFFA\n"
                },
                {
                    "name": "MistyRose",
                    "content": "0xFFE4E1\n"
                },
                {
                    "name": "Moccasin",
                    "content": "0xFFE4B5\n"
                },
                {
                    "name": "NavajoWhite",
                    "content": "0xFFDEAD\n"
                },
                {
                    "name": "Navy",
                    "content": "0x000080\n"
                },
                {
                    "name": "OldLace",
                    "content": "0xFDF5E6\n"
                },
                {
                    "name": "Olive",
                    "content": "0x808000\n"
                },
                {
                    "name": "OliveDrab",
                    "content": "0x6B8E23\n"
                },
                {
                    "name": "Orange",
                    "content": "0xFFA500\n"
                },
                {
                    "name": "OrangeRed",
                    "content": "0xFF4500\n"
                },
                {
                    "name": "Orchid",
                    "content": "0xDA70D6\n"
                },
                {
                    "name": "PaleGoldenRod",
                    "content": "0xEEE8AA\n"
                },
                {
                    "name": "PaleGreen",
                    "content": "0x98FB98\n"
                },
                {
                    "name": "PaleTurquoise",
                    "content": "0xAFEEEE\n"
                },
                {
                    "name": "PaleVioletRed",
                    "content": "0xD87093\n"
                },
                {
                    "name": "PapayaWhip",
                    "content": "0xFFEFD5\n"
                },
                {
                    "name": "PeachPuff",
                    "content": "0xFFDAB9\n"
                },
                {
                    "name": "Peru",
                    "content": "0xCD853F\n"
                },
                {
                    "name": "Pink",
                    "content": "0xFFC0CB\n"
                },
                {
                    "name": "Plum",
                    "content": "0xDDA0DD\n"
                },
                {
                    "name": "PowderBlue",
                    "content": "0xB0E0E6\n"
                },
                {
                    "name": "Purple",
                    "content": "0x800080\n\nRed 0xFF0000\n"
                },
                {
                    "name": "RosyBrown",
                    "content": "0xBC8F8F\n"
                },
                {
                    "name": "RoyalBlue",
                    "content": "0x4169E1\n"
                },
                {
                    "name": "SaddleBrown",
                    "content": "0x8B4513\n"
                },
                {
                    "name": "Salmon",
                    "content": "0xFA8072\n"
                },
                {
                    "name": "SandyBrown",
                    "content": "0xF4A460\n"
                },
                {
                    "name": "SeaGreen",
                    "content": "0x2E8B57\n"
                },
                {
                    "name": "SeaShell",
                    "content": "0xFFF5EE\n"
                },
                {
                    "name": "Sienna",
                    "content": "0xA0522D\n"
                },
                {
                    "name": "Silver",
                    "content": "0xC0C0C0\n"
                },
                {
                    "name": "SkyBlue",
                    "content": "0x87CEEB\n"
                },
                {
                    "name": "SlateBlue",
                    "content": "0x6A5ACD\n"
                },
                {
                    "name": "SlateGray",
                    "content": "0x708090\n"
                },
                {
                    "name": "Snow",
                    "content": "0xFFFAFA\n"
                },
                {
                    "name": "SpringGreen",
                    "content": "0x00FF7F\n"
                },
                {
                    "name": "SteelBlue",
                    "content": "0x4682B4\n\nTan 0xD2B48C\n"
                },
                {
                    "name": "Teal",
                    "content": "0x008080\n"
                },
                {
                    "name": "Thistle",
                    "content": "0xD8BFD8\n"
                },
                {
                    "name": "Tomato",
                    "content": "0xFF6347\n"
                },
                {
                    "name": "Turquoise",
                    "content": "0x40E0D0\n"
                },
                {
                    "name": "Violet",
                    "content": "0xEE82EE\n"
                },
                {
                    "name": "Wheat",
                    "content": "0xF5DEB3\n"
                },
                {
                    "name": "White",
                    "content": "0xFFFFFF\n"
                },
                {
                    "name": "WhiteSmoke",
                    "content": "0xF5F5F5\n"
                },
                {
                    "name": "Yellow",
                    "content": "0xFFFF00\n"
                },
                {
                    "name": "YellowGreen",
                    "content": "0x9ACD32\n"
                },
                {
                    "name": "Channel Layout",
                    "content": "A channel layout specifies the spatial disposition of the channels in a multi-channel audio\nstream. To specify a channel layout, FFmpeg makes use of a special syntax.\n\nIndividual channels are identified by an id, as given by the table below:\n\nFL  front left\n\nFR  front right\n\nFC  front center\n\nLFE low frequency\n\nBL  back left\n\nBR  back right\n\nFLC front left-of-center\n\nFRC front right-of-center\n\nBC  back center\n\nSL  side left\n\nSR  side right\n\nTC  top center\n\nTFL top front left\n\nTFC top front center\n\nTFR top front right\n\nTBL top back left\n\nTBC top back center\n\nTBR top back right\n\nDL  downmix left\n\nDR  downmix right\n\nWL  wide left\n\nWR  wide right\n\nSDL surround direct left\n\nSDR surround direct right\n\nLFE2\nlow frequency 2\n\nStandard channel layout compositions can be specified by using the following identifiers:\n"
                },
                {
                    "name": "mono",
                    "content": "FC\n"
                },
                {
                    "name": "stereo",
                    "content": "FL+FR\n\n2.1 FL+FR+LFE\n\n3.0 FL+FR+FC\n"
                },
                {
                    "name": "3.0(back)",
                    "content": "FL+FR+BC\n\n4.0 FL+FR+FC+BC\n"
                },
                {
                    "name": "quad",
                    "content": "FL+FR+BL+BR\n"
                },
                {
                    "name": "quad(side)",
                    "content": "FL+FR+SL+SR\n\n3.1 FL+FR+FC+LFE\n\n5.0 FL+FR+FC+BL+BR\n"
                },
                {
                    "name": "5.0(side)",
                    "content": "FL+FR+FC+SL+SR\n\n4.1 FL+FR+FC+LFE+BC\n\n5.1 FL+FR+FC+LFE+BL+BR\n"
                },
                {
                    "name": "5.1(side)",
                    "content": "FL+FR+FC+LFE+SL+SR\n\n6.0 FL+FR+FC+BC+SL+SR\n"
                },
                {
                    "name": "6.0(front)",
                    "content": "FL+FR+FLC+FRC+SL+SR\n"
                },
                {
                    "name": "hexagonal",
                    "content": "FL+FR+FC+BL+BR+BC\n\n6.1 FL+FR+FC+LFE+BC+SL+SR\n\n6.1 FL+FR+FC+LFE+BL+BR+BC\n"
                },
                {
                    "name": "6.1(front)",
                    "content": "FL+FR+LFE+FLC+FRC+SL+SR\n\n7.0 FL+FR+FC+BL+BR+SL+SR\n"
                },
                {
                    "name": "7.0(front)",
                    "content": "FL+FR+FC+FLC+FRC+SL+SR\n\n7.1 FL+FR+FC+LFE+BL+BR+SL+SR\n"
                },
                {
                    "name": "7.1(wide)",
                    "content": "FL+FR+FC+LFE+BL+BR+FLC+FRC\n"
                },
                {
                    "name": "7.1(wide-side)",
                    "content": "FL+FR+FC+LFE+FLC+FRC+SL+SR\n"
                },
                {
                    "name": "octagonal",
                    "content": "FL+FR+FC+BL+BR+BC+SL+SR\n"
                },
                {
                    "name": "hexadecagonal",
                    "content": "FL+FR+FC+BL+BR+BC+SL+SR+WL+WR+TBL+TBR+TBC+TFC+TFL+TFR\n"
                },
                {
                    "name": "downmix",
                    "content": "DL+DR\n\nA custom channel layout can be specified as a sequence of terms, separated by '+' or '|'.\nEach term can be:\n\n•   the name of a standard channel layout (e.g. mono, stereo, 4.0, quad, 5.0, etc.)\n\n•   the name of a single channel (e.g. FL, FR, FC, LFE, etc.)\n\n•   a number of channels, in decimal, followed by 'c', yielding the default channel layout\nfor that number of channels (see the function \"avgetdefaultchannellayout\"). Note that\nnot all channel counts have a default layout.\n\n•   a number of channels, in decimal, followed by 'C', yielding an unknown channel layout\nwith the specified number of channels. Note that not all channel layout specification\nstrings support unknown channel layouts.\n\n•   a channel layout mask, in hexadecimal starting with \"0x\" (see the \"AVCH*\" macros in\nlibavutil/channellayout.h.\n\nBefore libavutil version 53 the trailing character \"c\" to specify a number of channels was\noptional, but now it is required, while a channel layout mask can also be specified as a\ndecimal number (if and only if not followed by \"c\" or \"C\").\n\nSee also the function \"avgetchannellayout\" defined in libavutil/channellayout.h.\n"
                }
            ]
        },
        "EXPRESSION EVALUATION": {
            "content": "When evaluating an arithmetic expression, FFmpeg uses an internal formula evaluator,\nimplemented through the libavutil/eval.h interface.\n\nAn expression may contain unary, binary operators, constants, and functions.\n\nTwo expressions expr1 and expr2 can be combined to form another expression \"expr1;expr2\".\nexpr1 and expr2 are evaluated in turn, and the new expression evaluates to the value of\nexpr2.\n\nThe following binary operators are available: \"+\", \"-\", \"*\", \"/\", \"^\".\n\nThe following unary operators are available: \"+\", \"-\".\n\nThe following functions are available:\n",
            "subsections": [
                {
                    "name": "abs(x)",
                    "content": "Compute absolute value of x.\n"
                },
                {
                    "name": "acos(x)",
                    "content": "Compute arccosine of x.\n"
                },
                {
                    "name": "asin(x)",
                    "content": "Compute arcsine of x.\n"
                },
                {
                    "name": "atan(x)",
                    "content": "Compute arctangent of x.\n"
                },
                {
                    "name": "atan2(x, y)",
                    "content": "Compute principal value of the arc tangent of y/x.\n"
                },
                {
                    "name": "between(x, min, max)",
                    "content": "Return 1 if x is greater than or equal to min and lesser than or equal to max, 0\notherwise.\n"
                },
                {
                    "name": "bitand(x, y)",
                    "content": ""
                },
                {
                    "name": "bitor(x, y)",
                    "content": "Compute bitwise and/or operation on x and y.\n\nThe results of the evaluation of x and y are converted to integers before executing the\nbitwise operation.\n\nNote that both the conversion to integer and the conversion back to floating point can\nlose precision. Beware of unexpected results for large numbers (usually 2^53 and larger).\n"
                },
                {
                    "name": "ceil(expr)",
                    "content": "Round the value of expression expr upwards to the nearest integer. For example,\n\"ceil(1.5)\" is \"2.0\".\n"
                },
                {
                    "name": "clip(x, min, max)",
                    "content": "Return the value of x clipped between min and max.\n"
                },
                {
                    "name": "cos(x)",
                    "content": "Compute cosine of x.\n"
                },
                {
                    "name": "cosh(x)",
                    "content": "Compute hyperbolic cosine of x.\n"
                },
                {
                    "name": "eq(x, y)",
                    "content": "Return 1 if x and y are equivalent, 0 otherwise.\n"
                },
                {
                    "name": "exp(x)",
                    "content": "Compute exponential of x (with base \"e\", the Euler's number).\n"
                },
                {
                    "name": "floor(expr)",
                    "content": "Round the value of expression expr downwards to the nearest integer. For example,\n\"floor(-1.5)\" is \"-2.0\".\n"
                },
                {
                    "name": "gauss(x)",
                    "content": "Compute Gauss function of x, corresponding to \"exp(-x*x/2) / sqrt(2*PI)\".\n"
                },
                {
                    "name": "gcd(x, y)",
                    "content": "Return the greatest common divisor of x and y. If both x and y are 0 or either or both\nare less than zero then behavior is undefined.\n"
                },
                {
                    "name": "gt(x, y)",
                    "content": "Return 1 if x is greater than y, 0 otherwise.\n"
                },
                {
                    "name": "gte(x, y)",
                    "content": "Return 1 if x is greater than or equal to y, 0 otherwise.\n"
                },
                {
                    "name": "hypot(x, y)",
                    "content": "This function is similar to the C function with the same name; it returns \"sqrt(x*x +\ny*y)\", the length of the hypotenuse of a right triangle with sides of length x and y, or\nthe distance of the point (x, y) from the origin.\n"
                },
                {
                    "name": "if(x, y)",
                    "content": "Evaluate x, and if the result is non-zero return the result of the evaluation of y,\nreturn 0 otherwise.\n"
                },
                {
                    "name": "if(x, y, z)",
                    "content": "Evaluate x, and if the result is non-zero return the evaluation result of y, otherwise\nthe evaluation result of z.\n"
                },
                {
                    "name": "ifnot(x, y)",
                    "content": "Evaluate x, and if the result is zero return the result of the evaluation of y, return 0\notherwise.\n"
                },
                {
                    "name": "ifnot(x, y, z)",
                    "content": "Evaluate x, and if the result is zero return the evaluation result of y, otherwise the\nevaluation result of z.\n"
                },
                {
                    "name": "isinf(x)",
                    "content": "Return 1.0 if x is +/-INFINITY, 0.0 otherwise.\n"
                },
                {
                    "name": "isnan(x)",
                    "content": "Return 1.0 if x is NAN, 0.0 otherwise.\n"
                },
                {
                    "name": "ld(var)",
                    "content": "Load the value of the internal variable with number var, which was previously stored with\nst(var, expr).  The function returns the loaded value.\n"
                },
                {
                    "name": "lerp(x, y, z)",
                    "content": "Return linear interpolation between x and y by amount of z.\n"
                },
                {
                    "name": "log(x)",
                    "content": "Compute natural logarithm of x.\n"
                },
                {
                    "name": "lt(x, y)",
                    "content": "Return 1 if x is lesser than y, 0 otherwise.\n"
                },
                {
                    "name": "lte(x, y)",
                    "content": "Return 1 if x is lesser than or equal to y, 0 otherwise.\n"
                },
                {
                    "name": "max(x, y)",
                    "content": "Return the maximum between x and y.\n"
                },
                {
                    "name": "min(x, y)",
                    "content": "Return the minimum between x and y.\n"
                },
                {
                    "name": "mod(x, y)",
                    "content": "Compute the remainder of division of x by y.\n"
                },
                {
                    "name": "not(expr)",
                    "content": "Return 1.0 if expr is zero, 0.0 otherwise.\n"
                },
                {
                    "name": "pow(x, y)",
                    "content": "Compute the power of x elevated y, it is equivalent to \"(x)^(y)\".\n"
                },
                {
                    "name": "print(t)",
                    "content": ""
                },
                {
                    "name": "print(t, l)",
                    "content": "Print the value of expression t with loglevel l. If l is not specified then a default log\nlevel is used.  Returns the value of the expression printed.\n\nPrints t with loglevel l\n"
                },
                {
                    "name": "random(x)",
                    "content": "Return a pseudo random value between 0.0 and 1.0. x is the index of the internal variable\nwhich will be used to save the seed/state.\n"
                },
                {
                    "name": "root(expr, max)",
                    "content": "Find an input value for which the function represented by expr with argument lldd(0) is 0\nin the interval 0..max.\n\nThe expression in expr must denote a continuous function or the result is undefined.\n\nlldd(0) is used to represent the function input value, which means that the given\nexpression will be evaluated multiple times with various input values that the expression\ncan access through ld(0). When the expression evaluates to 0 then the corresponding input\nvalue will be returned.\n"
                },
                {
                    "name": "round(expr)",
                    "content": "Round the value of expression expr to the nearest integer. For example, \"round(1.5)\" is\n\"2.0\".\n"
                },
                {
                    "name": "sgn(x)",
                    "content": "Compute sign of x.\n"
                },
                {
                    "name": "sin(x)",
                    "content": "Compute sine of x.\n"
                },
                {
                    "name": "sinh(x)",
                    "content": "Compute hyperbolic sine of x.\n"
                },
                {
                    "name": "sqrt(expr)",
                    "content": "Compute the square root of expr. This is equivalent to \"(expr)^.5\".\n"
                },
                {
                    "name": "squish(x)",
                    "content": "Compute expression \"1/(1 + exp(4*x))\".\n"
                },
                {
                    "name": "st(var, expr)",
                    "content": "Store the value of the expression expr in an internal variable. var specifies the number\nof the variable where to store the value, and it is a value ranging from 0 to 9. The\nfunction returns the value stored in the internal variable.  Note, Variables are\ncurrently not shared between expressions.\n"
                },
                {
                    "name": "tan(x)",
                    "content": "Compute tangent of x.\n"
                },
                {
                    "name": "tanh(x)",
                    "content": "Compute hyperbolic tangent of x.\n"
                },
                {
                    "name": "taylor(expr, x)",
                    "content": ""
                },
                {
                    "name": "taylor(expr, x, id)",
                    "content": "Evaluate a Taylor series at x, given an expression representing the \"ld(id)\"-th\nderivative of a function at 0.\n\nWhen the series does not converge the result is undefined.\n\nld(id) is used to represent the derivative order in expr, which means that the given\nexpression will be evaluated multiple times with various input values that the expression\ncan access through \"ld(id)\". If id is not specified then 0 is assumed.\n\nNote, when you have the derivatives at y instead of 0, \"taylor(expr, x-y)\" can be used.\n"
                },
                {
                    "name": "time(0)",
                    "content": "Return the current (wallclock) time in seconds.\n"
                },
                {
                    "name": "trunc(expr)",
                    "content": "Round the value of expression expr towards zero to the nearest integer. For example,\n\"trunc(-1.5)\" is \"-1.0\".\n"
                },
                {
                    "name": "while(cond, expr)",
                    "content": "Evaluate expression expr while the expression cond is non-zero, and returns the value of\nthe last expr evaluation, or NAN if cond was always false.\n\nThe following constants are available:\n\nPI  area of the unit disc, approximately 3.14\n\nE   exp(1) (Euler's number), approximately 2.718\n\nPHI golden ratio (1+sqrt(5))/2, approximately 1.618\n\nAssuming that an expression is considered \"true\" if it has a non-zero value, note that:\n\n\"*\" works like AND\n\n\"+\" works like OR\n\nFor example the construct:\n\nif (A AND B) then C\n\nis equivalent to:\n\nif(A*B, C)\n\nIn your C code, you can extend the list of unary and binary functions, and define recognized\nconstants, so that they are available for your expressions.\n\nThe evaluator also recognizes the International System unit prefixes.  If 'i' is appended\nafter the prefix, binary prefixes are used, which are based on powers of 1024 instead of\npowers of 1000.  The 'B' postfix multiplies the value by 8, and can be appended after a unit\nprefix or used alone. This allows using for example 'KB', 'MiB', 'G' and 'B' as number\npostfix.\n\nThe list of available International System prefixes follows, with indication of the\ncorresponding powers of 10 and of 2.\n\ny   10^-24 / 2^-80\n\nz   10^-21 / 2^-70\n\na   10^-18 / 2^-60\n\nf   10^-15 / 2^-50\n\np   10^-12 / 2^-40\n\nn   10^-9 / 2^-30\n\nu   10^-6 / 2^-20\n\nm   10^-3 / 2^-10\n\nc   10^-2\n\nd   10^-1\n\nh   10^2\n\nk   10^3 / 2^10\n\nK   10^3 / 2^10\n\nM   10^6 / 2^20\n\nG   10^9 / 2^30\n\nT   10^12 / 2^40\n\nP   10^15 / 2^40\n\nE   10^18 / 2^50\n\nZ   10^21 / 2^60\n\nY   10^24 / 2^70\n"
                }
            ]
        },
        "CODEC OPTIONS": {
            "content": "libavcodec provides some generic global options, which can be set on all the encoders and\ndecoders. In addition each codec may support so-called private options, which are specific\nfor a given codec.\n\nSometimes, a global option may only affect a specific kind of codec, and may be nonsensical\nor ignored by another, so you need to be aware of the meaning of the specified options. Also\nsome options are meant only for decoding or encoding.\n\nOptions may be set by specifying -option value in the FFmpeg tools, or by setting the value\nexplicitly in the \"AVCodecContext\" options or using the libavutil/opt.h API for programmatic\nuse.\n\nThe list of supported options follow:\n\nb integer (encoding,audio,video)\nSet bitrate in bits/s. Default value is 200K.\n\nab integer (encoding,audio)\nSet audio bitrate (in bits/s). Default value is 128K.\n\nbt integer (encoding,video)\nSet video bitrate tolerance (in bits/s). In 1-pass mode, bitrate tolerance specifies how\nfar ratecontrol is willing to deviate from the target average bitrate value. This is not\nrelated to min/max bitrate. Lowering tolerance too much has an adverse effect on quality.\n\nflags flags (decoding/encoding,audio,video,subtitles)\nSet generic flags.\n\nPossible values:\n\nmv4 Use four motion vector by macroblock (mpeg4).\n\nqpel\nUse 1/4 pel motion compensation.\n\nloop\nUse loop filter.\n\nqscale\nUse fixed qscale.\n\npass1\nUse internal 2pass ratecontrol in first pass mode.\n\npass2\nUse internal 2pass ratecontrol in second pass mode.\n\ngray\nOnly decode/encode grayscale.\n\npsnr\nSet error[?] variables during encoding.\n\ntruncated\nInput bitstream might be randomly truncated.\n\ndropchanged\nDon't output frames whose parameters differ from first decoded frame in stream.\nError AVERRORINPUTCHANGED is returned when a frame is dropped.\n\nildct\nUse interlaced DCT.\n\nlowdelay\nForce low delay.\n\nglobalheader\nPlace global headers in extradata instead of every keyframe.\n\nbitexact\nOnly write platform-, build- and time-independent data. (except (I)DCT).  This\nensures that file and data checksums are reproducible and match between platforms.\nIts primary use is for regression testing.\n\naic Apply H263 advanced intra coding / mpeg4 ac prediction.\n\nilme\nApply interlaced motion estimation.\n\ncgop\nUse closed gop.\n\noutputcorrupt\nOutput even potentially corrupted frames.\n\ntimebase rational number\nSet codec time base.\n\nIt is the fundamental unit of time (in seconds) in terms of which frame timestamps are\nrepresented. For fixed-fps content, timebase should be \"1 / framerate\" and timestamp\nincrements should be identically 1.\n\ng integer (encoding,video)\nSet the group of picture (GOP) size. Default value is 12.\n\nar integer (decoding/encoding,audio)\nSet audio sampling rate (in Hz).\n\nac integer (decoding/encoding,audio)\nSet number of audio channels.\n\ncutoff integer (encoding,audio)\nSet cutoff bandwidth. (Supported only by selected encoders, see their respective\ndocumentation sections.)\n\nframesize integer (encoding,audio)\nSet audio frame size.\n\nEach submitted frame except the last must contain exactly framesize samples per channel.\nMay be 0 when the codec has CODECCAPVARIABLEFRAMESIZE set, in that case the frame\nsize is not restricted. It is set by some decoders to indicate constant frame size.\n\nframenumber integer\nSet the frame number.\n\ndelay integer\nqcomp float (encoding,video)\nSet video quantizer scale compression (VBR). It is used as a constant in the ratecontrol\nequation. Recommended range for default rceq: 0.0-1.0.\n\nqblur float (encoding,video)\nSet video quantizer scale blur (VBR).\n\nqmin integer (encoding,video)\nSet min video quantizer scale (VBR). Must be included between -1 and 69, default value is\n2.\n\nqmax integer (encoding,video)\nSet max video quantizer scale (VBR). Must be included between -1 and 1024, default value\nis 31.\n\nqdiff integer (encoding,video)\nSet max difference between the quantizer scale (VBR).\n\nbf integer (encoding,video)\nSet max number of B frames between non-B-frames.\n\nMust be an integer between -1 and 16. 0 means that B-frames are disabled. If a value of\n-1 is used, it will choose an automatic value depending on the encoder.\n\nDefault value is 0.\n\nbqfactor float (encoding,video)\nSet qp factor between P and B frames.\n\nbstrategy integer (encoding,video)\nSet strategy to choose between I/P/B-frames.\n\nps integer (encoding,video)\nSet RTP payload size in bytes.\n\nmvbits integer\nheaderbits integer\nitexbits integer\nptexbits integer\nicount integer\npcount integer\nskipcount integer\nmiscbits integer\nframebits integer\ncodectag integer\nbug flags (decoding,video)\nWorkaround not auto detected encoder bugs.\n\nPossible values:\n\nautodetect\nxvidilace\nXvid interlacing bug (autodetected if fourcc==XVIX)\n\nump4\n(autodetected if fourcc==UMP4)\n\nnopadding\npadding bug (autodetected)\n\namv\nqpelchroma\nstdqpel\nold standard qpel (autodetected per fourcc/version)\n\nqpelchroma2\ndirectblocksize\ndirect-qpel-blocksize bug (autodetected per fourcc/version)\n\nedge\nedge padding bug (autodetected per fourcc/version)\n\nhpelchroma\ndcclip\nms  Workaround various bugs in microsoft broken decoders.\n\ntrunc\ntrancated frames\n\nstrict integer (decoding/encoding,audio,video)\nSpecify how strictly to follow the standards.\n\nPossible values:\n\nvery\nstrictly conform to an older more strict version of the spec or reference software\n\nstrict\nstrictly conform to all the things in the spec no matter what consequences\n\nnormal\nunofficial\nallow unofficial extensions\n\nexperimental\nallow non standardized experimental things, experimental (unfinished/work in\nprogress/not well tested) decoders and encoders.  Note: experimental decoders can\npose a security risk, do not use this for decoding untrusted input.\n\nbqoffset float (encoding,video)\nSet QP offset between P and B frames.\n\nerrdetect flags (decoding,audio,video)\nSet error detection flags.\n\nPossible values:\n\ncrccheck\nverify embedded CRCs\n\nbitstream\ndetect bitstream specification deviations\n\nbuffer\ndetect improper bitstream length\n\nexplode\nabort decoding on minor error detection\n\nignoreerr\nignore decoding errors, and continue decoding.  This is useful if you want to analyze\nthe content of a video and thus want everything to be decoded no matter what. This\noption will not result in a video that is pleasing to watch in case of errors.\n\ncareful\nconsider things that violate the spec and have not been seen in the wild as errors\n\ncompliant\nconsider all spec non compliancies as errors\n\naggressive\nconsider things that a sane encoder should not do as an error\n\nhasbframes integer\nblockalign integer\nmpegquant integer (encoding,video)\nUse MPEG quantizers instead of H.263.\n\nrcoverridecount integer\nmaxrate integer (encoding,audio,video)\nSet max bitrate tolerance (in bits/s). Requires bufsize to be set.\n\nminrate integer (encoding,audio,video)\nSet min bitrate tolerance (in bits/s). Most useful in setting up a CBR encode. It is of\nlittle use elsewise.\n\nbufsize integer (encoding,audio,video)\nSet ratecontrol buffer size (in bits).\n\niqfactor float (encoding,video)\nSet QP factor between P and I frames.\n\niqoffset float (encoding,video)\nSet QP offset between P and I frames.\n\ndct integer (encoding,video)\nSet DCT algorithm.\n\nPossible values:\n\nauto\nautoselect a good one (default)\n\nfastint\nfast integer\n\nint accurate integer\n\nmmx\naltivec\nfaan\nfloating point AAN DCT\n\nlumimask float (encoding,video)\nCompress bright areas stronger than medium ones.\n\ntcplxmask float (encoding,video)\nSet temporal complexity masking.\n\nscplxmask float (encoding,video)\nSet spatial complexity masking.\n\npmask float (encoding,video)\nSet inter masking.\n\ndarkmask float (encoding,video)\nCompress dark areas stronger than medium ones.\n\nidct integer (decoding/encoding,video)\nSelect IDCT implementation.\n\nPossible values:\n\nauto\nint\nsimple\nsimplemmx\nsimpleauto\nAutomatically pick a IDCT compatible with the simple one\n\narm\naltivec\nsh4\nsimplearm\nsimplearmv5te\nsimplearmv6\nsimpleneon\nxvid\nfaani\nfloating point AAN IDCT\n\nslicecount integer\nec flags (decoding,video)\nSet error concealment strategy.\n\nPossible values:\n\nguessmvs\niterative motion vector (MV) search (slow)\n\ndeblock\nuse strong deblock filter for damaged MBs\n\nfavorinter\nfavor predicting from the previous frame instead of the current\n\nbitspercodedsample integer\npred integer (encoding,video)\nSet prediction method.\n\nPossible values:\n\nleft\nplane\nmedian\naspect rational number (encoding,video)\nSet sample aspect ratio.\n\nsar rational number (encoding,video)\nSet sample aspect ratio. Alias to aspect.\n\ndebug flags (decoding/encoding,audio,video,subtitles)\nPrint specific debug info.\n\nPossible values:\n\npict\npicture info\n\nrc  rate control\n\nbitstream\nmbtype\nmacroblock (MB) type\n\nqp  per-block quantization parameter (QP)\n\ndctcoeff\ngreenmetadata\ndisplay complexity metadata for the upcoming frame, GoP or for a given duration.\n\nskip\nstartcode\ner  error recognition\n\nmmco\nmemory management control operations (H.264)\n\nbugs\nbuffers\npicture buffer allocations\n\nthreadops\nthreading operations\n\nnomc\nskip motion compensation\n\ncmp integer (encoding,video)\nSet full pel me compare function.\n\nPossible values:\n\nsad sum of absolute differences, fast (default)\n\nsse sum of squared errors\n\nsatd\nsum of absolute Hadamard transformed differences\n\ndct sum of absolute DCT transformed differences\n\npsnr\nsum of squared quantization errors (avoid, low quality)\n\nbit number of bits needed for the block\n\nrd  rate distortion optimal, slow\n\nzero\n0\n\nvsad\nsum of absolute vertical differences\n\nvsse\nsum of squared vertical differences\n\nnsse\nnoise preserving sum of squared differences\n\nw53 5/3 wavelet, only used in snow\n\nw97 9/7 wavelet, only used in snow\n\ndctmax\nchroma\nsubcmp integer (encoding,video)\nSet sub pel me compare function.\n\nPossible values:\n\nsad sum of absolute differences, fast (default)\n\nsse sum of squared errors\n\nsatd\nsum of absolute Hadamard transformed differences\n\ndct sum of absolute DCT transformed differences\n\npsnr\nsum of squared quantization errors (avoid, low quality)\n\nbit number of bits needed for the block\n\nrd  rate distortion optimal, slow\n\nzero\n0\n\nvsad\nsum of absolute vertical differences\n\nvsse\nsum of squared vertical differences\n\nnsse\nnoise preserving sum of squared differences\n\nw53 5/3 wavelet, only used in snow\n\nw97 9/7 wavelet, only used in snow\n\ndctmax\nchroma\nmbcmp integer (encoding,video)\nSet macroblock compare function.\n\nPossible values:\n\nsad sum of absolute differences, fast (default)\n\nsse sum of squared errors\n\nsatd\nsum of absolute Hadamard transformed differences\n\ndct sum of absolute DCT transformed differences\n\npsnr\nsum of squared quantization errors (avoid, low quality)\n\nbit number of bits needed for the block\n\nrd  rate distortion optimal, slow\n\nzero\n0\n\nvsad\nsum of absolute vertical differences\n\nvsse\nsum of squared vertical differences\n\nnsse\nnoise preserving sum of squared differences\n\nw53 5/3 wavelet, only used in snow\n\nw97 9/7 wavelet, only used in snow\n\ndctmax\nchroma\nildctcmp integer (encoding,video)\nSet interlaced dct compare function.\n\nPossible values:\n\nsad sum of absolute differences, fast (default)\n\nsse sum of squared errors\n\nsatd\nsum of absolute Hadamard transformed differences\n\ndct sum of absolute DCT transformed differences\n\npsnr\nsum of squared quantization errors (avoid, low quality)\n\nbit number of bits needed for the block\n\nrd  rate distortion optimal, slow\n\nzero\n0\n\nvsad\nsum of absolute vertical differences\n\nvsse\nsum of squared vertical differences\n\nnsse\nnoise preserving sum of squared differences\n\nw53 5/3 wavelet, only used in snow\n\nw97 9/7 wavelet, only used in snow\n\ndctmax\nchroma\ndiasize integer (encoding,video)\nSet diamond type & size for motion estimation.\n\n(1024, INTMAX)\nfull motion estimation(slowest)\n\n(768, 1024]\numh motion estimation\n\n(512, 768]\nhex motion estimation\n\n(256, 512]\nl2s diamond motion estimation\n\n[2,256]\nvar diamond motion estimation\n\n(-1,  2)\nsmall diamond motion estimation\n\n-1  funny diamond motion estimation\n\n(INTMIN, -1)\nsab diamond motion estimation\n\nlastpred integer (encoding,video)\nSet amount of motion predictors from the previous frame.\n\npreme integer (encoding,video)\nSet pre motion estimation.\n\nprecmp integer (encoding,video)\nSet pre motion estimation compare function.\n\nPossible values:\n\nsad sum of absolute differences, fast (default)\n\nsse sum of squared errors\n\nsatd\nsum of absolute Hadamard transformed differences\n\ndct sum of absolute DCT transformed differences\n\npsnr\nsum of squared quantization errors (avoid, low quality)\n\nbit number of bits needed for the block\n\nrd  rate distortion optimal, slow\n\nzero\n0\n\nvsad\nsum of absolute vertical differences\n\nvsse\nsum of squared vertical differences\n\nnsse\nnoise preserving sum of squared differences\n\nw53 5/3 wavelet, only used in snow\n\nw97 9/7 wavelet, only used in snow\n\ndctmax\nchroma\nprediasize integer (encoding,video)\nSet diamond type & size for motion estimation pre-pass.\n\nsubq integer (encoding,video)\nSet sub pel motion estimation quality.\n\nmerange integer (encoding,video)\nSet limit motion vectors range (1023 for DivX player).\n\nglobalquality integer (encoding,audio,video)\ncoder integer (encoding,video)\nPossible values:\n\nvlc variable length coder / huffman coder\n\nac  arithmetic coder\n\nraw raw (no encoding)\n\nrle run-length coder\n\ncontext integer (encoding,video)\nSet context model.\n\nsliceflags integer\nmbd integer (encoding,video)\nSet macroblock decision algorithm (high quality mode).\n\nPossible values:\n\nsimple\nuse mbcmp (default)\n\nbits\nuse fewest bits\n\nrd  use best rate distortion\n\nscthreshold integer (encoding,video)\nSet scene change threshold.\n\nnr integer (encoding,video)\nSet noise reduction.\n\nrcinitoccupancy integer (encoding,video)\nSet number of bits which should be loaded into the rc buffer before decoding starts.\n\nflags2 flags (decoding/encoding,audio,video,subtitles)\nPossible values:\n\nfast\nAllow non spec compliant speedup tricks.\n\nnoout\nSkip bitstream encoding.\n\nignorecrop\nIgnore cropping information from sps.\n\nlocalheader\nPlace global headers at every keyframe instead of in extradata.\n\nchunks\nFrame data might be split into multiple chunks.\n\nshowall\nShow all frames before the first keyframe.\n\nexportmvs\nExport motion vectors into frame side-data (see \"AVFRAMEDATAMOTIONVECTORS\") for\ncodecs that support it. See also doc/examples/exportmvs.c.\n\nskipmanual\nDo not skip samples and export skip information as frame side data.\n\nassroflushnoop\nDo not reset ASS ReadOrder field on flush.\n\nexportsidedata flags (decoding/encoding,audio,video,subtitles)\nPossible values:\n\nmvs Export motion vectors into frame side-data (see \"AVFRAMEDATAMOTIONVECTORS\") for\ncodecs that support it. See also doc/examples/exportmvs.c.\n\nprft\nExport encoder Producer Reference Time into packet side-data (see \"AVPKTDATAPRFT\")\nfor codecs that support it.\n\nvencparams\nExport video encoding parameters through frame side data (see\n\"AVFRAMEDATAVIDEOENCPARAMS\") for codecs that support it. At present, those are\nH.264 and VP9.\n\nfilmgrain\nExport film grain parameters through frame side data (see\n\"AVFRAMEDATAFILMGRAINPARAMS\").  Supported at present by AV1 decoders.\n\nthreads integer (decoding/encoding,video)\nSet the number of threads to be used, in case the selected codec implementation supports\nmulti-threading.\n\nPossible values:\n\nauto, 0\nautomatically select the number of threads to set\n\nDefault value is auto.\n\ndc integer (encoding,video)\nSet intradcprecision.\n\nnssew integer (encoding,video)\nSet nsse weight.\n\nskiptop integer (decoding,video)\nSet number of macroblock rows at the top which are skipped.\n\nskipbottom integer (decoding,video)\nSet number of macroblock rows at the bottom which are skipped.\n\nprofile integer (encoding,audio,video)\nSet encoder codec profile. Default value is unknown. Encoder specific profiles are\ndocumented in the relevant encoder documentation.\n\nlevel integer (encoding,audio,video)\nPossible values:\n\nunknown\nlowres integer (decoding,audio,video)\nDecode at 1= 1/2, 2=1/4, 3=1/8 resolutions.\n\nskipthreshold integer (encoding,video)\nSet frame skip threshold.\n\nskipfactor integer (encoding,video)\nSet frame skip factor.\n\nskipexp integer (encoding,video)\nSet frame skip exponent.  Negative values behave identical to the corresponding positive\nones, except that the score is normalized.  Positive values exist primarily for\ncompatibility reasons and are not so useful.\n\nskipcmp integer (encoding,video)\nSet frame skip compare function.\n\nPossible values:\n\nsad sum of absolute differences, fast (default)\n\nsse sum of squared errors\n\nsatd\nsum of absolute Hadamard transformed differences\n\ndct sum of absolute DCT transformed differences\n\npsnr\nsum of squared quantization errors (avoid, low quality)\n\nbit number of bits needed for the block\n\nrd  rate distortion optimal, slow\n\nzero\n0\n\nvsad\nsum of absolute vertical differences\n\nvsse\nsum of squared vertical differences\n\nnsse\nnoise preserving sum of squared differences\n\nw53 5/3 wavelet, only used in snow\n\nw97 9/7 wavelet, only used in snow\n\ndctmax\nchroma\nmblmin integer (encoding,video)\nSet min macroblock lagrange factor (VBR).\n\nmblmax integer (encoding,video)\nSet max macroblock lagrange factor (VBR).\n\nmepc integer (encoding,video)\nSet motion estimation bitrate penalty compensation (1.0 = 256).\n\nskiploopfilter integer (decoding,video)\nskipidct        integer (decoding,video)\nskipframe       integer (decoding,video)\nMake decoder discard processing depending on the frame type selected by the option value.\n\nskiploopfilter skips frame loop filtering, skipidct skips frame IDCT/dequantization,\nskipframe skips decoding.\n\nPossible values:\n\nnone\nDiscard no frame.\n\ndefault\nDiscard useless frames like 0-sized frames.\n\nnoref\nDiscard all non-reference frames.\n\nbidir\nDiscard all bidirectional frames.\n\nnokey\nDiscard all frames excepts keyframes.\n\nnointra\nDiscard all frames except I frames.\n\nall Discard all frames.\n\nDefault value is default.\n\nbidirrefine integer (encoding,video)\nRefine the two motion vectors used in bidirectional macroblocks.\n\nbrdscale integer (encoding,video)\nDownscale frames for dynamic B-frame decision.\n\nkeyintmin integer (encoding,video)\nSet minimum interval between IDR-frames.\n\nrefs integer (encoding,video)\nSet reference frames to consider for motion compensation.\n\nchromaoffset integer (encoding,video)\nSet chroma qp offset from luma.\n\ntrellis integer (encoding,audio,video)\nSet rate-distortion optimal quantization.\n\nmv0threshold integer (encoding,video)\nbsensitivity integer (encoding,video)\nAdjust sensitivity of bframestrategy 1.\n\ncompressionlevel integer (encoding,audio,video)\nminpredictionorder integer (encoding,audio)\nmaxpredictionorder integer (encoding,audio)\ntimecodeframestart integer (encoding,video)\nSet GOP timecode frame start number, in non drop frame format.\n\nbitsperrawsample integer\nchannellayout integer (decoding/encoding,audio)\nPossible values:\n\nrequestchannellayout integer (decoding,audio)\nPossible values:\n\nrcmaxvbvuse float (encoding,video)\nrcminvbvuse float (encoding,video)\nticksperframe integer (decoding/encoding,audio,video)\ncolorprimaries integer (decoding/encoding,video)\nPossible values:\n\nbt709\nBT.709\n\nbt470m\nBT.470 M\n\nbt470bg\nBT.470 BG\n\nsmpte170m\nSMPTE 170 M\n\nsmpte240m\nSMPTE 240 M\n\nfilm\nFilm\n\nbt2020\nBT.2020\n\nsmpte428\nsmpte4281\nSMPTE ST 428-1\n\nsmpte431\nSMPTE 431-2\n\nsmpte432\nSMPTE 432-1\n\njedec-p22\nJEDEC P22\n\ncolortrc integer (decoding/encoding,video)\nPossible values:\n\nbt709\nBT.709\n\ngamma22\nBT.470 M\n\ngamma28\nBT.470 BG\n\nsmpte170m\nSMPTE 170 M\n\nsmpte240m\nSMPTE 240 M\n\nlinear\nLinear\n\nlog\nlog100\nLog\n\nlogsqrt\nlog316\nLog square root\n\niec6196624\niec61966-2-4\nIEC 61966-2-4\n\nbt1361\nbt1361e\nBT.1361\n\niec6196621\niec61966-2-1\nIEC 61966-2-1\n\nbt202010\nbt202010bit\nBT.2020 - 10 bit\n\nbt202012\nbt202012bit\nBT.2020 - 12 bit\n\nsmpte2084\nSMPTE ST 2084\n\nsmpte428\nsmpte4281\nSMPTE ST 428-1\n\narib-std-b67\nARIB STD-B67\n\ncolorspace integer (decoding/encoding,video)\nPossible values:\n\nrgb RGB\n\nbt709\nBT.709\n\nfcc FCC\n\nbt470bg\nBT.470 BG\n\nsmpte170m\nSMPTE 170 M\n\nsmpte240m\nSMPTE 240 M\n\nycocg\nYCOCG\n\nbt2020nc\nbt2020ncl\nBT.2020 NCL\n\nbt2020c\nbt2020cl\nBT.2020 CL\n\nsmpte2085\nSMPTE 2085\n\nchroma-derived-nc\nChroma-derived NCL\n\nchroma-derived-c\nChroma-derived CL\n\nictcp\nICtCp\n\ncolorrange integer (decoding/encoding,video)\nIf used as input parameter, it serves as a hint to the decoder, which colorrange the\ninput has.  Possible values:\n\ntv\nmpeg\nMPEG (219*2^(n-8))\n\npc\njpeg\nJPEG (2^n-1)\n\nchromasamplelocation integer (decoding/encoding,video)\nPossible values:\n\nleft\ncenter\ntopleft\ntop\nbottomleft\nbottom\nlogleveloffset integer\nSet the log level offset.\n\nslices integer (encoding,video)\nNumber of slices, used in parallelized encoding.\n\nthreadtype flags (decoding/encoding,video)\nSelect which multithreading methods to use.\n\nUse of frame will increase decoding delay by one frame per thread, so clients which\ncannot provide future frames should not use it.\n\nPossible values:\n\nslice\nDecode more than one part of a single frame at once.\n\nMultithreading using slices works only when the video was encoded with slices.\n\nframe\nDecode more than one frame at once.\n\nDefault value is slice+frame.\n\naudioservicetype integer (encoding,audio)\nSet audio service type.\n\nPossible values:\n\nma  Main Audio Service\n\nef  Effects\n\nvi  Visually Impaired\n\nhi  Hearing Impaired\n\ndi  Dialogue\n\nco  Commentary\n\nem  Emergency\n\nvo  Voice Over\n\nka  Karaoke\n\nrequestsamplefmt samplefmt (decoding,audio)\nSet sample format audio decoders should prefer. Default value is \"none\".\n\npkttimebase rational number\nsubcharenc encoding (decoding,subtitles)\nSet the input subtitles character encoding.\n\nfieldorder  fieldorder (video)\nSet/override the field order of the video.  Possible values:\n\nprogressive\nProgressive video\n\ntt  Interlaced video, top field coded and displayed first\n\nbb  Interlaced video, bottom field coded and displayed first\n\ntb  Interlaced video, top coded first, bottom displayed first\n\nbt  Interlaced video, bottom coded first, top displayed first\n\nskipalpha bool (decoding,video)\nSet to 1 to disable processing alpha (transparency). This works like the gray flag in the\nflags option which skips chroma information instead of alpha. Default is 0.\n\ncodecwhitelist list (input)\n\",\" separated list of allowed decoders. By default all are allowed.\n\ndumpseparator string (input)\nSeparator used to separate the fields printed on the command line about the Stream\nparameters.  For example, to separate the fields with newlines and indentation:\n\nffprobe -dumpseparator \"\n\"  -i ~/videos/matrixbenchmpeg2.mpg\n\nmaxpixels integer (decoding/encoding,video)\nMaximum number of pixels per image. This value can be used to avoid out of memory\nfailures due to large images.\n\napplycropping bool (decoding,video)\nEnable cropping if cropping parameters are multiples of the required alignment for the\nleft and top parameters. If the alignment is not met the cropping will be partially\napplied to maintain alignment.  Default is 1 (enabled).  Note: The required alignment\ndepends on if \"AVCODECFLAGUNALIGNED\" is set and the CPU. \"AVCODECFLAGUNALIGNED\"\ncannot be changed from the command line. Also hardware decoders will not apply left/top\nCropping.\n",
            "subsections": []
        },
        "DECODERS": {
            "content": "Decoders are configured elements in FFmpeg which allow the decoding of multimedia streams.\n\nWhen you configure your FFmpeg build, all the supported native decoders are enabled by\ndefault. Decoders requiring an external library must be enabled manually via the\ncorresponding \"--enable-lib\" option. You can list all available decoders using the configure\noption \"--list-decoders\".\n\nYou can disable all the decoders with the configure option \"--disable-decoders\" and\nselectively enable / disable single decoders with the options \"--enable-decoder=DECODER\" /\n\"--disable-decoder=DECODER\".\n\nThe option \"-decoders\" of the ff* tools will display the list of enabled decoders.\n",
            "subsections": []
        },
        "VIDEO DECODERS": {
            "content": "A description of some of the currently available video decoders follows.\n",
            "subsections": [
                {
                    "name": "av1",
                    "content": "AOMedia Video 1 (AV1) decoder.\n\nOptions\n\noperatingpoint\nSelect an operating point of a scalable AV1 bitstream (0 - 31). Default is 0.\n"
                },
                {
                    "name": "rawvideo",
                    "content": "Raw video decoder.\n\nThis decoder decodes rawvideo streams.\n\nOptions\n\ntop topfieldfirst\nSpecify the assumed field type of the input video.\n\n-1  the video is assumed to be progressive (default)\n\n0   bottom-field-first is assumed\n\n1   top-field-first is assumed\n"
                },
                {
                    "name": "libdav1d",
                    "content": "dav1d AV1 decoder.\n\nlibdav1d allows libavcodec to decode the AOMedia Video 1 (AV1) codec.  Requires the presence\nof the libdav1d headers and library during configuration.  You need to explicitly configure\nthe build with \"--enable-libdav1d\".\n\nOptions\n\nThe following options are supported by the libdav1d wrapper.\n"
                },
                {
                    "name": "framethreads",
                    "content": "Set amount of frame threads to use during decoding. The default value is 0 (autodetect).\n"
                },
                {
                    "name": "tilethreads",
                    "content": "Set amount of tile threads to use during decoding. The default value is 0 (autodetect).\n"
                },
                {
                    "name": "filmgrain",
                    "content": "Apply film grain to the decoded video if present in the bitstream. Defaults to the\ninternal default of the library.\n"
                },
                {
                    "name": "oppoint",
                    "content": "Select an operating point of a scalable AV1 bitstream (0 - 31). Defaults to the internal\ndefault of the library.\n"
                },
                {
                    "name": "alllayers",
                    "content": "Output all spatial layers of a scalable AV1 bitstream. The default value is false.\n"
                },
                {
                    "name": "libdavs2",
                    "content": "AVS2-P2/IEEE1857.4 video decoder wrapper.\n\nThis decoder allows libavcodec to decode AVS2 streams with davs2 library.\n"
                },
                {
                    "name": "libuavs3d",
                    "content": "AVS3-P2/IEEE1857.10 video decoder.\n\nlibuavs3d allows libavcodec to decode AVS3 streams.  Requires the presence of the libuavs3d\nheaders and library during configuration.  You need to explicitly configure the build with\n\"--enable-libuavs3d\".\n\nOptions\n\nThe following option is supported by the libuavs3d wrapper.\n\nframethreads\nSet amount of frame threads to use during decoding. The default value is 0 (autodetect).\n"
                }
            ]
        },
        "AUDIO DECODERS": {
            "content": "A description of some of the currently available audio decoders follows.\n",
            "subsections": [
                {
                    "name": "ac3",
                    "content": "AC-3 audio decoder.\n\nThis decoder implements part of ATSC A/52:2010 and ETSI TS 102 366, as well as the\nundocumented RealAudio 3 (a.k.a. dnet).\n\nAC-3 Decoder Options\n"
                },
                {
                    "name": "-drc",
                    "content": "Dynamic Range Scale Factor. The factor to apply to dynamic range values from the AC-3\nstream. This factor is applied exponentially. The default value is 1.  There are 3\nnotable scale factor ranges:\n\ndrcscale == 0\nDRC disabled. Produces full range audio.\n\n0 < drcscale <= 1\nDRC enabled.  Applies a fraction of the stream DRC value.  Audio reproduction is\nbetween full range and full compression.\n\ndrcscale > 1\nDRC enabled. Applies drcscale asymmetrically.  Loud sounds are fully compressed.\nSoft sounds are enhanced.\n"
                },
                {
                    "name": "flac",
                    "content": "FLAC audio decoder.\n\nThis decoder aims to implement the complete FLAC specification from Xiph.\n\nFLAC Decoder options\n"
                },
                {
                    "name": "-use",
                    "content": "The lavc FLAC encoder used to produce buggy streams with high lpc values (like the\ndefault value). This option makes it possible to decode such streams correctly by using\nlavc's old buggy lpc logic for decoding.\n"
                },
                {
                    "name": "ffwavesynth",
                    "content": "Internal wave synthesizer.\n\nThis decoder generates wave patterns according to predefined sequences. Its use is purely\ninternal and the format of the data it accepts is not publicly documented.\n"
                },
                {
                    "name": "libcelt",
                    "content": "libcelt decoder wrapper.\n\nlibcelt allows libavcodec to decode the Xiph CELT ultra-low delay audio codec.  Requires the\npresence of the libcelt headers and library during configuration.  You need to explicitly\nconfigure the build with \"--enable-libcelt\".\n"
                },
                {
                    "name": "libgsm",
                    "content": "libgsm decoder wrapper.\n\nlibgsm allows libavcodec to decode the GSM full rate audio codec. Requires the presence of\nthe libgsm headers and library during configuration. You need to explicitly configure the\nbuild with \"--enable-libgsm\".\n\nThis decoder supports both the ordinary GSM and the Microsoft variant.\n"
                },
                {
                    "name": "libilbc",
                    "content": "libilbc decoder wrapper.\n\nlibilbc allows libavcodec to decode the Internet Low Bitrate Codec (iLBC) audio codec.\nRequires the presence of the libilbc headers and library during configuration. You need to\nexplicitly configure the build with \"--enable-libilbc\".\n\nOptions\n\nThe following option is supported by the libilbc wrapper.\n"
                },
                {
                    "name": "enhance",
                    "content": "Enable the enhancement of the decoded audio when set to 1. The default value is 0\n(disabled).\n"
                },
                {
                    "name": "libopencore-amrnb",
                    "content": "libopencore-amrnb decoder wrapper.\n\nlibopencore-amrnb allows libavcodec to decode the Adaptive Multi-Rate Narrowband audio codec.\nUsing it requires the presence of the libopencore-amrnb headers and library during\nconfiguration. You need to explicitly configure the build with \"--enable-libopencore-amrnb\".\n\nAn FFmpeg native decoder for AMR-NB exists, so users can decode AMR-NB without this library.\n"
                },
                {
                    "name": "libopencore-amrwb",
                    "content": "libopencore-amrwb decoder wrapper.\n\nlibopencore-amrwb allows libavcodec to decode the Adaptive Multi-Rate Wideband audio codec.\nUsing it requires the presence of the libopencore-amrwb headers and library during\nconfiguration. You need to explicitly configure the build with \"--enable-libopencore-amrwb\".\n\nAn FFmpeg native decoder for AMR-WB exists, so users can decode AMR-WB without this library.\n"
                },
                {
                    "name": "libopus",
                    "content": "libopus decoder wrapper.\n\nlibopus allows libavcodec to decode the Opus Interactive Audio Codec.  Requires the presence\nof the libopus headers and library during configuration. You need to explicitly configure the\nbuild with \"--enable-libopus\".\n\nAn FFmpeg native decoder for Opus exists, so users can decode Opus without this library.\n"
                }
            ]
        },
        "SUBTITLES DECODERS": {
            "content": "",
            "subsections": [
                {
                    "name": "libaribb24",
                    "content": "ARIB STD-B24 caption decoder.\n\nImplements profiles A and C of the ARIB STD-B24 standard.\n\nlibaribb24 Decoder Options\n"
                },
                {
                    "name": "-aribb24-base-path",
                    "content": "Sets the base path for the libaribb24 library. This is utilized for reading of\nconfiguration files (for custom unicode conversions), and for dumping of non-text symbols\nas images under that location.\n\nUnset by default.\n"
                },
                {
                    "name": "-aribb24-skip-ruby-text",
                    "content": "Tells the decoder wrapper to skip text blocks that contain half-height ruby text.\n\nEnabled by default.\n"
                },
                {
                    "name": "dvbsub",
                    "content": "Options\n\ncomputeclut\n-1  Compute clut if no matching CLUT is in the stream.\n\n0   Never compute CLUT\n\n1   Always compute CLUT and override the one provided in the stream.\n\ndvbsubstream\nSelects the dvb substream, or all substreams if -1 which is default.\n"
                },
                {
                    "name": "dvdsub",
                    "content": "This codec decodes the bitmap subtitles used in DVDs; the same subtitles can also be found in\nVobSub file pairs and in some Matroska files.\n\nOptions\n"
                },
                {
                    "name": "palette",
                    "content": "Specify the global palette used by the bitmaps. When stored in VobSub, the palette is\nnormally specified in the index file; in Matroska, the palette is stored in the codec\nextra-data in the same format as in VobSub. In DVDs, the palette is stored in the IFO\nfile, and therefore not available when reading from dumped VOB files.\n\nThe format for this option is a string containing 16 24-bits hexadecimal numbers (without\n0x prefix) separated by commas, for example \"0d00ee, ee450d, 101010, eaeaea, 0ce60b,\nec14ed, ebff0b, 0d617a, 7b7b7b, d1d1d1, 7b2a0e, 0d950c, 0f007b, cf0dec, cfa80c, 7c127b\".\n\nifopalette\nSpecify the IFO file from which the global palette is obtained.  (experimental)\n\nforcedsubsonly\nOnly decode subtitle entries marked as forced. Some titles have forced and non-forced\nsubtitles in the same track. Setting this flag to 1 will only keep the forced subtitles.\nDefault value is 0.\n"
                },
                {
                    "name": "libzvbi-teletext",
                    "content": "Libzvbi allows libavcodec to decode DVB teletext pages and DVB teletext subtitles. Requires\nthe presence of the libzvbi headers and library during configuration. You need to explicitly\nconfigure the build with \"--enable-libzvbi\".\n\nOptions\n\ntxtpage\nList of teletext page numbers to decode. Pages that do not match the specified list are\ndropped. You may use the special \"*\" string to match all pages, or \"subtitle\" to match\nall subtitle pages.  Default value is *.\n\ntxtdefaultregion\nSet default character set used for decoding, a value between 0 and 87 (see ETS 300 706,\nSection 15, Table 32). Default value is -1, which does not override the libzvbi default.\nThis option is needed for some legacy level 1.0 transmissions which cannot signal the\nproper charset.\n\ntxtchoptop\nDiscards the top teletext line. Default value is 1.\n\ntxtformat\nSpecifies the format of the decoded subtitles.\n\nbitmap\nThe default format, you should use this for teletext pages, because certain graphics\nand colors cannot be expressed in simple text or even ASS.\n\ntext\nSimple text based output without formatting.\n\nass Formatted ASS output, subtitle pages and teletext pages are returned in different\nstyles, subtitle pages are stripped down to text, but an effort is made to keep the\ntext alignment and the formatting.\n\ntxtleft\nX offset of generated bitmaps, default is 0.\n\ntxttop\nY offset of generated bitmaps, default is 0.\n\ntxtchopspaces\nChops leading and trailing spaces and removes empty lines from the generated text. This\noption is useful for teletext based subtitles where empty spaces may be present at the\nstart or at the end of the lines or empty lines may be present between the subtitle lines\nbecause of double-sized teletext characters.  Default value is 1.\n\ntxtduration\nSets the display duration of the decoded teletext pages or subtitles in milliseconds.\nDefault value is -1 which means infinity or until the next subtitle event comes.\n\ntxttransparent\nForce transparent background of the generated teletext bitmaps. Default value is 0 which\nmeans an opaque background.\n\ntxtopacity\nSets the opacity (0-255) of the teletext background. If txttransparent is not set, it\nonly affects characters between a start box and an end box, typically subtitles. Default\nvalue is 0 if txttransparent is set, 255 otherwise.\n"
                }
            ]
        },
        "BITSTREAM FILTERS": {
            "content": "When you configure your FFmpeg build, all the supported bitstream filters are enabled by\ndefault. You can list all available ones using the configure option \"--list-bsfs\".\n\nYou can disable all the bitstream filters using the configure option \"--disable-bsfs\", and\nselectively enable any bitstream filter using the option \"--enable-bsf=BSF\", or you can\ndisable a particular bitstream filter using the option \"--disable-bsf=BSF\".\n\nThe option \"-bsfs\" of the ff* tools will display the list of all the supported bitstream\nfilters included in your build.\n\nThe ff* tools have a -bsf option applied per stream, taking a comma-separated list of\nfilters, whose parameters follow the filter name after a '='.\n\nffmpeg -i INPUT -c:v copy -bsf:v filter1[=opt1=str1:opt2=str2][,filter2] OUTPUT\n\nBelow is a description of the currently available bitstream filters, with their parameters,\nif any.\n\naacadtstoasc\nConvert MPEG-2/4 AAC ADTS to an MPEG-4 Audio Specific Configuration bitstream.\n\nThis filter creates an MPEG-4 AudioSpecificConfig from an MPEG-2/4 ADTS header and removes\nthe ADTS header.\n\nThis filter is required for example when copying an AAC stream from a raw ADTS AAC or an\nMPEG-TS container to MP4A-LATM, to an FLV file, or to MOV/MP4 files and related formats such\nas 3GP or M4A. Please note that it is auto-inserted for MP4A-LATM and MOV/MP4 and related\nformats.\n\nav1metadata\nModify metadata embedded in an AV1 stream.\n\ntd  Insert or remove temporal delimiter OBUs in all temporal units of the stream.\n\ninsert\nInsert a TD at the beginning of every TU which does not already have one.\n\nremove\nRemove the TD from the beginning of every TU which has one.\n\ncolorprimaries\ntransfercharacteristics\nmatrixcoefficients\nSet the color description fields in the stream (see AV1 section 6.4.2).\n\ncolorrange\nSet the color range in the stream (see AV1 section 6.4.2; note that this cannot be set\nfor streams using BT.709 primaries, sRGB transfer characteristic and identity (RGB)\nmatrix coefficients).\n\ntv  Limited range.\n\npc  Full range.\n\nchromasampleposition\nSet the chroma sample location in the stream (see AV1 section 6.4.2).  This can only be\nset for 4:2:0 streams.\n\nvertical\nLeft position (matching the default in MPEG-2 and H.264).\n\ncolocated\nTop-left position.\n\ntickrate\nSet the tick rate (numunitsindisplaytick / timescale) in the timing info in the\nsequence header.\n\nnumticksperpicture\nSet the number of ticks in each picture, to indicate that the stream has a fixed\nframerate.  Ignored if tickrate is not also set.\n\ndeletepadding\nDeletes Padding OBUs.\n",
            "subsections": [
                {
                    "name": "chomp",
                    "content": "Remove zero padding at the end of a packet.\n\ndcacore\nExtract the core from a DCA/DTS stream, dropping extensions such as DTS-HD.\n\ndumpextra\nAdd extradata to the beginning of the filtered packets except when said packets already\nexactly begin with the extradata that is intended to be added.\n"
                },
                {
                    "name": "freq",
                    "content": "The additional argument specifies which packets should be filtered.  It accepts the\nvalues:\n\nk\nkeyframe\nadd extradata to all key packets\n\ne\nall add extradata to all packets\n\nIf not specified it is assumed k.\n\nFor example the following ffmpeg command forces a global header (thus disabling individual\npacket headers) in the H.264 packets generated by the \"libx264\" encoder, but corrects them by\nadding the header stored in extradata to the key packets:\n\nffmpeg -i INPUT -map 0 -flags:v +globalheader -c:v libx264 -bsf:v dumpextra out.ts\n\neac3core\nExtract the core from a E-AC-3 stream, dropping extra channels.\n\nextractextradata\nExtract the in-band extradata.\n\nCertain codecs allow the long-term headers (e.g. MPEG-2 sequence headers, or H.264/HEVC\n(VPS/)SPS/PPS) to be transmitted either \"in-band\" (i.e. as a part of the bitstream containing\nthe coded frames) or \"out of band\" (e.g. on the container level). This latter form is called\n\"extradata\" in FFmpeg terminology.\n\nThis bitstream filter detects the in-band headers and makes them available as extradata.\n"
                },
                {
                    "name": "remove",
                    "content": "When this option is enabled, the long-term headers are removed from the bitstream after\nextraction.\n\nfilterunits\nRemove units with types in or not in a given set from the stream.\n\npasstypes\nList of unit types or ranges of unit types to pass through while removing all others.\nThis is specified as a '|'-separated list of unit type values or ranges of values with\n'-'.\n\nremovetypes\nIdentical to passtypes, except the units in the given set removed and all others passed\nthrough.\n\nExtradata is unchanged by this transformation, but note that if the stream contains inline\nparameter sets then the output may be unusable if they are removed.\n\nFor example, to remove all non-VCL NAL units from an H.264 stream:\n\nffmpeg -i INPUT -c:v copy -bsf:v 'filterunits=passtypes=1-5' OUTPUT\n\nTo remove all AUDs, SEI and filler from an H.265 stream:\n\nffmpeg -i INPUT -c:v copy -bsf:v 'filterunits=removetypes=35|38-40' OUTPUT\n\nhapqaextract\nExtract Rgb or Alpha part of an HAPQA file, without recompression, in order to create an HAPQ\nor an HAPAlphaOnly file.\n"
                },
                {
                    "name": "texture",
                    "content": "Specifies the texture to keep.\n\ncolor\nalpha\n\nConvert HAPQA to HAPQ\n\nffmpeg -i hapqainputfile.mov -c copy -bsf:v hapqaextract=texture=color -tag:v HapY -metadata:s:v:0 encoder=\"HAPQ\" hapqfile.mov\n\nConvert HAPQA to HAPAlphaOnly\n\nffmpeg -i hapqainputfile.mov -c copy -bsf:v hapqaextract=texture=alpha -tag:v HapA -metadata:s:v:0 encoder=\"HAPAlpha Only\" hapalphaonlyfile.mov\n\nh264metadata\nModify metadata embedded in an H.264 stream.\n\naud Insert or remove AUD NAL units in all access units of the stream.\n\ninsert\nremove\nsampleaspectratio\nSet the sample aspect ratio of the stream in the VUI parameters.\n\noverscanappropriateflag\nSet whether the stream is suitable for display using overscan or not (see H.264 section\nE.2.1).\n\nvideoformat\nvideofullrangeflag\nSet the video format in the stream (see H.264 section E.2.1 and table E-2).\n\ncolourprimaries\ntransfercharacteristics\nmatrixcoefficients\nSet the colour description in the stream (see H.264 section E.2.1 and tables E-3, E-4 and\nE-5).\n\nchromasampleloctype\nSet the chroma sample location in the stream (see H.264 section E.2.1 and figure E-1).\n\ntickrate\nSet the tick rate (numunitsintick / timescale) in the VUI parameters.  This is the\nsmallest time unit representable in the stream, and in many cases represents the field\nrate of the stream (double the frame rate).\n\nfixedframerateflag\nSet whether the stream has fixed framerate - typically this indicates that the framerate\nis exactly half the tick rate, but the exact meaning is dependent on interlacing and the\npicture structure (see H.264 section E.2.1 and table E-6).\n\ncropleft\ncropright\ncroptop\ncropbottom\nSet the frame cropping offsets in the SPS.  These values will replace the current ones if\nthe stream is already cropped.\n\nThese fields are set in pixels.  Note that some sizes may not be representable if the\nchroma is subsampled or the stream is interlaced (see H.264 section 7.4.2.1.1).\n\nseiuserdata\nInsert a string as SEI unregistered user data.  The argument must be of the form\nUUID+string, where the UUID is as hex digits possibly separated by hyphens, and the\nstring can be anything.\n\nFor example, 086f3693-b7b3-4f2c-9653-21492feee5b8+hello will insert the string ``hello''\nassociated with the given UUID.\n\ndeletefiller\nDeletes both filler NAL units and filler SEI messages.\n"
                },
                {
                    "name": "level",
                    "content": "Set the level in the SPS.  Refer to H.264 section A.3 and tables A-1 to A-5.\n\nThe argument must be the name of a level (for example, 4.2), a levelidc value (for\nexample, 42), or the special name auto indicating that the filter should attempt to guess\nthe level from the input stream properties.\n\nh264mp4toannexb\nConvert an H.264 bitstream from length prefixed mode to start code prefixed mode (as defined\nin the Annex B of the ITU-T H.264 specification).\n\nThis is required by some streaming formats, typically the MPEG-2 transport stream format\n(muxer \"mpegts\").\n\nFor example to remux an MP4 file containing an H.264 stream to mpegts format with ffmpeg, you\ncan use the command:\n\nffmpeg -i INPUT.mp4 -codec copy -bsf:v h264mp4toannexb OUTPUT.ts\n\nPlease note that this filter is auto-inserted for MPEG-TS (muxer \"mpegts\") and raw H.264\n(muxer \"h264\") output formats.\n\nh264redundantpps\nThis applies a specific fixup to some Blu-ray streams which contain redundant PPSs modifying\nirrelevant parameters of the stream which confuse other transformations which require correct\nextradata.\n\nA new single global PPS is created, and all of the redundant PPSs within the stream are\nremoved.\n\nhevcmetadata\nModify metadata embedded in an HEVC stream.\n\naud Insert or remove AUD NAL units in all access units of the stream.\n\ninsert\nremove\nsampleaspectratio\nSet the sample aspect ratio in the stream in the VUI parameters.\n\nvideoformat\nvideofullrangeflag\nSet the video format in the stream (see H.265 section E.3.1 and table E.2).\n\ncolourprimaries\ntransfercharacteristics\nmatrixcoefficients\nSet the colour description in the stream (see H.265 section E.3.1 and tables E.3, E.4 and\nE.5).\n\nchromasampleloctype\nSet the chroma sample location in the stream (see H.265 section E.3.1 and figure E.1).\n\ntickrate\nSet the tick rate in the VPS and VUI parameters (numunitsintick / timescale).\nCombined with numtickspocdiffone, this can set a constant framerate in the stream.\nNote that it is likely to be overridden by container parameters when the stream is in a\ncontainer.\n\nnumtickspocdiffone\nSet pocproportionaltotimingflag in VPS and VUI and use this value to set\nnumtickspocdiffoneminus1 (see H.265 sections 7.4.3.1 and E.3.1).  Ignored if\ntickrate is not also set.\n\ncropleft\ncropright\ncroptop\ncropbottom\nSet the conformance window cropping offsets in the SPS.  These values will replace the\ncurrent ones if the stream is already cropped.\n\nThese fields are set in pixels.  Note that some sizes may not be representable if the\nchroma is subsampled (H.265 section 7.4.3.2.1).\n"
                },
                {
                    "name": "level",
                    "content": "Set the level in the VPS and SPS.  See H.265 section A.4 and tables A.6 and A.7.\n\nThe argument must be the name of a level (for example, 5.1), a generallevelidc value\n(for example, 153 for level 5.1), or the special name auto indicating that the filter\nshould attempt to guess the level from the input stream properties.\n\nhevcmp4toannexb\nConvert an HEVC/H.265 bitstream from length prefixed mode to start code prefixed mode (as\ndefined in the Annex B of the ITU-T H.265 specification).\n\nThis is required by some streaming formats, typically the MPEG-2 transport stream format\n(muxer \"mpegts\").\n\nFor example to remux an MP4 file containing an HEVC stream to mpegts format with ffmpeg, you\ncan use the command:\n\nffmpeg -i INPUT.mp4 -codec copy -bsf:v hevcmp4toannexb OUTPUT.ts\n\nPlease note that this filter is auto-inserted for MPEG-TS (muxer \"mpegts\") and raw HEVC/H.265\n(muxer \"h265\" or \"hevc\") output formats.\n"
                },
                {
                    "name": "imxdump",
                    "content": "Modifies the bitstream to fit in MOV and to be usable by the Final Cut Pro decoder. This\nfilter only applies to the mpeg2video codec, and is likely not needed for Final Cut Pro 7 and\nnewer with the appropriate -tag:v.\n\nFor example, to remux 30 MB/sec NTSC IMX to MOV:\n\nffmpeg -i input.mxf -c copy -bsf:v imxdump -tag:v mx3n output.mov\n"
                },
                {
                    "name": "mjpeg2jpeg",
                    "content": "Convert MJPEG/AVI1 packets to full JPEG/JFIF packets.\n\nMJPEG is a video codec wherein each video frame is essentially a JPEG image. The individual\nframes can be extracted without loss, e.g. by\n\nffmpeg -i ../somemjpeg.avi -c:v copy frames%d.jpg\n\nUnfortunately, these chunks are incomplete JPEG images, because they lack the DHT segment\nrequired for decoding. Quoting from\n<http://www.digitalpreservation.gov/formats/fdd/fdd000063.shtml>:\n\nAvery Lee, writing in the rec.video.desktop newsgroup in 2001, commented that \"MJPEG, or at\nleast the MJPEG in AVIs having the MJPG fourcc, is restricted JPEG with a fixed -- and\n*omitted* -- Huffman table. The JPEG must be YCbCr colorspace, it must be 4:2:2, and it must\nuse basic Huffman encoding, not arithmetic or progressive. . . . You can indeed extract the\nMJPEG frames and decode them with a regular JPEG decoder, but you have to prepend the DHT\nsegment to them, or else the decoder won't have any idea how to decompress the data. The\nexact table necessary is given in the OpenDML spec.\"\n\nThis bitstream filter patches the header of frames extracted from an MJPEG stream (carrying\nthe AVI1 header ID and lacking a DHT segment) to produce fully qualified JPEG images.\n\nffmpeg -i mjpeg-movie.avi -c:v copy -bsf:v mjpeg2jpeg frame%d.jpg\nexiftran -i -9 frame*.jpg\nffmpeg -i frame%d.jpg -c:v copy rotated.avi\n"
                },
                {
                    "name": "mjpegadump",
                    "content": "Add an MJPEG A header to the bitstream, to enable decoding by Quicktime.\n"
                },
                {
                    "name": "mov2textsub",
                    "content": "Extract a representable text file from MOV subtitles, stripping the metadata header from each\nsubtitle packet.\n\nSee also the text2movsub filter.\n"
                },
                {
                    "name": "mp3decomp",
                    "content": "Decompress non-standard compressed MP3 audio headers.\n\nmpeg2metadata\nModify metadata embedded in an MPEG-2 stream.\n\ndisplayaspectratio\nSet the display aspect ratio in the stream.\n\nThe following fixed values are supported:\n\n4/3\n16/9\n221/100\n\nAny other value will result in square pixels being signalled instead (see H.262 section\n6.3.3 and table 6-3).\n\nframerate\nSet the frame rate in the stream.  This is constructed from a table of known values\ncombined with a small multiplier and divisor - if the supplied value is not exactly\nrepresentable, the nearest representable value will be used instead (see H.262 section\n6.3.3 and table 6-4).\n\nvideoformat\nSet the video format in the stream (see H.262 section 6.3.6 and table 6-6).\n\ncolourprimaries\ntransfercharacteristics\nmatrixcoefficients\nSet the colour description in the stream (see H.262 section 6.3.6 and tables 6-7, 6-8 and\n6-9).\n\nmpeg4unpackbframes\nUnpack DivX-style packed B-frames.\n\nDivX-style packed B-frames are not valid MPEG-4 and were only a workaround for the broken\nVideo for Windows subsystem.  They use more space, can cause minor AV sync issues, require\nmore CPU power to decode (unless the player has some decoded picture queue to compensate the\n2,0,2,0 frame per packet style) and cause trouble if copied into a standard container like\nmp4 or mpeg-ps/ts, because MPEG-4 decoders may not be able to decode them, since they are not\nvalid MPEG-4.\n\nFor example to fix an AVI file containing an MPEG-4 stream with DivX-style packed B-frames\nusing ffmpeg, you can use the command:\n\nffmpeg -i INPUT.avi -codec copy -bsf:v mpeg4unpackbframes OUTPUT.avi\n"
                },
                {
                    "name": "noise",
                    "content": "Damages the contents of packets or simply drops them without damaging the container. Can be\nused for fuzzing or testing error resilience/concealment.\n\nParameters:\n"
                },
                {
                    "name": "amount",
                    "content": "A numeral string, whose value is related to how often output bytes will be modified.\nTherefore, values below or equal to 0 are forbidden, and the lower the more frequent\nbytes will be modified, with 1 meaning every byte is modified.\n"
                },
                {
                    "name": "dropamount",
                    "content": "A numeral string, whose value is related to how often packets will be dropped.\nTherefore, values below or equal to 0 are forbidden, and the lower the more frequent\npackets will be dropped, with 1 meaning every packet is dropped.\n\nThe following example applies the modification to every byte but does not drop any packets.\n\nffmpeg -i INPUT -c copy -bsf noise[=1] output.mkv\n"
                },
                {
                    "name": "null",
                    "content": "This bitstream filter passes the packets through unchanged.\n\npcmrechunk\nRepacketize PCM audio to a fixed number of samples per packet or a fixed packet rate per\nsecond. This is similar to the asetnsamples audio filter but works on audio packets instead\nof audio frames.\n\nnboutsamples, n\nSet the number of samples per each output audio packet. The number is intended as the\nnumber of samples per each channel. Default value is 1024.\n"
                },
                {
                    "name": "pad, p",
                    "content": "If set to 1, the filter will pad the last audio packet with silence, so that it will\ncontain the same number of samples (or roughly the same number of samples, see\nframerate) as the previous ones. Default value is 1.\n\nframerate, r\nThis option makes the filter output a fixed number of packets per second instead of a\nfixed number of samples per packet. If the audio sample rate is not divisible by the\nframe rate then the number of samples will not be constant but will vary slightly so that\neach packet will start as close to the frame boundary as possible. Using this option has\nprecedence over nboutsamples.\n\nYou can generate the well known 1602-1601-1602-1601-1602 pattern of 48kHz audio for NTSC\nframe rate using the framerate option.\n\nffmpeg -f lavfi -i sine=r=48000:d=1 -c pcms16le -bsf pcmrechunk=r=30000/1001 -f framecrc -\n\nproresmetadata\nModify color property metadata embedded in prores stream.\n\ncolorprimaries\nSet the color primaries.  Available values are:\n\nauto\nKeep the same color primaries property (default).\n\nunknown\nbt709\nbt470bg\nBT601 625\n\nsmpte170m\nBT601 525\n\nbt2020\nsmpte431\nDCI P3\n\nsmpte432\nP3 D65\n\ntransfercharacteristics\nSet the color transfer.  Available values are:\n\nauto\nKeep the same transfer characteristics property (default).\n\nunknown\nbt709\nBT 601, BT 709, BT 2020\n\nsmpte2084\nSMPTE ST 2084\n\narib-std-b67\nARIB STD-B67\n\nmatrixcoefficients\nSet the matrix coefficient.  Available values are:\n\nauto\nKeep the same colorspace property (default).\n\nunknown\nbt709\nsmpte170m\nBT 601\n\nbt2020nc\n\nSet Rec709 colorspace for each frame of the file\n\nffmpeg -i INPUT -c copy -bsf:v proresmetadata=colorprimaries=bt709:colortrc=bt709:colorspace=bt709 output.mov\n\nSet Hybrid Log-Gamma parameters for each frame of the file\n\nffmpeg -i INPUT -c copy -bsf:v proresmetadata=colorprimaries=bt2020:colortrc=arib-std-b67:colorspace=bt2020nc output.mov\n\nremoveextra\nRemove extradata from packets.\n\nIt accepts the following parameter:\n"
                },
                {
                    "name": "freq",
                    "content": "Set which frame types to remove extradata from.\n\nk   Remove extradata from non-keyframes only.\n\nkeyframe\nRemove extradata from keyframes only.\n\ne, all\nRemove extradata from all frames.\n"
                },
                {
                    "name": "setts",
                    "content": "Set PTS and DTS in packets.\n\nIt accepts the following parameters:\n\nts"
                },
                {
                    "name": "pts",
                    "content": "dts Set expressions for PTS, DTS or both.\n\nThe expressions are evaluated through the eval API and can contain the following constants:\n\nN   The count of the input packet. Starting from 0.\n\nTS  The demux timestamp in input in case of \"ts\" or \"dts\" option or presentation timestamp in\ncase of \"pts\" option.\n\nPOS The original position in the file of the packet, or undefined if undefined for the\ncurrent packet\n\nDTS The demux timestamp in input.\n\nPTS The presentation timestamp in input.\n\nSTARTDTS\nThe DTS of the first packet.\n\nSTARTPTS\nThe PTS of the first packet.\n\nPREVINDTS\nThe previous input DTS.\n\nPREVINPTS\nThe previous input PTS.\n\nPREVOUTDTS\nThe previous output DTS.\n\nPREVOUTPTS\nThe previous output PTS.\n\nTB  The timebase of stream packet belongs.\n\nSR  The sample rate of stream packet belongs.\n"
                },
                {
                    "name": "text2movsub",
                    "content": "Convert text subtitles to MOV subtitles (as used by the \"movtext\" codec) with metadata\nheaders.\n\nSee also the mov2textsub filter.\n\ntraceheaders\nLog trace output containing all syntax elements in the coded stream headers (everything above\nthe level of individual coded blocks).  This can be useful for debugging low-level stream\nissues.\n\nSupports AV1, H.264, H.265, (M)JPEG, MPEG-2 and VP9, but depending on the build only a subset\nof these may be available.\n\ntruehdcore\nExtract the core from a TrueHD stream, dropping ATMOS data.\n\nvp9metadata\nModify metadata embedded in a VP9 stream.\n\ncolorspace\nSet the color space value in the frame header.  Note that any frame set to RGB will be\nimplicitly set to PC range and that RGB is incompatible with profiles 0 and 2.\n\nunknown\nbt601\nbt709\nsmpte170\nsmpte240\nbt2020\nrgb\ncolorrange\nSet the color range value in the frame header.  Note that any value imposed by the color\nspace will take precedence over this value.\n\ntv\npc\n\nvp9superframe\nMerge VP9 invisible (alt-ref) frames back into VP9 superframes. This fixes merging of\nsplit/segmented VP9 streams where the alt-ref frame was split from its visible counterpart.\n\nvp9superframesplit\nSplit VP9 superframes into single frames.\n\nvp9rawreorder\nGiven a VP9 stream with correct timestamps but possibly out of order, insert additional show-\nexisting-frame packets to correct the ordering.\n"
                }
            ]
        },
        "FORMAT OPTIONS": {
            "content": "The libavformat library provides some generic global options, which can be set on all the\nmuxers and demuxers. In addition each muxer or demuxer may support so-called private options,\nwhich are specific for that component.\n\nOptions may be set by specifying -option value in the FFmpeg tools, or by setting the value\nexplicitly in the \"AVFormatContext\" options or using the libavutil/opt.h API for programmatic\nuse.\n\nThe list of supported options follows:\n\navioflags flags (input/output)\nPossible values:\n\ndirect\nReduce buffering.\n\nprobesize integer (input)\nSet probing size in bytes, i.e. the size of the data to analyze to get stream\ninformation. A higher value will enable detecting more information in case it is\ndispersed into the stream, but will increase latency. Must be an integer not lesser than\n32. It is 5000000 by default.\n\nmaxprobepackets integer (input)\nSet the maximum number of buffered packets when probing a codec.  Default is 2500\npackets.\n\npacketsize integer (output)\nSet packet size.\n\nfflags flags\nSet format flags. Some are implemented for a limited number of formats.\n\nPossible values for input files:\n\ndiscardcorrupt\nDiscard corrupted packets.\n\nfastseek\nEnable fast, but inaccurate seeks for some formats.\n\ngenpts\nGenerate missing PTS if DTS is present.\n\nigndts\nIgnore DTS if PTS is set. Inert when nofillin is set.\n\nignidx\nIgnore index.\n\nkeepside (deprecated,inert)\nnobuffer\nReduce the latency introduced by buffering during initial input streams analysis.\n\nnofillin\nDo not fill in missing values in packet fields that can be exactly calculated.\n\nnoparse\nDisable AVParsers, this needs \"+nofillin\" too.\n\nsortdts\nTry to interleave output packets by DTS. At present, available only for AVIs with an\nindex.\n\nPossible values for output files:\n\nautobsf\nAutomatically apply bitstream filters as required by the output format. Enabled by\ndefault.\n\nbitexact\nOnly write platform-, build- and time-independent data.  This ensures that file and\ndata checksums are reproducible and match between platforms. Its primary use is for\nregression testing.\n\nflushpackets\nWrite out packets immediately.\n\nlatm (deprecated,inert)\nshortest\nStop muxing at the end of the shortest stream.  It may be needed to increase\nmaxinterleavedelta to avoid flushing the longer streams before EOF.\n\nseek2any integer (input)\nAllow seeking to non-keyframes on demuxer level when supported if set to 1.  Default is\n0.\n\nanalyzeduration integer (input)\nSpecify how many microseconds are analyzed to probe the input. A higher value will enable\ndetecting more accurate information, but will increase latency. It defaults to 5,000,000\nmicroseconds = 5 seconds.\n\ncryptokey hexadecimal string (input)\nSet decryption key.\n\nindexmem integer (input)\nSet max memory used for timestamp index (per stream).\n\nrtbufsize integer (input)\nSet max memory used for buffering real-time frames.\n\nfdebug flags (input/output)\nPrint specific debug info.\n\nPossible values:\n\nts\nmaxdelay integer (input/output)\nSet maximum muxing or demuxing delay in microseconds.\n\nfpsprobesize integer (input)\nSet number of frames used to probe fps.\n\naudiopreload integer (output)\nSet microseconds by which audio packets should be interleaved earlier.\n\nchunkduration integer (output)\nSet microseconds for each chunk.\n\nchunksize integer (output)\nSet size in bytes for each chunk.\n\nerrdetect, ferrdetect flags (input)\nSet error detection flags. \"ferrdetect\" is deprecated and should be used only via the\nffmpeg tool.\n\nPossible values:\n\ncrccheck\nVerify embedded CRCs.\n\nbitstream\nDetect bitstream specification deviations.\n\nbuffer\nDetect improper bitstream length.\n\nexplode\nAbort decoding on minor error detection.\n\ncareful\nConsider things that violate the spec and have not been seen in the wild as errors.\n\ncompliant\nConsider all spec non compliancies as errors.\n\naggressive\nConsider things that a sane encoder should not do as an error.\n\nmaxinterleavedelta integer (output)\nSet maximum buffering duration for interleaving. The duration is expressed in\nmicroseconds, and defaults to 10000000 (10 seconds).\n\nTo ensure all the streams are interleaved correctly, libavformat will wait until it has\nat least one packet for each stream before actually writing any packets to the output\nfile. When some streams are \"sparse\" (i.e. there are large gaps between successive\npackets), this can result in excessive buffering.\n\nThis field specifies the maximum difference between the timestamps of the first and the\nlast packet in the muxing queue, above which libavformat will output a packet regardless\nof whether it has queued a packet for all the streams.\n\nIf set to 0, libavformat will continue buffering packets until it has a packet for each\nstream, regardless of the maximum timestamp difference between the buffered packets.\n\nusewallclockastimestamps integer (input)\nUse wallclock as timestamps if set to 1. Default is 0.\n\navoidnegativets integer (output)\nPossible values:\n\nmakenonnegative\nShift timestamps to make them non-negative.  Also note that this affects only leading\nnegative timestamps, and not non-monotonic negative timestamps.\n\nmakezero\nShift timestamps so that the first timestamp is 0.\n\nauto (default)\nEnables shifting when required by the target format.\n\ndisabled\nDisables shifting of timestamp.\n\nWhen shifting is enabled, all output timestamps are shifted by the same amount. Audio,\nvideo, and subtitles desynching and relative timestamp differences are preserved compared\nto how they would have been without shifting.\n\nskipinitialbytes integer (input)\nSet number of bytes to skip before reading header and frames if set to 1.  Default is 0.\n\ncorrecttsoverflow integer (input)\nCorrect single timestamp overflows if set to 1. Default is 1.\n\nflushpackets integer (output)\nFlush the underlying I/O stream after each packet. Default is -1 (auto), which means that\nthe underlying protocol will decide, 1 enables it, and has the effect of reducing the\nlatency, 0 disables it and may increase IO throughput in some cases.\n\noutputtsoffset offset (output)\nSet the output time offset.\n\noffset must be a time duration specification, see the Time duration section in the\nffmpeg-utils(1) manual.\n\nThe offset is added by the muxer to the output timestamps.\n\nSpecifying a positive offset means that the corresponding streams are delayed bt the time\nduration specified in offset. Default value is 0 (meaning that no offset is applied).\n\nformatwhitelist list (input)\n\",\" separated list of allowed demuxers. By default all are allowed.\n\ndumpseparator string (input)\nSeparator used to separate the fields printed on the command line about the Stream\nparameters.  For example, to separate the fields with newlines and indentation:\n\nffprobe -dumpseparator \"\n\"  -i ~/videos/matrixbenchmpeg2.mpg\n\nmaxstreams integer (input)\nSpecifies the maximum number of streams. This can be used to reject files that would\nrequire too many resources due to a large number of streams.\n\nskipestimatedurationfrompts bool (input)\nSkip estimation of input duration when calculated using PTS.  At present, applicable for\nMPEG-PS and MPEG-TS.\n\nstrict, fstrict integer (input/output)\nSpecify how strictly to follow the standards. \"fstrict\" is deprecated and should be used\nonly via the ffmpeg tool.\n\nPossible values:\n\nvery\nstrictly conform to an older more strict version of the spec or reference software\n\nstrict\nstrictly conform to all the things in the spec no matter what consequences\n\nnormal\nunofficial\nallow unofficial extensions\n\nexperimental\nallow non standardized experimental things, experimental (unfinished/work in\nprogress/not well tested) decoders and encoders.  Note: experimental decoders can\npose a security risk, do not use this for decoding untrusted input.\n",
            "subsections": [
                {
                    "name": "Format stream specifiers",
                    "content": "Format stream specifiers allow selection of one or more streams that match specific\nproperties.\n\nThe exact semantics of stream specifiers is defined by the\n\"avformatmatchstreamspecifier()\" function declared in the libavformat/avformat.h header\nand documented in the Stream specifiers section in the ffmpeg(1) manual.\n"
                }
            ]
        },
        "DEMUXERS": {
            "content": "Demuxers are configured elements in FFmpeg that can read the multimedia streams from a\nparticular type of file.\n\nWhen you configure your FFmpeg build, all the supported demuxers are enabled by default. You\ncan list all available ones using the configure option \"--list-demuxers\".\n\nYou can disable all the demuxers using the configure option \"--disable-demuxers\", and\nselectively enable a single demuxer with the option \"--enable-demuxer=DEMUXER\", or disable it\nwith the option \"--disable-demuxer=DEMUXER\".\n\nThe option \"-demuxers\" of the ff* tools will display the list of enabled demuxers. Use\n\"-formats\" to view a combined list of enabled demuxers and muxers.\n\nThe description of some of the currently available demuxers follows.\n\naa\nAudible Format 2, 3, and 4 demuxer.\n\nThis demuxer is used to demux Audible Format 2, 3, and 4 (.aa) files.\n",
            "subsections": [
                {
                    "name": "apng",
                    "content": "Animated Portable Network Graphics demuxer.\n\nThis demuxer is used to demux APNG files.  All headers, but the PNG signature, up to (but not\nincluding) the first fcTL chunk are transmitted as extradata.  Frames are then split as being\nall the chunks between two fcTL ones, or between the last fcTL and IEND chunks.\n"
                },
                {
                    "name": "-ignore",
                    "content": "Ignore the loop variable in the file if set.\n"
                },
                {
                    "name": "-max",
                    "content": "Maximum framerate in frames per second (0 for no limit).\n"
                },
                {
                    "name": "-default",
                    "content": "Default framerate in frames per second when none is specified in the file (0 meaning as\nfast as possible).\n"
                },
                {
                    "name": "asf",
                    "content": "Advanced Systems Format demuxer.\n\nThis demuxer is used to demux ASF files and MMS network streams.\n"
                },
                {
                    "name": "-no",
                    "content": "Do not try to resynchronize by looking for a certain optional start code.\n"
                },
                {
                    "name": "concat",
                    "content": "Virtual concatenation script demuxer.\n\nThis demuxer reads a list of files and other directives from a text file and demuxes them one\nafter the other, as if all their packets had been muxed together.\n\nThe timestamps in the files are adjusted so that the first file starts at 0 and each next\nfile starts where the previous one finishes. Note that it is done globally and may cause gaps\nif all streams do not have exactly the same length.\n\nAll files must have the same streams (same codecs, same time base, etc.).\n\nThe duration of each file is used to adjust the timestamps of the next file: if the duration\nis incorrect (because it was computed using the bit-rate or because the file is truncated,\nfor example), it can cause artifacts. The \"duration\" directive can be used to override the\nduration stored in each file.\n\nSyntax\n\nThe script is a text file in extended-ASCII, with one directive per line.  Empty lines,\nleading spaces and lines starting with '#' are ignored. The following directive is\nrecognized:\n"
                },
                {
                    "name": "\"file path\"",
                    "content": "Path to a file to read; special characters and spaces must be escaped with backslash or\nsingle quotes.\n\nAll subsequent file-related directives apply to that file.\n"
                },
                {
                    "name": "\"ffconcat version 1.0\"",
                    "content": "Identify the script type and version. It also sets the safe option to 1 if it was -1.\n\nTo make FFmpeg recognize the format automatically, this directive must appear exactly as\nis (no extra space or byte-order-mark) on the very first line of the script.\n"
                },
                {
                    "name": "\"duration dur\"",
                    "content": "Duration of the file. This information can be specified from the file; specifying it here\nmay be more efficient or help if the information from the file is not available or\naccurate.\n\nIf the duration is set for all files, then it is possible to seek in the whole\nconcatenated video.\n"
                },
                {
                    "name": "\"inpoint timestamp\"",
                    "content": "In point of the file. When the demuxer opens the file it instantly seeks to the specified\ntimestamp. Seeking is done so that all streams can be presented successfully at In point.\n\nThis directive works best with intra frame codecs, because for non-intra frame ones you\nwill usually get extra packets before the actual In point and the decoded content will\nmost likely contain frames before In point too.\n\nFor each file, packets before the file In point will have timestamps less than the\ncalculated start timestamp of the file (negative in case of the first file), and the\nduration of the files (if not specified by the \"duration\" directive) will be reduced\nbased on their specified In point.\n\nBecause of potential packets before the specified In point, packet timestamps may overlap\nbetween two concatenated files.\n"
                },
                {
                    "name": "\"outpoint timestamp\"",
                    "content": "Out point of the file. When the demuxer reaches the specified decoding timestamp in any\nof the streams, it handles it as an end of file condition and skips the current and all\nthe remaining packets from all streams.\n\nOut point is exclusive, which means that the demuxer will not output packets with a\ndecoding timestamp greater or equal to Out point.\n\nThis directive works best with intra frame codecs and formats where all streams are\ntightly interleaved. For non-intra frame codecs you will usually get additional packets\nwith presentation timestamp after Out point therefore the decoded content will most\nlikely contain frames after Out point too. If your streams are not tightly interleaved\nyou may not get all the packets from all streams before Out point and you may only will\nbe able to decode the earliest stream until Out point.\n\nThe duration of the files (if not specified by the \"duration\" directive) will be reduced\nbased on their specified Out point.\n\n\"filepacketmetadata key=value\"\nMetadata of the packets of the file. The specified metadata will be set for each file\npacket. You can specify this directive multiple times to add multiple metadata entries.\n"
                },
                {
                    "name": "\"stream\"",
                    "content": "Introduce a stream in the virtual file.  All subsequent stream-related directives apply\nto the last introduced stream.  Some streams properties must be set in order to allow\nidentifying the matching streams in the subfiles.  If no streams are defined in the\nscript, the streams from the first file are copied.\n\n\"exactstreamid id\"\nSet the id of the stream.  If this directive is given, the string with the corresponding\nid in the subfiles will be used.  This is especially useful for MPEG-PS (VOB) files,\nwhere the order of the streams is not reliable.\n\nOptions\n\nThis demuxer accepts the following option:\n"
                },
                {
                    "name": "safe",
                    "content": "If set to 1, reject unsafe file paths. A file path is considered safe if it does not\ncontain a protocol specification and is relative and all components only contain\ncharacters from the portable character set (letters, digits, period, underscore and\nhyphen) and have no period at the beginning of a component.\n\nIf set to 0, any file name is accepted.\n\nThe default is 1.\n\n-1 is equivalent to 1 if the format was automatically probed and 0 otherwise.\n\nautoconvert\nIf set to 1, try to perform automatic conversions on packet data to make the streams\nconcatenable.  The default is 1.\n\nCurrently, the only conversion is adding the h264mp4toannexb bitstream filter to H.264\nstreams in MP4 format. This is necessary in particular if there are resolution changes.\n\nsegmenttimemetadata\nIf set to 1, every packet will contain the lavf.concat.starttime and the\nlavf.concat.duration packet metadata values which are the starttime and the duration of\nthe respective file segments in the concatenated output expressed in microseconds. The\nduration metadata is only set if it is known based on the concat file.  The default is 0.\n\nExamples\n\n•   Use absolute filenames and include some comments:\n\n# my first filename\nfile /mnt/share/file-1.wav\n# my second filename including whitespace\nfile '/mnt/share/file 2.wav'\n# my third filename including whitespace plus single quote\nfile '/mnt/share/file 3'\\''.wav'\n\n•   Allow for input format auto-probing, use safe filenames and set the duration of the first\nfile:\n\nffconcat version 1.0\n\nfile file-1.wav\nduration 20.0\n\nfile subdir/file-2.wav\n"
                },
                {
                    "name": "dash",
                    "content": "Dynamic Adaptive Streaming over HTTP demuxer.\n\nThis demuxer presents all AVStreams found in the manifest.  By setting the discard flags on\nAVStreams the caller can decide which streams to actually receive.  Each stream mirrors the\n\"id\" and \"bandwidth\" properties from the \"<Representation>\" as metadata keys named \"id\" and\n\"variantbitrate\" respectively.\n\nflv, liveflv\nAdobe Flash Video Format demuxer.\n\nThis demuxer is used to demux FLV files and RTMP network streams. In case of live network\nstreams, if you force format, you may use liveflv option instead of flv to survive timestamp\ndiscontinuities.\n\nffmpeg -f flv -i myfile.flv ...\nffmpeg -f liveflv -i rtmp://<any.server>/anything/key ....\n"
                },
                {
                    "name": "-flv",
                    "content": "Allocate the streams according to the onMetaData array content.\n"
                },
                {
                    "name": "-flv",
                    "content": "Ignore the size of previous tag value.\n"
                },
                {
                    "name": "-flv",
                    "content": "Output all context of the onMetadata.\n"
                },
                {
                    "name": "gif",
                    "content": "Animated GIF demuxer.\n\nIt accepts the following options:\n\nmindelay\nSet the minimum valid delay between frames in hundredths of seconds.  Range is 0 to 6000.\nDefault value is 2.\n\nmaxgifdelay\nSet the maximum valid delay between frames in hundredth of seconds.  Range is 0 to 65535.\nDefault value is 65535 (nearly eleven minutes), the maximum value allowed by the\nspecification.\n\ndefaultdelay\nSet the default delay between frames in hundredths of seconds.  Range is 0 to 6000.\nDefault value is 10.\n\nignoreloop\nGIF files can contain information to loop a certain number of times (or infinitely). If\nignoreloop is set to 1, then the loop setting from the input will be ignored and looping\nwill not occur. If set to 0, then looping will occur and will cycle the number of times\naccording to the GIF. Default value is 1.\n\nFor example, with the overlay filter, place an infinitely looping GIF over another video:\n\nffmpeg -i input.mp4 -ignoreloop 0 -i input.gif -filtercomplex overlay=shortest=1 out.mkv\n\nNote that in the above example the shortest option for overlay filter is used to end the\noutput video at the length of the shortest input file, which in this case is input.mp4 as the\nGIF in this example loops infinitely.\n"
                },
                {
                    "name": "hls",
                    "content": "HLS demuxer\n\nApple HTTP Live Streaming demuxer.\n\nThis demuxer presents all AVStreams from all variant streams.  The id field is set to the\nbitrate variant index number. By setting the discard flags on AVStreams (by pressing 'a' or\n'v' in ffplay), the caller can decide which variant streams to actually receive.  The total\nbitrate of the variant that the stream belongs to is available in a metadata key named\n\"variantbitrate\".\n\nIt accepts the following options:\n\nlivestartindex\nsegment index to start live streams at (negative values are from the end).\n\nallowedextensions\n',' separated list of file extensions that hls is allowed to access.\n\nmaxreload\nMaximum number of times a insufficient list is attempted to be reloaded.  Default value\nis 1000.\n\nm3u8holdcounters\nThe maximum number of times to load m3u8 when it refreshes without new segments.  Default\nvalue is 1000.\n\nhttppersistent\nUse persistent HTTP connections. Applicable only for HTTP streams.  Enabled by default.\n\nhttpmultiple\nUse multiple HTTP connections for downloading HTTP segments.  Enabled by default for\nHTTP/1.1 servers.\n\nhttpseekable\nUse HTTP partial requests for downloading HTTP segments.  0 = disable, 1 = enable, -1 =\nauto, Default is auto.\n"
                },
                {
                    "name": "image2",
                    "content": "Image file demuxer.\n\nThis demuxer reads from a list of image files specified by a pattern.  The syntax and meaning\nof the pattern is specified by the option patterntype.\n\nThe pattern may contain a suffix which is used to automatically determine the format of the\nimages contained in the files.\n\nThe size, the pixel format, and the format of each image must be the same for all the files\nin the sequence.\n\nThis demuxer accepts the following options:\n"
                },
                {
                    "name": "framerate",
                    "content": "Set the frame rate for the video stream. It defaults to 25.\n"
                },
                {
                    "name": "loop",
                    "content": "If set to 1, loop over the input. Default value is 0.\n\npatterntype\nSelect the pattern type used to interpret the provided filename.\n\npatterntype accepts one of the following values.\n\nnone\nDisable pattern matching, therefore the video will only contain the specified image.\nYou should use this option if you do not want to create sequences from multiple\nimages and your filenames may contain special pattern characters.\n\nsequence\nSelect a sequence pattern type, used to specify a sequence of files indexed by\nsequential numbers.\n\nA sequence pattern may contain the string \"%d\" or \"%0Nd\", which specifies the\nposition of the characters representing a sequential number in each filename matched\nby the pattern. If the form \"%d0Nd\" is used, the string representing the number in\neach filename is 0-padded and N is the total number of 0-padded digits representing\nthe number. The literal character '%' can be specified in the pattern with the string\n\"%%\".\n\nIf the sequence pattern contains \"%d\" or \"%0Nd\", the first filename of the file list\nspecified by the pattern must contain a number inclusively contained between\nstartnumber and startnumber+startnumberrange-1, and all the following numbers\nmust be sequential.\n\nFor example the pattern \"img-%03d.bmp\" will match a sequence of filenames of the form\nimg-001.bmp, img-002.bmp, ..., img-010.bmp, etc.; the pattern \"i%%m%%g-%d.jpg\" will\nmatch a sequence of filenames of the form i%m%g-1.jpg, i%m%g-2.jpg, ...,\ni%m%g-10.jpg, etc.\n\nNote that the pattern must not necessarily contain \"%d\" or \"%0Nd\", for example to\nconvert a single image file img.jpeg you can employ the command:\n\nffmpeg -i img.jpeg img.png\n\nglob\nSelect a glob wildcard pattern type.\n\nThe pattern is interpreted like a \"glob()\" pattern. This is only selectable if\nlibavformat was compiled with globbing support.\n\nglobsequence (deprecated, will be removed)\nSelect a mixed glob wildcard/sequence pattern.\n\nIf your version of libavformat was compiled with globbing support, and the provided\npattern contains at least one glob meta character among \"%*?[]{}\" that is preceded by\nan unescaped \"%\", the pattern is interpreted like a \"glob()\" pattern, otherwise it is\ninterpreted like a sequence pattern.\n\nAll glob special characters \"%*?[]{}\" must be prefixed with \"%\". To escape a literal\n\"%\" you shall use \"%%\".\n\nFor example the pattern \"foo-%*.jpeg\" will match all the filenames prefixed by \"foo-\"\nand terminating with \".jpeg\", and \"foo-%?%?%?.jpeg\" will match all the filenames\nprefixed with \"foo-\", followed by a sequence of three characters, and terminating\nwith \".jpeg\".\n\nThis pattern type is deprecated in favor of glob and sequence.\n\nDefault value is globsequence.\n\npixelformat\nSet the pixel format of the images to read. If not specified the pixel format is guessed\nfrom the first image file in the sequence.\n\nstartnumber\nSet the index of the file matched by the image file pattern to start to read from.\nDefault value is 0.\n\nstartnumberrange\nSet the index interval range to check when looking for the first image file in the\nsequence, starting from startnumber. Default value is 5.\n\ntsfromfile\nIf set to 1, will set frame timestamp to modification time of image file. Note that\nmonotonity of timestamps is not provided: images go in the same order as without this\noption. Default value is 0.  If set to 2, will set frame timestamp to the modification\ntime of the image file in nanosecond precision.\n\nvideosize\nSet the video size of the images to read. If not specified the video size is guessed from\nthe first image file in the sequence.\n\nexportpathmetadata\nIf set to 1, will add two extra fields to the metadata found in input, making them also\navailable for other filters (see drawtext filter for examples). Default value is 0. The\nextra fields are described below:\n\nlavf.image2dec.sourcepath\nCorresponds to the full path to the input file being read.\n\nlavf.image2dec.sourcebasename\nCorresponds to the name of the file being read.\n\nExamples\n\n•   Use ffmpeg for creating a video from the images in the file sequence img-001.jpeg,\nimg-002.jpeg, ..., assuming an input frame rate of 10 frames per second:\n\nffmpeg -framerate 10 -i 'img-%03d.jpeg' out.mkv\n\n•   As above, but start by reading from a file with index 100 in the sequence:\n\nffmpeg -framerate 10 -startnumber 100 -i 'img-%03d.jpeg' out.mkv\n\n•   Read images matching the \"*.png\" glob pattern , that is all the files terminating with\nthe \".png\" suffix:\n\nffmpeg -framerate 10 -patterntype glob -i \"*.png\" out.mkv\n"
                },
                {
                    "name": "libgme",
                    "content": "The Game Music Emu library is a collection of video game music file emulators.\n\nSee <https://bitbucket.org/mpyne/game-music-emu/overview> for more information.\n\nIt accepts the following options:\n\ntrackindex\nSet the index of which track to demux. The demuxer can only export one track.  Track\nindexes start at 0. Default is to pick the first track. Number of tracks is exported as\ntracks metadata entry.\n\nsamplerate\nSet the sampling rate of the exported track. Range is 1000 to 999999. Default is 44100.\n"
                },
                {
                    "name": "max___size _(bytes)",
                    "content": "The demuxer buffers the entire file into memory. Adjust this value to set the maximum\nbuffer size, which in turn, acts as a ceiling for the size of files that can be read.\nDefault is 50 MiB.\n"
                },
                {
                    "name": "libmodplug",
                    "content": "ModPlug based module demuxer\n\nSee <https://github.com/Konstanty/libmodplug>\n\nIt will export one 2-channel 16-bit 44.1 kHz audio stream.  Optionally, a \"pal8\" 16-color\nvideo stream can be exported with or without printed metadata.\n\nIt accepts the following options:\n\nnoisereduction\nApply a simple low-pass filter. Can be 1 (on) or 0 (off). Default is 0.\n\nreverbdepth\nSet amount of reverb. Range 0-100. Default is 0.\n\nreverbdelay\nSet delay in ms, clamped to 40-250 ms. Default is 0.\n\nbassamount\nApply bass expansion a.k.a. XBass or megabass. Range is 0 (quiet) to 100 (loud). Default\nis 0.\n\nbassrange\nSet cutoff i.e. upper-bound for bass frequencies. Range is 10-100 Hz. Default is 0.\n\nsurrounddepth\nApply a Dolby Pro-Logic surround effect. Range is 0 (quiet) to 100 (heavy). Default is 0.\n\nsurrounddelay\nSet surround delay in ms, clamped to 5-40 ms. Default is 0.\n\nmaxsize\nThe demuxer buffers the entire file into memory. Adjust this value to set the maximum\nbuffer size, which in turn, acts as a ceiling for the size of files that can be read.\nRange is 0 to 100 MiB.  0 removes buffer size limit (not recommended). Default is 5 MiB.\n\nvideostreamexpr\nString which is evaluated using the eval API to assign colors to the generated video\nstream.  Variables which can be used are \"x\", \"y\", \"w\", \"h\", \"t\", \"speed\", \"tempo\",\n\"order\", \"pattern\" and \"row\".\n\nvideostream\nGenerate video stream. Can be 1 (on) or 0 (off). Default is 0.\n\nvideostreamw\nSet video frame width in 'chars' where one char indicates 8 pixels. Range is 20-512.\nDefault is 30.\n\nvideostreamh\nSet video frame height in 'chars' where one char indicates 8 pixels. Range is 20-512.\nDefault is 30.\n\nvideostreamptxt\nPrint metadata on video stream. Includes \"speed\", \"tempo\", \"order\", \"pattern\", \"row\" and\n\"ts\" (time in ms). Can be 1 (on) or 0 (off). Default is 1.\n"
                },
                {
                    "name": "libopenmpt",
                    "content": "libopenmpt based module demuxer\n\nSee <https://lib.openmpt.org/libopenmpt/> for more information.\n\nSome files have multiple subsongs (tracks) this can be set with the subsong option.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "subsong",
                    "content": "Set the subsong index. This can be either  'all', 'auto', or the index of the subsong.\nSubsong indexes start at 0. The default is 'auto'.\n\nThe default value is to let libopenmpt choose.\n"
                },
                {
                    "name": "layout",
                    "content": "Set the channel layout. Valid values are 1, 2, and 4 channel layouts.  The default value\nis STEREO.\n\nsamplerate\nSet the sample rate for libopenmpt to output.  Range is from 1000 to INTMAX. The value\ndefault is 48000.\n"
                },
                {
                    "name": "mov/mp4/3gp",
                    "content": "Demuxer for Quicktime File Format & ISO/IEC Base Media File Format (ISO/IEC 14496-12 or\nMPEG-4 Part 12, ISO/IEC 15444-12 or JPEG 2000 Part 12).\n\nRegistered extensions: mov, mp4, m4a, 3gp, 3g2, mj2, psp, m4b, ism, ismv, isma, f4v\n\nOptions\n\nThis demuxer accepts the following options:\n\nenabledrefs\nEnable loading of external tracks, disabled by default.  Enabling this can theoretically\nleak information in some use cases.\n\nuseabsolutepath\nAllows loading of external tracks via absolute paths, disabled by default.  Enabling this\nposes a security risk. It should only be enabled if the source is known to be non-\nmalicious.\n\nseekstreamsindividually\nWhen seeking, identify the closest point in each stream individually and demux packets in\nthat stream from identified point. This can lead to a different sequence of packets\ncompared to demuxing linearly from the beginning. Default is true.\n\nignoreeditlist\nIgnore any edit list atoms. The demuxer, by default, modifies the stream index to reflect\nthe timeline described by the edit list. Default is false.\n\nadvancededitlist\nModify the stream index to reflect the timeline described by the edit list.\n\"ignoreeditlist\" must be set to false for this option to be effective.  If both\n\"ignoreeditlist\" and this option are set to false, then only the start of the stream\nindex is modified to reflect initial dwell time or starting timestamp described by the\nedit list. Default is true.\n\nignorechapters\nDon't parse chapters. This includes GoPro 'HiLight' tags/moments. Note that chapters are\nonly parsed when input is seekable. Default is false.\n\nusemfrafor\nFor seekable fragmented input, set fragment's starting timestamp from media fragment\nrandom access box, if present.\n\nFollowing options are available:\n\nauto\nAuto-detect whether to set mfra timestamps as PTS or DTS (default)\n\ndts Set mfra timestamps as DTS\n\npts Set mfra timestamps as PTS\n\n0   Don't use mfra box to set timestamps\n\nexportall\nExport unrecognized boxes within the udta box as metadata entries. The first four\ncharacters of the box type are set as the key. Default is false.\n\nexportxmp\nExport entire contents of XMP box and uuid box as a string with key \"xmp\". Note that if\n\"exportall\" is set and this option isn't, the contents of XMP box are still exported\nbut with key \"XMP\". Default is false.\n\nactivationbytes\n4-byte key required to decrypt Audible AAX and AAX+ files. See Audible AAX subsection\nbelow.\n\naudiblefixedkey\nFixed key used for handling Audible AAX/AAX+ files. It has been pre-set so should not be\nnecessary to specify.\n\ndecryptionkey\n16-byte key, in hex, to decrypt files encrypted using ISO Common Encryption (CENC/AES-128\nCTR; ISO/IEC 23001-7).\n\nAudible AAX\n\nAudible AAX files are encrypted M4B files, and they can be decrypted by specifying a 4 byte\nactivation secret.\n\nffmpeg -activationbytes 1CEB00DA -i test.aax -vn -c:a copy output.mp4\n"
                },
                {
                    "name": "mpegts",
                    "content": "MPEG-2 transport stream demuxer.\n\nThis demuxer accepts the following options:\n\nresyncsize\nSet size limit for looking up a new synchronization. Default value is 65536.\n\nskipunknownpmt\nSkip PMTs for programs not defined in the PAT. Default value is 0.\n\nfixteletextpts\nOverride teletext packet PTS and DTS values with the timestamps calculated from the PCR\nof the first program which the teletext stream is part of and is not discarded. Default\nvalue is 1, set this option to 0 if you want your teletext packet PTS and DTS values\nuntouched.\n\ntspacketsize\nOutput option carrying the raw packet size in bytes.  Show the detected raw packet size,\ncannot be set by the user.\n\nscanallpmts\nScan and combine all PMTs. The value is an integer with value from -1 to 1 (-1 means\nautomatic setting, 1 means enabled, 0 means disabled). Default value is -1.\n\nmergepmtversions\nRe-use existing streams when a PMT's version is updated and elementary streams move to\ndifferent PIDs. Default value is 0.\n"
                },
                {
                    "name": "mpjpeg",
                    "content": "MJPEG encapsulated in multi-part MIME demuxer.\n\nThis demuxer allows reading of MJPEG, where each frame is represented as a part of\nmultipart/x-mixed-replace stream.\n\nstrictmimeboundary\nDefault implementation applies a relaxed standard to multi-part MIME boundary detection,\nto prevent regression with numerous existing endpoints not generating a proper MIME MJPEG\nstream. Turning this option on by setting it to 1 will result in a stricter check of the\nboundary value.\n"
                },
                {
                    "name": "rawvideo",
                    "content": "Raw video demuxer.\n\nThis demuxer allows one to read raw video data. Since there is no header specifying the\nassumed video parameters, the user must specify them in order to be able to decode the data\ncorrectly.\n\nThis demuxer accepts the following options:\n"
                },
                {
                    "name": "framerate",
                    "content": "Set input video frame rate. Default value is 25.\n\npixelformat\nSet the input video pixel format. Default value is \"yuv420p\".\n\nvideosize\nSet the input video size. This value must be specified explicitly.\n\nFor example to read a rawvideo file input.raw with ffplay, assuming a pixel format of\n\"rgb24\", a video size of \"320x240\", and a frame rate of 10 images per second, use the\ncommand:\n\nffplay -f rawvideo -pixelformat rgb24 -videosize 320x240 -framerate 10 input.raw\n"
                },
                {
                    "name": "sbg",
                    "content": "SBaGen script demuxer.\n\nThis demuxer reads the script language used by SBaGen <http://uazu.net/sbagen/> to generate\nbinaural beats sessions. A SBG script looks like that:\n\n-SE\na: 300-2.5/3 440+4.5/0\nb: 300-2.5/0 440+4.5/3\noff: -\nNOW      == a\n+0:07:00 == b\n+0:14:00 == a\n+0:21:00 == b\n+0:30:00    off\n\nA SBG script can mix absolute and relative timestamps. If the script uses either only\nabsolute timestamps (including the script start time) or only relative ones, then its layout\nis fixed, and the conversion is straightforward. On the other hand, if the script mixes both\nkind of timestamps, then the NOW reference for relative timestamps will be taken from the\ncurrent time of day at the time the script is read, and the script layout will be frozen\naccording to that reference. That means that if the script is directly played, the actual\ntimes will match the absolute timestamps up to the sound controller's clock accuracy, but if\nthe user somehow pauses the playback or seeks, all times will be shifted accordingly.\n"
                },
                {
                    "name": "tedcaptions",
                    "content": "JSON captions used for <http://www.ted.com/>.\n\nTED does not provide links to the captions, but they can be guessed from the page. The file\ntools/bookmarklets.html from the FFmpeg source tree contains a bookmarklet to expose them.\n\nThis demuxer accepts the following option:\n\nstarttime\nSet the start time of the TED talk, in milliseconds. The default is 15000 (15s). It is\nused to sync the captions with the downloadable videos, because they include a 15s intro.\n\nExample: convert the captions to a format most players understand:\n\nffmpeg -i http://www.ted.com/talks/subtitles/id/1/lang/en talk1-en.srt\n"
                },
                {
                    "name": "vapoursynth",
                    "content": "Vapoursynth wrapper.\n\nDue to security concerns, Vapoursynth scripts will not be autodetected so the input format\nhas to be forced. For ff* CLI tools, add \"-f vapoursynth\" before the input \"-i\nyourscript.vpy\".\n\nThis demuxer accepts the following option:\n\nmaxscriptsize\nThe demuxer buffers the entire script into memory. Adjust this value to set the maximum\nbuffer size, which in turn, acts as a ceiling for the size of scripts that can be read.\nDefault is 1 MiB.\n"
                }
            ]
        },
        "METADATA": {
            "content": "FFmpeg is able to dump metadata from media files into a simple UTF-8-encoded INI-like text\nfile and then load it back using the metadata muxer/demuxer.\n\nThe file format is as follows:\n\n1.  A file consists of a header and a number of metadata tags divided into sections, each on\nits own line.\n\n2.  The header is a ;FFMETADATA string, followed by a version number (now 1).\n\n3.  Metadata tags are of the form key=value\n\n4.  Immediately after header follows global metadata\n\n5.  After global metadata there may be sections with per-stream/per-chapter metadata.\n\n6.  A section starts with the section name in uppercase (i.e. STREAM or CHAPTER) in brackets\n([, ]) and ends with next section or end of file.\n\n7.  At the beginning of a chapter section there may be an optional timebase to be used for\nstart/end values. It must be in form TIMEBASE=num/den, where num and den are integers. If\nthe timebase is missing then start/end times are assumed to be in nanoseconds.\n\nNext a chapter section must contain chapter start and end times in form START=num,\nEND=num, where num is a positive integer.\n\n8.  Empty lines and lines starting with ; or # are ignored.\n\n9.  Metadata keys or values containing special characters (=, ;, #, \\ and a newline) must be\nescaped with a backslash \\.\n\n10. Note that whitespace in metadata (e.g. foo = bar) is considered to be a part of the tag\n(in the example above key is foo , value is\nbar).\n\nA ffmetadata file might look like this:\n\n;FFMETADATA1\ntitle=bike\\\\shed\n;this is a comment\nartist=FFmpeg troll team\n\n[CHAPTER]\nTIMEBASE=1/1000\nSTART=0\n#chapter ends at 0:01:00\nEND=60000\ntitle=chapter \\#1\n[STREAM]\ntitle=multi\\\nline\n\nBy using the ffmetadata muxer and demuxer it is possible to extract metadata from an input\nfile to an ffmetadata file, and then transcode the file into an output file with the edited\nffmetadata file.\n\nExtracting an ffmetadata file with ffmpeg goes as follows:\n\nffmpeg -i INPUT -f ffmetadata FFMETADATAFILE\n\nReinserting edited metadata information from the FFMETADATAFILE file can be done as:\n\nffmpeg -i INPUT -i FFMETADATAFILE -mapmetadata 1 -codec copy OUTPUT\n",
            "subsections": []
        },
        "PROTOCOL OPTIONS": {
            "content": "The libavformat library provides some generic global options, which can be set on all the\nprotocols. In addition each protocol may support so-called private options, which are\nspecific for that component.\n\nOptions may be set by specifying -option value in the FFmpeg tools, or by setting the value\nexplicitly in the \"AVFormatContext\" options or using the libavutil/opt.h API for programmatic\nuse.\n\nThe list of supported options follows:\n\nprotocolwhitelist list (input)\nSet a \",\"-separated list of allowed protocols. \"ALL\" matches all protocols. Protocols\nprefixed by \"-\" are disabled.  All protocols are allowed by default but protocols used by\nan another protocol (nested protocols) are restricted to a per protocol subset.\n",
            "subsections": []
        },
        "PROTOCOLS": {
            "content": "Protocols are configured elements in FFmpeg that enable access to resources that require\nspecific protocols.\n\nWhen you configure your FFmpeg build, all the supported protocols are enabled by default. You\ncan list all available ones using the configure option \"--list-protocols\".\n\nYou can disable all the protocols using the configure option \"--disable-protocols\", and\nselectively enable a protocol using the option \"--enable-protocol=PROTOCOL\", or you can\ndisable a particular protocol using the option \"--disable-protocol=PROTOCOL\".\n\nThe option \"-protocols\" of the ff* tools will display the list of supported protocols.\n\nAll protocols accept the following options:\n\nrwtimeout\nMaximum time to wait for (network) read/write operations to complete, in microseconds.\n\nA description of the currently available protocols follows.\n",
            "subsections": [
                {
                    "name": "amqp",
                    "content": "Advanced Message Queueing Protocol (AMQP) version 0-9-1 is a broker based publish-subscribe\ncommunication protocol.\n\nFFmpeg must be compiled with --enable-librabbitmq to support AMQP. A separate AMQP broker\nmust also be run. An example open-source AMQP broker is RabbitMQ.\n\nAfter starting the broker, an FFmpeg client may stream data to the broker using the command:\n\nffmpeg -re -i input -f mpegts amqp://[[user]:[password]@]hostname[:port][/vhost]\n\nWhere hostname and port (default is 5672) is the address of the broker. The client may also\nset a user/password for authentication. The default for both fields is \"guest\". Name of\nvirtual host on broker can be set with vhost. The default value is \"/\".\n\nMuliple subscribers may stream from the broker using the command:\n\nffplay amqp://[[user]:[password]@]hostname[:port][/vhost]\n\nIn RabbitMQ all data published to the broker flows through a specific exchange, and each\nsubscribing client has an assigned queue/buffer. When a packet arrives at an exchange, it may\nbe copied to a client's queue depending on the exchange and routingkey fields.\n\nThe following options are supported:\n"
                },
                {
                    "name": "exchange",
                    "content": "Sets the exchange to use on the broker. RabbitMQ has several predefined exchanges:\n\"amq.direct\" is the default exchange, where the publisher and subscriber must have a\nmatching routingkey; \"amq.fanout\" is the same as a broadcast operation (i.e. the data is\nforwarded to all queues on the fanout exchange independent of the routingkey); and\n\"amq.topic\" is similar to \"amq.direct\", but allows for more complex pattern matching\n(refer to the RabbitMQ documentation).\n\nroutingkey\nSets the routing key. The default value is \"amqp\". The routing key is used on the\n\"amq.direct\" and \"amq.topic\" exchanges to decide whether packets are written to the queue\nof a subscriber.\n\npktsize\nMaximum size of each packet sent/received to the broker. Default is 131072.  Minimum is\n4096 and max is any large value (representable by an int). When receiving packets, this\nsets an internal buffer size in FFmpeg. It should be equal to or greater than the size of\nthe published packets to the broker. Otherwise the received message may be truncated\ncausing decoding errors.\n\nconnectiontimeout\nThe timeout in seconds during the initial connection to the broker. The default value is\nrwtimeout, or 5 seconds if rwtimeout is not set.\n\ndeliverymode mode\nSets the delivery mode of each message sent to broker.  The following values are\naccepted:\n\npersistent\nDelivery mode set to \"persistent\" (2). This is the default value.  Messages may be\nwritten to the broker's disk depending on its setup.\n\nnon-persistent\nDelivery mode set to \"non-persistent\" (1).  Messages will stay in broker's memory\nunless the broker is under memory pressure.\n"
                },
                {
                    "name": "async",
                    "content": "Asynchronous data filling wrapper for input stream.\n\nFill data in a background thread, to decouple I/O operation from demux thread.\n\nasync:<URL>\nasync:http://host/resource\nasync:cache:http://host/resource\n"
                },
                {
                    "name": "bluray",
                    "content": "Read BluRay playlist.\n\nThe accepted options are:\n"
                },
                {
                    "name": "angle",
                    "content": "BluRay angle\n"
                },
                {
                    "name": "chapter",
                    "content": "Start chapter (1...N)\n"
                },
                {
                    "name": "playlist",
                    "content": "Playlist to read (BDMV/PLAYLIST/?????.mpls)\n\nExamples:\n\nRead longest playlist from BluRay mounted to /mnt/bluray:\n\nbluray:/mnt/bluray\n\nRead angle 2 of playlist 4 from BluRay mounted to /mnt/bluray, start from chapter 2:\n\n-playlist 4 -angle 2 -chapter 2 bluray:/mnt/bluray\n"
                },
                {
                    "name": "cache",
                    "content": "Caching wrapper for input stream.\n\nCache the input stream to temporary file. It brings seeking capability to live streams.\n\nThe accepted options are:\n\nreadaheadlimit\nAmount in bytes that may be read ahead when seeking isn't supported. Range is -1 to\nINTMAX.  -1 for unlimited. Default is 65536.\n\nURL Syntax is\n\ncache:<URL>\n"
                },
                {
                    "name": "concat",
                    "content": "Physical concatenation protocol.\n\nRead and seek from many resources in sequence as if they were a unique resource.\n\nA URL accepted by this protocol has the syntax:\n\nconcat:<URL1>|<URL2>|...|<URLN>\n\nwhere URL1, URL2, ..., URLN are the urls of the resource to be concatenated, each one\npossibly specifying a distinct protocol.\n\nFor example to read a sequence of files split1.mpeg, split2.mpeg, split3.mpeg with ffplay use\nthe command:\n\nffplay concat:split1.mpeg\\|split2.mpeg\\|split3.mpeg\n\nNote that you may need to escape the character \"|\" which is special for many shells.\n"
                },
                {
                    "name": "crypto",
                    "content": "AES-encrypted stream reading protocol.\n\nThe accepted options are:\n\nkey Set the AES decryption key binary block from given hexadecimal representation.\n\niv  Set the AES decryption initialization vector binary block from given hexadecimal\nrepresentation.\n\nAccepted URL formats:\n\ncrypto:<URL>\ncrypto+<URL>\n"
                },
                {
                    "name": "data",
                    "content": "Data in-line in the URI. See <http://en.wikipedia.org/wiki/DataURIscheme>.\n\nFor example, to convert a GIF file given inline with ffmpeg:\n\nffmpeg -i \"data:image/gif;base64,R0lGODdhCAAIAMIEAAAAAAAA//8AAP//AP///////////////ywAAAAACAAIAAADF0gEDLojDgdGiJdJqUX02iB4E8Q9jUMkADs=\" smiley.png\n"
                },
                {
                    "name": "file",
                    "content": "File access protocol.\n\nRead from or write to a file.\n\nA file URL can have the form:\n\nfile:<filename>\n\nwhere filename is the path of the file to read.\n\nAn URL that does not have a protocol prefix will be assumed to be a file URL. Depending on\nthe build, an URL that looks like a Windows path with the drive letter at the beginning will\nalso be assumed to be a file URL (usually not the case in builds for unix-like systems).\n\nFor example to read from a file input.mpeg with ffmpeg use the command:\n\nffmpeg -i file:input.mpeg output.mpeg\n\nThis protocol accepts the following options:\n"
                },
                {
                    "name": "truncate",
                    "content": "Truncate existing files on write, if set to 1. A value of 0 prevents truncating. Default\nvalue is 1.\n"
                },
                {
                    "name": "blocksize",
                    "content": "Set I/O operation maximum block size, in bytes. Default value is \"INTMAX\", which results\nin not limiting the requested block size.  Setting this value reasonably low improves\nuser termination request reaction time, which is valuable for files on slow medium.\n"
                },
                {
                    "name": "follow",
                    "content": "If set to 1, the protocol will retry reading at the end of the file, allowing reading\nfiles that still are being written. In order for this to terminate, you either need to\nuse the rwtimeout option, or use the interrupt callback (for API users).\n"
                },
                {
                    "name": "seekable",
                    "content": "Controls if seekability is advertised on the file. 0 means non-seekable, -1 means auto\n(seekable for normal files, non-seekable for named pipes).\n\nMany demuxers handle seekable and non-seekable resources differently, overriding this\nmight speed up opening certain files at the cost of losing some features (e.g. accurate\nseeking).\n"
                },
                {
                    "name": "ftp",
                    "content": "FTP (File Transfer Protocol).\n\nRead from or write to remote resources using FTP protocol.\n\nFollowing syntax is required.\n\nftp://[user[:password]@]server[:port]/path/to/remote/resource.mpeg\n\nThis protocol accepts the following options.\n"
                },
                {
                    "name": "timeout",
                    "content": "Set timeout in microseconds of socket I/O operations used by the underlying low level\noperation. By default it is set to -1, which means that the timeout is not specified.\n"
                },
                {
                    "name": "ftp-user",
                    "content": "Set a user to be used for authenticating to the FTP server. This is overridden by the\nuser in the FTP URL.\n"
                },
                {
                    "name": "ftp-password",
                    "content": "Set a password to be used for authenticating to the FTP server. This is overridden by the\npassword in the FTP URL, or by ftp-anonymous-password if no user is set.\n"
                },
                {
                    "name": "ftp-anonymous-password",
                    "content": "Password used when login as anonymous user. Typically an e-mail address should be used.\n"
                },
                {
                    "name": "ftp-write-seekable",
                    "content": "Control seekability of connection during encoding. If set to 1 the resource is supposed\nto be seekable, if set to 0 it is assumed not to be seekable. Default value is 0.\n\nNOTE: Protocol can be used as output, but it is recommended to not do it, unless special care\nis taken (tests, customized server configuration etc.). Different FTP servers behave in\ndifferent way during seek operation. ff* tools may produce incomplete content due to server\nlimitations.\n"
                },
                {
                    "name": "gopher",
                    "content": "Gopher protocol.\n"
                },
                {
                    "name": "gophers",
                    "content": "Gophers protocol.\n\nThe Gopher protocol with TLS encapsulation.\n"
                },
                {
                    "name": "hls",
                    "content": "Read Apple HTTP Live Streaming compliant segmented stream as a uniform one. The M3U8\nplaylists describing the segments can be remote HTTP resources or local files, accessed using\nthe standard file protocol.  The nested protocol is declared by specifying \"+proto\" after the\nhls URI scheme name, where proto is either \"file\" or \"http\".\n\nhls+http://host/path/to/remote/resource.m3u8\nhls+file://path/to/local/resource.m3u8\n\nUsing this protocol is discouraged - the hls demuxer should work just as well (if not, please\nreport the issues) and is more complete.  To use the hls demuxer instead, simply use the\ndirect URLs to the m3u8 files.\n"
                },
                {
                    "name": "http",
                    "content": "HTTP (Hyper Text Transfer Protocol).\n\nThis protocol accepts the following options:\n"
                },
                {
                    "name": "seekable",
                    "content": "Control seekability of connection. If set to 1 the resource is supposed to be seekable,\nif set to 0 it is assumed not to be seekable, if set to -1 it will try to autodetect if\nit is seekable. Default value is -1.\n\nchunkedpost\nIf set to 1 use chunked Transfer-Encoding for posts, default is 1.\n\ncontenttype\nSet a specific content type for the POST messages or for listen mode.\n\nhttpproxy\nset HTTP proxy to tunnel through e.g. http://example.com:1234\n"
                },
                {
                    "name": "headers",
                    "content": "Set custom HTTP headers, can override built in default headers. The value must be a\nstring encoding the headers.\n\nmultiplerequests\nUse persistent connections if set to 1, default is 0.\n\npostdata\nSet custom HTTP post data.\n"
                },
                {
                    "name": "referer",
                    "content": "Set the Referer header. Include 'Referer: URL' header in HTTP request.\n\nuseragent\nOverride the User-Agent header. If not specified the protocol will use a string\ndescribing the libavformat build. (\"Lavf/<version>\")\n"
                },
                {
                    "name": "user-agent",
                    "content": "This is a deprecated option, you can use useragent instead it.\n\nreconnectateof\nIf set then eof is treated like an error and causes reconnection, this is useful for live\n/ endless streams.\n\nreconnectstreamed\nIf set then even streamed/non seekable streams will be reconnected on errors.\n\nreconnectonnetworkerror\nReconnect automatically in case of TCP/TLS errors during connect.\n\nreconnectonhttperror\nA comma separated list of HTTP status codes to reconnect on. The list can include\nspecific status codes (e.g. '503') or the strings '4xx' / '5xx'.\n\nreconnectdelaymax\nSets the maximum delay in seconds after which to give up reconnecting\n\nmimetype\nExport the MIME type.\n\nhttpversion\nExports the HTTP response version number. Usually \"1.0\" or \"1.1\".\n\nicy If set to 1 request ICY (SHOUTcast) metadata from the server. If the server supports\nthis, the metadata has to be retrieved by the application by reading the\nicymetadataheaders and icymetadatapacket options.  The default is 1.\n\nicymetadataheaders\nIf the server supports ICY metadata, this contains the ICY-specific HTTP reply headers,\nseparated by newline characters.\n\nicymetadatapacket\nIf the server supports ICY metadata, and icy was set to 1, this contains the last non-\nempty metadata packet sent by the server. It should be polled in regular intervals by\napplications interested in mid-stream metadata updates.\n"
                },
                {
                    "name": "cookies",
                    "content": "Set the cookies to be sent in future requests. The format of each cookie is the same as\nthe value of a Set-Cookie HTTP response field. Multiple cookies can be delimited by a\nnewline character.\n"
                },
                {
                    "name": "offset",
                    "content": "Set initial byte offset.\n\nendoffset\nTry to limit the request to bytes preceding this offset.\n"
                },
                {
                    "name": "method",
                    "content": "When used as a client option it sets the HTTP method for the request.\n\nWhen used as a server option it sets the HTTP method that is going to be expected from\nthe client(s).  If the expected and the received HTTP method do not match the client will\nbe given a Bad Request response.  When unset the HTTP method is not checked for now. This\nwill be replaced by autodetection in the future.\n"
                },
                {
                    "name": "listen",
                    "content": "If set to 1 enables experimental HTTP server. This can be used to send data when used as\nan output option, or read data from a client with HTTP POST when used as an input option.\nIf set to 2 enables experimental multi-client HTTP server. This is not yet implemented in\nffmpeg.c and thus must not be used as a command line option.\n\n# Server side (sending):\nffmpeg -i somefile.ogg -c copy -listen 1 -f ogg http://<server>:<port>\n\n# Client side (receiving):\nffmpeg -i http://<server>:<port> -c copy somefile.ogg\n\n# Client can also be done with wget:\nwget http://<server>:<port> -O somefile.ogg\n\n# Server side (receiving):\nffmpeg -listen 1 -i http://<server>:<port> -c copy somefile.ogg\n\n# Client side (sending):\nffmpeg -i somefile.ogg -chunkedpost 0 -c copy -f ogg http://<server>:<port>\n\n# Client can also be done with wget:\nwget --post-file=somefile.ogg http://<server>:<port>\n\nsendexpect100\nSend an Expect: 100-continue header for POST. If set to 1 it will send, if set to 0 it\nwon't, if set to -1 it will try to send if it is applicable. Default value is -1.\n\nauthtype\nSet HTTP authentication type. No option for Digest, since this method requires getting\nnonce parameters from the server first and can't be used straight away like Basic.\n\nnone\nChoose the HTTP authentication type automatically. This is the default.\n\nbasic\nChoose the HTTP basic authentication.\n\nBasic authentication sends a Base64-encoded string that contains a user name and\npassword for the client. Base64 is not a form of encryption and should be considered\nthe same as sending the user name and password in clear text (Base64 is a reversible\nencoding).  If a resource needs to be protected, strongly consider using an\nauthentication scheme other than basic authentication. HTTPS/TLS should be used with\nbasic authentication.  Without these additional security enhancements, basic\nauthentication should not be used to protect sensitive or valuable information.\n\nHTTP Cookies\n\nSome HTTP requests will be denied unless cookie values are passed in with the request. The\ncookies option allows these cookies to be specified. At the very least, each cookie must\nspecify a value along with a path and domain.  HTTP requests that match both the domain and\npath will automatically include the cookie value in the HTTP Cookie header field. Multiple\ncookies can be delimited by a newline.\n\nThe required syntax to play a stream specifying a cookie is:\n\nffplay -cookies \"nlqptid=nltid=tsn; path=/; domain=somedomain.com;\" http://somedomain.com/somestream.m3u8\n"
                },
                {
                    "name": "Icecast",
                    "content": "Icecast protocol (stream to Icecast servers)\n\nThis protocol accepts the following options:\n\nicegenre\nSet the stream genre.\n\nicename\nSet the stream name.\n\nicedescription\nSet the stream description.\n\niceurl\nSet the stream website URL.\n\nicepublic\nSet if the stream should be public.  The default is 0 (not public).\n\nuseragent\nOverride the User-Agent header. If not specified a string of the form \"Lavf/<version>\"\nwill be used.\n"
                },
                {
                    "name": "password",
                    "content": "Set the Icecast mountpoint password.\n\ncontenttype\nSet the stream content type. This must be set if it is different from audio/mpeg.\n\nlegacyicecast\nThis enables support for Icecast versions < 2.4.0, that do not support the HTTP PUT\nmethod but the SOURCE method.\n\ntls Establish a TLS (HTTPS) connection to Icecast.\n\nicecast://[<username>[:<password>]@]<server>:<port>/<mountpoint>\n"
                },
                {
                    "name": "mmst",
                    "content": "MMS (Microsoft Media Server) protocol over TCP.\n"
                },
                {
                    "name": "mmsh",
                    "content": "MMS (Microsoft Media Server) protocol over HTTP.\n\nThe required syntax is:\n\nmmsh://<server>[:<port>][/<app>][/<playpath>]\n"
                },
                {
                    "name": "md5",
                    "content": "MD5 output protocol.\n\nComputes the MD5 hash of the data to be written, and on close writes this to the designated\noutput or stdout if none is specified. It can be used to test muxers without writing an\nactual file.\n\nSome examples follow.\n\n# Write the MD5 hash of the encoded AVI file to the file output.avi.md5.\nffmpeg -i input.flv -f avi -y md5:output.avi.md5\n\n# Write the MD5 hash of the encoded AVI file to stdout.\nffmpeg -i input.flv -f avi -y md5:\n\nNote that some formats (typically MOV) require the output protocol to be seekable, so they\nwill fail with the MD5 output protocol.\n"
                },
                {
                    "name": "pipe",
                    "content": "UNIX pipe access protocol.\n\nRead and write from UNIX pipes.\n\nThe accepted syntax is:\n\npipe:[<number>]\n\nnumber is the number corresponding to the file descriptor of the pipe (e.g. 0 for stdin, 1\nfor stdout, 2 for stderr).  If number is not specified, by default the stdout file descriptor\nwill be used for writing, stdin for reading.\n\nFor example to read from stdin with ffmpeg:\n\ncat test.wav | ffmpeg -i pipe:0\n# ...this is the same as...\ncat test.wav | ffmpeg -i pipe:\n\nFor writing to stdout with ffmpeg:\n\nffmpeg -i test.wav -f avi pipe:1 | cat > test.avi\n# ...this is the same as...\nffmpeg -i test.wav -f avi pipe: | cat > test.avi\n\nThis protocol accepts the following options:\n"
                },
                {
                    "name": "blocksize",
                    "content": "Set I/O operation maximum block size, in bytes. Default value is \"INTMAX\", which results\nin not limiting the requested block size.  Setting this value reasonably low improves\nuser termination request reaction time, which is valuable if data transmission is slow.\n\nNote that some formats (typically MOV), require the output protocol to be seekable, so they\nwill fail with the pipe output protocol.\n"
                },
                {
                    "name": "prompeg",
                    "content": "Pro-MPEG Code of Practice #3 Release 2 FEC protocol.\n\nThe Pro-MPEG CoP#3 FEC is a 2D parity-check forward error correction mechanism for MPEG-2\nTransport Streams sent over RTP.\n\nThis protocol must be used in conjunction with the \"rtpmpegts\" muxer and the \"rtp\" protocol.\n\nThe required syntax is:\n\n-f rtpmpegts -fec prompeg=<option>=<val>... rtp://<hostname>:<port>\n\nThe destination UDP ports are \"port + 2\" for the column FEC stream and \"port + 4\" for the row\nFEC stream.\n\nThis protocol accepts the following options:\n\nl=n The number of columns (4-20, LxD <= 100)\n\nd=n The number of rows (4-20, LxD <= 100)\n\nExample usage:\n\n-f rtpmpegts -fec prompeg=l=8:d=4 rtp://<hostname>:<port>\n"
                },
                {
                    "name": "rist",
                    "content": "Reliable Internet Streaming Transport protocol\n\nThe accepted options are:\n\nristprofile\nSupported values:\n\nsimple\nmain\nThis one is default.\n\nadvanced\nbuffersize\nSet internal RIST buffer size in milliseconds for retransmission of data.  Default value\nis 0 which means the librist default (1 sec). Maximum value is 30 seconds.\n\npktsize\nSet maximum packet size for sending data. 1316 by default.\n\nloglevel\nSet loglevel for RIST logging messages. You only need to set this if you explicitly want\nto enable debug level messages or packet loss simulation, otherwise the regular loglevel\nis respected.\n"
                },
                {
                    "name": "secret",
                    "content": "Set override of encryption secret, by default is unset.\n"
                },
                {
                    "name": "encryption",
                    "content": "Set encryption type, by default is disabled.  Acceptable values are 128 and 256.\n"
                },
                {
                    "name": "rtmp",
                    "content": "Real-Time Messaging Protocol.\n\nThe Real-Time Messaging Protocol (RTMP) is used for streaming multimedia content across a\nTCP/IP network.\n\nThe required syntax is:\n\nrtmp://[<username>:<password>@]<server>[:<port>][/<app>][/<instance>][/<playpath>]\n\nThe accepted parameters are:\n"
                },
                {
                    "name": "username",
                    "content": "An optional username (mostly for publishing).\n"
                },
                {
                    "name": "password",
                    "content": "An optional password (mostly for publishing).\n"
                },
                {
                    "name": "server",
                    "content": "The address of the RTMP server.\n"
                },
                {
                    "name": "port",
                    "content": "The number of the TCP port to use (by default is 1935).\n\napp It is the name of the application to access. It usually corresponds to the path where the\napplication is installed on the RTMP server (e.g. /ondemand/, /flash/live/, etc.). You\ncan override the value parsed from the URI through the \"rtmpapp\" option, too.\n"
                },
                {
                    "name": "playpath",
                    "content": "It is the path or name of the resource to play with reference to the application\nspecified in app, may be prefixed by \"mp4:\". You can override the value parsed from the\nURI through the \"rtmpplaypath\" option, too.\n"
                },
                {
                    "name": "listen",
                    "content": "Act as a server, listening for an incoming connection.\n"
                },
                {
                    "name": "timeout",
                    "content": "Maximum time to wait for the incoming connection. Implies listen.\n\nAdditionally, the following parameters can be set via command line options (or in code via\n\"AVOption\"s):\n\nrtmpapp\nName of application to connect on the RTMP server. This option overrides the parameter\nspecified in the URI.\n\nrtmpbuffer\nSet the client buffer time in milliseconds. The default is 3000.\n\nrtmpconn\nExtra arbitrary AMF connection parameters, parsed from a string, e.g. like \"B:1 S:authMe\nO:1 NN:code:1.23 NS:flag:ok O:0\".  Each value is prefixed by a single character denoting\nthe type, B for Boolean, N for number, S for string, O for object, or Z for null,\nfollowed by a colon. For Booleans the data must be either 0 or 1 for FALSE or TRUE,\nrespectively.  Likewise for Objects the data must be 0 or 1 to end or begin an object,\nrespectively. Data items in subobjects may be named, by prefixing the type with 'N' and\nspecifying the name before the value (i.e. \"NB:myFlag:1\"). This option may be used\nmultiple times to construct arbitrary AMF sequences.\n\nrtmpflashver\nVersion of the Flash plugin used to run the SWF player. The default is LNX 9,0,124,2.\n(When publishing, the default is FMLE/3.0 (compatible; <libavformat version>).)\n\nrtmpflushinterval\nNumber of packets flushed in the same request (RTMPT only). The default is 10.\n\nrtmplive\nSpecify that the media is a live stream. No resuming or seeking in live streams is\npossible. The default value is \"any\", which means the subscriber first tries to play the\nlive stream specified in the playpath. If a live stream of that name is not found, it\nplays the recorded stream. The other possible values are \"live\" and \"recorded\".\n\nrtmppageurl\nURL of the web page in which the media was embedded. By default no value will be sent.\n\nrtmpplaypath\nStream identifier to play or to publish. This option overrides the parameter specified in\nthe URI.\n\nrtmpsubscribe\nName of live stream to subscribe to. By default no value will be sent.  It is only sent\nif the option is specified or if rtmplive is set to live.\n\nrtmpswfhash\nSHA256 hash of the decompressed SWF file (32 bytes).\n\nrtmpswfsize\nSize of the decompressed SWF file, required for SWFVerification.\n\nrtmpswfurl\nURL of the SWF player for the media. By default no value will be sent.\n\nrtmpswfverify\nURL to player swf file, compute hash/size automatically.\n\nrtmptcurl\nURL of the target stream. Defaults to proto://host[:port]/app.\n\nFor example to read with ffplay a multimedia resource named \"sample\" from the application\n\"vod\" from an RTMP server \"myserver\":\n\nffplay rtmp://myserver/vod/sample\n\nTo publish to a password protected server, passing the playpath and app names separately:\n\nffmpeg -re -i <input> -f flv -rtmpplaypath some/long/path -rtmpapp long/app/name rtmp://username:password@myserver/\n"
                },
                {
                    "name": "rtmpe",
                    "content": "Encrypted Real-Time Messaging Protocol.\n\nThe Encrypted Real-Time Messaging Protocol (RTMPE) is used for streaming multimedia content\nwithin standard cryptographic primitives, consisting of Diffie-Hellman key exchange and\nHMACSHA256, generating a pair of RC4 keys.\n"
                },
                {
                    "name": "rtmps",
                    "content": "Real-Time Messaging Protocol over a secure SSL connection.\n\nThe Real-Time Messaging Protocol (RTMPS) is used for streaming multimedia content across an\nencrypted connection.\n"
                },
                {
                    "name": "rtmpt",
                    "content": "Real-Time Messaging Protocol tunneled through HTTP.\n\nThe Real-Time Messaging Protocol tunneled through HTTP (RTMPT) is used for streaming\nmultimedia content within HTTP requests to traverse firewalls.\n"
                },
                {
                    "name": "rtmpte",
                    "content": "Encrypted Real-Time Messaging Protocol tunneled through HTTP.\n\nThe Encrypted Real-Time Messaging Protocol tunneled through HTTP (RTMPTE) is used for\nstreaming multimedia content within HTTP requests to traverse firewalls.\n"
                },
                {
                    "name": "rtmpts",
                    "content": "Real-Time Messaging Protocol tunneled through HTTPS.\n\nThe Real-Time Messaging Protocol tunneled through HTTPS (RTMPTS) is used for streaming\nmultimedia content within HTTPS requests to traverse firewalls.\n"
                },
                {
                    "name": "libsmbclient",
                    "content": "libsmbclient permits one to manipulate CIFS/SMB network resources.\n\nFollowing syntax is required.\n\nsmb://[[domain:]user[:password@]]server[/share[/path[/file]]]\n\nThis protocol accepts the following options.\n"
                },
                {
                    "name": "timeout",
                    "content": "Set timeout in milliseconds of socket I/O operations used by the underlying low level\noperation. By default it is set to -1, which means that the timeout is not specified.\n"
                },
                {
                    "name": "truncate",
                    "content": "Truncate existing files on write, if set to 1. A value of 0 prevents truncating. Default\nvalue is 1.\n"
                },
                {
                    "name": "workgroup",
                    "content": "Set the workgroup used for making connections. By default workgroup is not specified.\n\nFor more information see: <http://www.samba.org/>.\n"
                },
                {
                    "name": "libssh",
                    "content": "Secure File Transfer Protocol via libssh\n\nRead from or write to remote resources using SFTP protocol.\n\nFollowing syntax is required.\n\nsftp://[user[:password]@]server[:port]/path/to/remote/resource.mpeg\n\nThis protocol accepts the following options.\n"
                },
                {
                    "name": "timeout",
                    "content": "Set timeout of socket I/O operations used by the underlying low level operation. By\ndefault it is set to -1, which means that the timeout is not specified.\n"
                },
                {
                    "name": "truncate",
                    "content": "Truncate existing files on write, if set to 1. A value of 0 prevents truncating. Default\nvalue is 1.\n\nprivatekey\nSpecify the path of the file containing private key to use during authorization.  By\ndefault libssh searches for keys in the ~/.ssh/ directory.\n\nExample: Play a file stored on remote server.\n\nffplay sftp://user:password@serveraddress:22/home/user/resource.mpeg\n"
                },
                {
                    "name": "librtmp rtmp, rtmpe, rtmps, rtmpt, rtmpte",
                    "content": "Real-Time Messaging Protocol and its variants supported through librtmp.\n\nRequires the presence of the librtmp headers and library during configuration. You need to\nexplicitly configure the build with \"--enable-librtmp\". If enabled this will replace the\nnative RTMP protocol.\n\nThis protocol provides most client functions and a few server functions needed to support\nRTMP, RTMP tunneled in HTTP (RTMPT), encrypted RTMP (RTMPE), RTMP over SSL/TLS (RTMPS) and\ntunneled variants of these encrypted types (RTMPTE, RTMPTS).\n\nThe required syntax is:\n\n<rtmpproto>://<server>[:<port>][/<app>][/<playpath>] <options>\n\nwhere rtmpproto is one of the strings \"rtmp\", \"rtmpt\", \"rtmpe\", \"rtmps\", \"rtmpte\", \"rtmpts\"\ncorresponding to each RTMP variant, and server, port, app and playpath have the same meaning\nas specified for the RTMP native protocol.  options contains a list of space-separated\noptions of the form key=val.\n\nSee the librtmp manual page (man 3 librtmp) for more information.\n\nFor example, to stream a file in real-time to an RTMP server using ffmpeg:\n\nffmpeg -re -i myfile -f flv rtmp://myserver/live/mystream\n\nTo play the same stream using ffplay:\n\nffplay \"rtmp://myserver/live/mystream live=1\"\n"
                },
                {
                    "name": "rtp",
                    "content": "Real-time Transport Protocol.\n\nThe required syntax for an RTP URL is: rtp://hostname[:port][?option=val...]\n\nport specifies the RTP port to use.\n\nThe following URL options are supported:\n\nttl=n\nSet the TTL (Time-To-Live) value (for multicast only).\n\nrtcpport=n\nSet the remote RTCP port to n.\n\nlocalrtpport=n\nSet the local RTP port to n.\n\nlocalrtcpport=n'\nSet the local RTCP port to n.\n\npktsize=n\nSet max packet size (in bytes) to n.\n\nbuffersize=size\nSet the maximum UDP socket buffer size in bytes.\n"
                },
                {
                    "name": "connect=0|1",
                    "content": "Do a \"connect()\" on the UDP socket (if set to 1) or not (if set to 0).\n\nsources=ip[,ip]\nList allowed source IP addresses.\n\nblock=ip[,ip]\nList disallowed (blocked) source IP addresses.\n\nwritetosource=0|1\nSend packets to the source address of the latest received packet (if set to 1) or to a\ndefault remote address (if set to 0).\n\nlocalport=n\nSet the local RTP port to n.\n\ntimeout=n\nSet timeout (in microseconds) of socket I/O operations to n.\n\nThis is a deprecated option. Instead, localrtpport should be used.\n\nImportant notes:\n\n1.  If rtcpport is not set the RTCP port will be set to the RTP port value plus 1.\n\n2.  If localrtpport (the local RTP port) is not set any available port will be used for the\nlocal RTP and RTCP ports.\n\n3.  If localrtcpport (the local RTCP port) is not set it will be set to the local RTP port\nvalue plus 1.\n"
                },
                {
                    "name": "rtsp",
                    "content": "Real-Time Streaming Protocol.\n\nRTSP is not technically a protocol handler in libavformat, it is a demuxer and muxer. The\ndemuxer supports both normal RTSP (with data transferred over RTP; this is used by e.g. Apple\nand Microsoft) and Real-RTSP (with data transferred over RDT).\n\nThe muxer can be used to send a stream using RTSP ANNOUNCE to a server supporting it\n(currently Darwin Streaming Server and Mischa Spiegelmock's\n<https://github.com/revmischa/rtsp-server>).\n\nThe required syntax for a RTSP url is:\n\nrtsp://<hostname>[:<port>]/<path>\n\nOptions can be set on the ffmpeg/ffplay command line, or set in code via \"AVOption\"s or in\n\"avformatopeninput\".\n\nThe following options are supported.\n\ninitialpause\nDo not start playing the stream immediately if set to 1. Default value is 0.\n\nrtsptransport\nSet RTSP transport protocols.\n\nIt accepts the following values:\n\nudp Use UDP as lower transport protocol.\n\ntcp Use TCP (interleaving within the RTSP control channel) as lower transport protocol.\n\nudpmulticast\nUse UDP multicast as lower transport protocol.\n\nhttp\nUse HTTP tunneling as lower transport protocol, which is useful for passing proxies.\n\nMultiple lower transport protocols may be specified, in that case they are tried one at a\ntime (if the setup of one fails, the next one is tried).  For the muxer, only the tcp and\nudp options are supported.\n\nrtspflags\nSet RTSP flags.\n\nThe following values are accepted:\n\nfiltersrc\nAccept packets only from negotiated peer address and port.\n\nlisten\nAct as a server, listening for an incoming connection.\n\nprefertcp\nTry TCP for RTP transport first, if TCP is available as RTSP RTP transport.\n\nDefault value is none.\n\nallowedmediatypes\nSet media types to accept from the server.\n\nThe following flags are accepted:\n\nvideo\naudio\ndata\n\nBy default it accepts all media types.\n\nminport\nSet minimum local UDP port. Default value is 5000.\n\nmaxport\nSet maximum local UDP port. Default value is 65000.\n"
                },
                {
                    "name": "timeout",
                    "content": "Set maximum timeout (in seconds) to wait for incoming connections.\n\nA value of -1 means infinite (default). This option implies the rtspflags set to listen.\n\nreorderqueuesize\nSet number of packets to buffer for handling of reordered packets.\n"
                },
                {
                    "name": "stimeout",
                    "content": "Set socket TCP I/O timeout in microseconds.\n"
                },
                {
                    "name": "user-agent",
                    "content": "Override User-Agent header. If not specified, it defaults to the libavformat identifier\nstring.\n\nWhen receiving data over UDP, the demuxer tries to reorder received packets (since they may\narrive out of order, or packets may get lost totally). This can be disabled by setting the\nmaximum demuxing delay to zero (via the \"maxdelay\" field of AVFormatContext).\n\nWhen watching multi-bitrate Real-RTSP streams with ffplay, the streams to display can be\nchosen with \"-vst\" n and \"-ast\" n for video and audio respectively, and can be switched on\nthe fly by pressing \"v\" and \"a\".\n\nExamples\n\nThe following examples all make use of the ffplay and ffmpeg tools.\n\n•   Watch a stream over UDP, with a max reordering delay of 0.5 seconds:\n\nffplay -maxdelay 500000 -rtsptransport udp rtsp://server/video.mp4\n\n•   Watch a stream tunneled over HTTP:\n\nffplay -rtsptransport http rtsp://server/video.mp4\n\n•   Send a stream in realtime to a RTSP server, for others to watch:\n\nffmpeg -re -i <input> -f rtsp -muxdelay 0.1 rtsp://server/live.sdp\n\n•   Receive a stream in realtime:\n\nffmpeg -rtspflags listen -i rtsp://ownaddress/live.sdp <output>\n"
                },
                {
                    "name": "sap",
                    "content": "Session Announcement Protocol (RFC 2974). This is not technically a protocol handler in\nlibavformat, it is a muxer and demuxer.  It is used for signalling of RTP streams, by\nannouncing the SDP for the streams regularly on a separate port.\n\nMuxer\n\nThe syntax for a SAP url given to the muxer is:\n\nsap://<destination>[:<port>][?<options>]\n\nThe RTP packets are sent to destination on port port, or to port 5004 if no port is\nspecified.  options is a \"&\"-separated list. The following options are supported:\n\nannounceaddr=address\nSpecify the destination IP address for sending the announcements to.  If omitted, the\nannouncements are sent to the commonly used SAP announcement multicast address\n224.2.127.254 (sap.mcast.net), or ff0e::2:7ffe if destination is an IPv6 address.\n\nannounceport=port\nSpecify the port to send the announcements on, defaults to 9875 if not specified.\n\nttl=ttl\nSpecify the time to live value for the announcements and RTP packets, defaults to 255.\n\nsameport=0|1\nIf set to 1, send all RTP streams on the same port pair. If zero (the default), all\nstreams are sent on unique ports, with each stream on a port 2 numbers higher than the\nprevious.  VLC/Live555 requires this to be set to 1, to be able to receive the stream.\nThe RTP stack in libavformat for receiving requires all streams to be sent on unique\nports.\n\nExample command lines follow.\n\nTo broadcast a stream on the local subnet, for watching in VLC:\n\nffmpeg -re -i <input> -f sap sap://224.0.0.255?sameport=1\n\nSimilarly, for watching in ffplay:\n\nffmpeg -re -i <input> -f sap sap://224.0.0.255\n\nAnd for watching in ffplay, over IPv6:\n\nffmpeg -re -i <input> -f sap sap://[ff0e::1:2:3:4]\n\nDemuxer\n\nThe syntax for a SAP url given to the demuxer is:\n\nsap://[<address>][:<port>]\n\naddress is the multicast address to listen for announcements on, if omitted, the default\n224.2.127.254 (sap.mcast.net) is used. port is the port that is listened on, 9875 if omitted.\n\nThe demuxers listens for announcements on the given address and port.  Once an announcement\nis received, it tries to receive that particular stream.\n\nExample command lines follow.\n\nTo play back the first stream announced on the normal SAP multicast address:\n\nffplay sap://\n\nTo play back the first stream announced on one the default IPv6 SAP multicast address:\n\nffplay sap://[ff0e::2:7ffe]\n"
                },
                {
                    "name": "sctp",
                    "content": "Stream Control Transmission Protocol.\n\nThe accepted URL syntax is:\n\nsctp://<host>:<port>[?<options>]\n\nThe protocol accepts the following options:\n"
                },
                {
                    "name": "listen",
                    "content": "If set to any value, listen for an incoming connection. Outgoing connection is done by\ndefault.\n\nmaxstreams\nSet the maximum number of streams. By default no limit is set.\n"
                },
                {
                    "name": "srt",
                    "content": "Haivision Secure Reliable Transport Protocol via libsrt.\n\nThe supported syntax for a SRT URL is:\n\nsrt://<hostname>:<port>[?<options>]\n\noptions contains a list of &-separated options of the form key=val.\n\nor\n\n<options> srt://<hostname>:<port>\n\noptions contains a list of '-key val' options.\n\nThis protocol accepts the following options.\n\nconnecttimeout=milliseconds\nConnection timeout; SRT cannot connect for RTT > 1500 msec (2 handshake exchanges) with\nthe default connect timeout of 3 seconds. This option applies to the caller and\nrendezvous connection modes. The connect timeout is 10 times the value set for the\nrendezvous mode (which can be used as a workaround for this connection problem with\nearlier versions).\n\nffs=bytes\nFlight Flag Size (Window Size), in bytes. FFS is actually an internal parameter and you\nshould set it to not less than recvbuffersize and mss. The default value is relatively\nlarge, therefore unless you set a very large receiver buffer, you do not need to change\nthis option. Default value is 25600.\n\ninputbw=bytes/seconds\nSender nominal input rate, in bytes per seconds. Used along with oheadbw, when maxbw is\nset to relative (0), to calculate maximum sending rate when recovery packets are sent\nalong with the main media stream: inputbw * (100 + oheadbw) / 100 if inputbw is not set\nwhile maxbw is set to relative (0), the actual input rate is evaluated inside the\nlibrary. Default value is 0.\n\niptos=tos\nIP Type of Service. Applies to sender only. Default value is 0xB8.\n\nipttl=ttl\nIP Time To Live. Applies to sender only. Default value is 64.\n\nlatency=microseconds\nTimestamp-based Packet Delivery Delay.  Used to absorb bursts of missed packet\nretransmissions.  This flag sets both rcvlatency and peerlatency to the same value. Note\nthat prior to version 1.3.0 this is the only flag to set the latency, however this is\neffectively equivalent to setting peerlatency, when side is sender and rcvlatency when\nside is receiver, and the bidirectional stream sending is not supported.\n\nlistentimeout=microseconds\nSet socket listen timeout.\n\nmaxbw=bytes/seconds\nMaximum sending bandwidth, in bytes per seconds.  -1 infinite (CSRTCC limit is 30mbps) 0\nrelative to input rate (see inputbw) >0 absolute limit value Default value is 0\n(relative)\n\nmode=caller|listener|rendezvous\nConnection mode.  caller opens client connection.  listener starts server to listen for\nincoming connections.  rendezvous use Rendez-Vous connection mode.  Default value is\ncaller.\n\nmss=bytes\nMaximum Segment Size, in bytes. Used for buffer allocation and rate calculation using a\npacket counter assuming fully filled packets. The smallest MSS between the peers is used.\nThis is 1500 by default in the overall internet.  This is the maximum size of the UDP\npacket and can be only decreased, unless you have some unusual dedicated network\nsettings. Default value is 1500.\n\nnakreport=1|0\nIf set to 1, Receiver will send `UMSGLOSSREPORT` messages periodically until a lost\npacket is retransmitted or intentionally dropped. Default value is 1.\n\noheadbw=percents\nRecovery bandwidth overhead above input rate, in percents.  See inputbw. Default value is\n25%.\n\npassphrase=string\nHaiCrypt Encryption/Decryption Passphrase string, length from 10 to 79 characters. The\npassphrase is the shared secret between the sender and the receiver. It is used to\ngenerate the Key Encrypting Key using PBKDF2 (Password-Based Key Derivation Function). It\nis used only if pbkeylen is non-zero. It is used on the receiver only if the received\ndata is encrypted.  The configured passphrase cannot be recovered (write-only).\n\nenforcedencryption=1|0\nIf true, both connection parties must have the same password set (including empty, that\nis, with no encryption). If the password doesn't match or only one side is unencrypted,\nthe connection is rejected. Default is true.\n\nkmrefreshrate=packets\nThe number of packets to be transmitted after which the encryption key is switched to a\nnew key. Default is -1.  -1 means auto (0x1000000 in srt library). The range for this\noption is integers in the 0 - \"INTMAX\".\n\nkmpreannounce=packets\nThe interval between when a new encryption key is sent and when switchover occurs. This\nvalue also applies to the subsequent interval between when switchover occurs and when the\nold encryption key is decommissioned. Default is -1.  -1 means auto (0x1000 in srt\nlibrary). The range for this option is integers in the 0 - \"INTMAX\".\n\npayloadsize=bytes\nSets the maximum declared size of a packet transferred during the single call to the\nsending function in Live mode. Use 0 if this value isn't used (which is default in file\nmode).  Default is -1 (automatic), which typically means MPEG-TS; if you are going to use\nSRT to send any different kind of payload, such as, for example, wrapping a live stream\nin very small frames, then you can use a bigger maximum frame size, though not greater\nthan 1456 bytes.\n\npktsize=bytes\nAlias for payloadsize.\n\npeerlatency=microseconds\nThe latency value (as described in rcvlatency) that is set by the sender side as a\nminimum value for the receiver.\n\npbkeylen=bytes\nSender encryption key length, in bytes.  Only can be set to 0, 16, 24 and 32.  Enable\nsender encryption if not 0.  Not required on receiver (set to 0), key size obtained from\nsender in HaiCrypt handshake.  Default value is 0.\n\nrcvlatency=microseconds\nThe time that should elapse since the moment when the packet was sent and the moment when\nit's delivered to the receiver application in the receiving function.  This time should\nbe a buffer time large enough to cover the time spent for sending, unexpectedly extended\nRTT time, and the time needed to retransmit the lost UDP packet. The effective latency\nvalue will be the maximum of this options' value and the value of peerlatency set by the\npeer side. Before version 1.3.0 this option is only available as latency.\n\nrecvbuffersize=bytes\nSet UDP receive buffer size, expressed in bytes.\n\nsendbuffersize=bytes\nSet UDP send buffer size, expressed in bytes.\n\ntimeout=microseconds\nSet raise error timeouts for read, write and connect operations. Note that the SRT\nlibrary has internal timeouts which can be controlled separately, the value set here is\nonly a cap on those.\n\ntlpktdrop=1|0\nToo-late Packet Drop. When enabled on receiver, it skips missing packets that have not\nbeen delivered in time and delivers the following packets to the application when their\ntime-to-play has come. It also sends a fake ACK to the sender. When enabled on sender and\nenabled on the receiving peer, the sender drops the older packets that have no chance of\nbeing delivered in time. It was automatically enabled in the sender if the receiver\nsupports it.\n\nsndbuf=bytes\nSet send buffer size, expressed in bytes.\n\nrcvbuf=bytes\nSet receive buffer size, expressed in bytes.\n\nReceive buffer must not be greater than ffs.\n\nlossmaxttl=packets\nThe value up to which the Reorder Tolerance may grow. When Reorder Tolerance is > 0, then\npacket loss report is delayed until that number of packets come in. Reorder Tolerance\nincreases every time a \"belated\" packet has come, but it wasn't due to retransmission\n(that is, when UDP packets tend to come out of order), with the difference between the\nlatest sequence and this packet's sequence, and not more than the value of this option.\nBy default it's 0, which means that this mechanism is turned off, and the loss report is\nalways sent immediately upon experiencing a \"gap\" in sequences.\n"
                },
                {
                    "name": "minversion",
                    "content": "The minimum SRT version that is required from the peer. A connection to a peer that does\nnot satisfy the minimum version requirement will be rejected.\n\nThe version format in hex is 0xXXYYZZ for x.y.z in human readable form.\n\nstreamid=string\nA string limited to 512 characters that can be set on the socket prior to connecting.\nThis stream ID will be able to be retrieved by the listener side from the socket that is\nreturned from srtaccept and was connected by a socket with that set stream ID. SRT does\nnot enforce any special interpretation of the contents of this string.  This option\ndoesnXt make sense in Rendezvous connection; the result might be that simply one side\nwill override the value from the other side and itXs the matter of luck which one would\nwin\n\nsmoother=live|file\nThe type of Smoother used for the transmission for that socket, which is responsible for\nthe transmission and congestion control. The Smoother type must be exactly the same on\nboth connecting parties, otherwise the connection is rejected.\n\nmessageapi=1|0\nWhen set, this socket uses the Message API, otherwise it uses Buffer API. Note that in\nlive mode (see transtype) thereXs only message API available. In File mode you can chose\nto use one of two modes:\n\nStream API (default, when this option is false). In this mode you may send as many data\nas you wish with one sending instruction, or even use dedicated functions that read\ndirectly from a file. The internal facility will take care of any speed and congestion\ncontrol. When receiving, you can also receive as many data as desired, the data not\nextracted will be waiting for the next call. There is no boundary between data portions\nin the Stream mode.\n\nMessage API. In this mode your single sending instruction passes exactly one piece of\ndata that has boundaries (a message). Contrary to Live mode, this message may span across\nmultiple UDP packets and the only size limitation is that it shall fit as a whole in the\nsending buffer. The receiver shall use as large buffer as necessary to receive the\nmessage, otherwise the message will not be given up. When the message is not complete\n(not all packets received or there was a packet loss) it will not be given up.\n\ntranstype=live|file\nSets the transmission type for the socket, in particular, setting this option sets\nmultiple other parameters to their default values as required for a particular\ntransmission type.\n\nlive: Set options as for live transmission. In this mode, you should send by one sending\ninstruction only so many data that fit in one UDP packet, and limited to the value\ndefined first in payloadsize (1316 is default in this mode). There is no speed control\nin this mode, only the bandwidth control, if configured, in order to not exceed the\nbandwidth with the overhead transmission (retransmitted and control packets).\n\nfile: Set options as for non-live transmission. See messageapi for further explanations\n\nlinger=seconds\nThe number of seconds that the socket waits for unsent data when closing.  Default is -1.\n-1 means auto (off with 0 seconds in live mode, on with 180 seconds in file mode). The\nrange for this option is integers in the 0 - \"INTMAX\".\n\nFor more information see: <https://github.com/Haivision/srt>.\n"
                },
                {
                    "name": "srtp",
                    "content": "Secure Real-time Transport Protocol.\n\nThe accepted options are:\n\nsrtpinsuite\nsrtpoutsuite\nSelect input and output encoding suites.\n\nSupported values:\n\nAESCM128HMACSHA180\nSRTPAES128CMHMACSHA180\nAESCM128HMACSHA132\nSRTPAES128CMHMACSHA132\nsrtpinparams\nsrtpoutparams\nSet input and output encoding parameters, which are expressed by a base64-encoded\nrepresentation of a binary block. The first 16 bytes of this binary block are used as\nmaster key, the following 14 bytes are used as master salt.\n"
                },
                {
                    "name": "subfile",
                    "content": "Virtually extract a segment of a file or another stream.  The underlying stream must be\nseekable.\n\nAccepted options:\n"
                },
                {
                    "name": "start",
                    "content": "Start offset of the extracted segment, in bytes.\n\nend End offset of the extracted segment, in bytes.  If set to 0, extract till end of file.\n\nExamples:\n\nExtract a chapter from a DVD VOB file (start and end sectors obtained externally and\nmultiplied by 2048):\n\nsubfile,,start,153391104,end,268142592,,:/media/dvd/VIDEOTS/VTS081.VOB\n\nPlay an AVI file directly from a TAR archive:\n\nsubfile,,start,183241728,end,366490624,,:archive.tar\n\nPlay a MPEG-TS file from start offset till end:\n\nsubfile,,start,32815239,end,0,,:video.ts\n"
                },
                {
                    "name": "tee",
                    "content": "Writes the output to multiple protocols. The individual outputs are separated by |\n\ntee:file://path/to/local/this.avi|file://path/to/local/that.avi\n"
                },
                {
                    "name": "tcp",
                    "content": "Transmission Control Protocol.\n\nThe required syntax for a TCP url is:\n\ntcp://<hostname>:<port>[?<options>]\n\noptions contains a list of &-separated options of the form key=val.\n\nThe list of supported options follows.\n\nlisten=2|1|0\nListen for an incoming connection. 0 disables listen, 1 enables listen in single client\nmode, 2 enables listen in multi-client mode. Default value is 0.\n\ntimeout=microseconds\nSet raise error timeout, expressed in microseconds.\n\nThis option is only relevant in read mode: if no data arrived in more than this time\ninterval, raise error.\n\nlistentimeout=milliseconds\nSet listen timeout, expressed in milliseconds.\n\nrecvbuffersize=bytes\nSet receive buffer size, expressed bytes.\n\nsendbuffersize=bytes\nSet send buffer size, expressed bytes.\n\ntcpnodelay=1|0\nSet TCPNODELAY to disable Nagle's algorithm. Default value is 0.\n\ntcpmss=bytes\nSet maximum segment size for outgoing TCP packets, expressed in bytes.\n\nThe following example shows how to setup a listening TCP connection with ffmpeg, which is\nthen accessed with ffplay:\n\nffmpeg -i <input> -f <format> tcp://<hostname>:<port>?listen\nffplay tcp://<hostname>:<port>\n"
                },
                {
                    "name": "tls",
                    "content": "Transport Layer Security (TLS) / Secure Sockets Layer (SSL)\n\nThe required syntax for a TLS/SSL url is:\n\ntls://<hostname>:<port>[?<options>]\n\nThe following parameters can be set via command line options (or in code via \"AVOption\"s):\n\ncafile, cafile=filename\nA file containing certificate authority (CA) root certificates to treat as trusted. If\nthe linked TLS library contains a default this might not need to be specified for\nverification to work, but not all libraries and setups have defaults built in.  The file\nmust be in OpenSSL PEM format.\n\ntlsverify=1|0\nIf enabled, try to verify the peer that we are communicating with.  Note, if using\nOpenSSL, this currently only makes sure that the peer certificate is signed by one of the\nroot certificates in the CA database, but it does not validate that the certificate\nactually matches the host name we are trying to connect to. (With other backends, the\nhost name is validated as well.)\n\nThis is disabled by default since it requires a CA database to be provided by the caller\nin many cases.\n\ncertfile, cert=filename\nA file containing a certificate to use in the handshake with the peer.  (When operating\nas server, in listen mode, this is more often required by the peer, while client\ncertificates only are mandated in certain setups.)\n\nkeyfile, key=filename\nA file containing the private key for the certificate.\n\nlisten=1|0\nIf enabled, listen for connections on the provided port, and assume the server role in\nthe handshake instead of the client role.\n\nhttpproxy\nThe HTTP proxy to tunnel through, e.g. \"http://example.com:1234\".  The proxy must support\nthe CONNECT method.\n\nExample command lines:\n\nTo create a TLS/SSL server that serves an input stream.\n\nffmpeg -i <input> -f <format> tls://<hostname>:<port>?listen&cert=<server.crt>&key=<server.key>\n\nTo play back a stream from the TLS/SSL server using ffplay:\n\nffplay tls://<hostname>:<port>\n"
                },
                {
                    "name": "udp",
                    "content": "User Datagram Protocol.\n\nThe required syntax for an UDP URL is:\n\nudp://<hostname>:<port>[?<options>]\n\noptions contains a list of &-separated options of the form key=val.\n\nIn case threading is enabled on the system, a circular buffer is used to store the incoming\ndata, which allows one to reduce loss of data due to UDP socket buffer overruns. The\nfifosize and overrunnonfatal options are related to this buffer.\n\nThe list of supported options follows.\n\nbuffersize=size\nSet the UDP maximum socket buffer size in bytes. This is used to set either the receive\nor send buffer size, depending on what the socket is used for.  Default is 32 KB for\noutput, 384 KB for input.  See also fifosize.\n\nbitrate=bitrate\nIf set to nonzero, the output will have the specified constant bitrate if the input has\nenough packets to sustain it.\n\nburstbits=bits\nWhen using bitrate this specifies the maximum number of bits in packet bursts.\n\nlocalport=port\nOverride the local UDP port to bind with.\n\nlocaladdr=addr\nLocal IP address of a network interface used for sending packets or joining multicast\ngroups.\n\npktsize=size\nSet the size in bytes of UDP packets.\n\nreuse=1|0\nExplicitly allow or disallow reusing UDP sockets.\n\nttl=ttl\nSet the time to live value (for multicast only).\n\nconnect=1|0\nInitialize the UDP socket with \"connect()\". In this case, the destination address can't\nbe changed with ffudpsetremoteurl later.  If the destination address isn't known at\nthe start, this option can be specified in ffudpsetremoteurl, too.  This allows\nfinding out the source address for the packets with getsockname, and makes writes return\nwith AVERROR(ECONNREFUSED) if \"destination unreachable\" is received.  For receiving, this\ngives the benefit of only receiving packets from the specified peer address/port.\n\nsources=address[,address]\nOnly receive packets sent from the specified addresses. In case of multicast, also\nsubscribe to multicast traffic coming from these addresses only.\n\nblock=address[,address]\nIgnore packets sent from the specified addresses. In case of multicast, also exclude the\nsource addresses in the multicast subscription.\n\nfifosize=units\nSet the UDP receiving circular buffer size, expressed as a number of packets with size of\n188 bytes. If not specified defaults to 7*4096.\n\noverrunnonfatal=1|0\nSurvive in case of UDP receiving circular buffer overrun. Default value is 0.\n\ntimeout=microseconds\nSet raise error timeout, expressed in microseconds.\n\nThis option is only relevant in read mode: if no data arrived in more than this time\ninterval, raise error.\n\nbroadcast=1|0\nExplicitly allow or disallow UDP broadcasting.\n\nNote that broadcasting may not work properly on networks having a broadcast storm\nprotection.\n\nExamples\n\n•   Use ffmpeg to stream over UDP to a remote endpoint:\n\nffmpeg -i <input> -f <format> udp://<hostname>:<port>\n\n•   Use ffmpeg to stream in mpegts format over UDP using 188 sized UDP packets, using a large\ninput buffer:\n\nffmpeg -i <input> -f mpegts udp://<hostname>:<port>?pktsize=188&buffersize=65535\n\n•   Use ffmpeg to receive over UDP from a remote endpoint:\n\nffmpeg -i udp://[<multicast-address>]:<port> ...\n"
                },
                {
                    "name": "unix",
                    "content": "Unix local socket\n\nThe required syntax for a Unix socket URL is:\n\nunix://<filepath>\n\nThe following parameters can be set via command line options (or in code via \"AVOption\"s):\n"
                },
                {
                    "name": "timeout",
                    "content": "Timeout in ms.\n"
                },
                {
                    "name": "listen",
                    "content": "Create the Unix socket in listening mode.\n"
                },
                {
                    "name": "zmq",
                    "content": "ZeroMQ asynchronous messaging using the libzmq library.\n\nThis library supports unicast streaming to multiple clients without relying on an external\nserver.\n\nThe required syntax for streaming or connecting to a stream is:\n\nzmq:tcp://ip-address:port\n\nExample: Create a localhost stream on port 5555:\n\nffmpeg -re -i input -f mpegts zmq:tcp://127.0.0.1:5555\n\nMultiple clients may connect to the stream using:\n\nffplay zmq:tcp://127.0.0.1:5555\n\nStreaming to multiple clients is implemented using a ZeroMQ Pub-Sub pattern.  The server side\nbinds to a port and publishes data. Clients connect to the server (via IP address/port) and\nsubscribe to the stream. The order in which the server and client start generally does not\nmatter.\n\nffmpeg must be compiled with the --enable-libzmq option to support this protocol.\n\nOptions can be set on the ffmpeg/ffplay command line. The following options are supported:\n\npktsize\nForces the maximum packet size for sending/receiving data. The default value is 131,072\nbytes. On the server side, this sets the maximum size of sent packets via ZeroMQ. On the\nclients, it sets an internal buffer size for receiving packets. Note that pktsize on the\nclients should be equal to or greater than pktsize on the server. Otherwise the received\nmessage may be truncated causing decoding errors.\n"
                }
            ]
        },
        "DEVICE OPTIONS": {
            "content": "The libavdevice library provides the same interface as libavformat. Namely, an input device\nis considered like a demuxer, and an output device like a muxer, and the interface and\ngeneric device options are the same provided by libavformat (see the ffmpeg-formats manual).\n\nIn addition each input or output device may support so-called private options, which are\nspecific for that component.\n\nOptions may be set by specifying -option value in the FFmpeg tools, or by setting the value\nexplicitly in the device \"AVFormatContext\" options or using the libavutil/opt.h API for\nprogrammatic use.\n",
            "subsections": []
        },
        "INPUT DEVICES": {
            "content": "Input devices are configured elements in FFmpeg which enable accessing the data coming from a\nmultimedia device attached to your system.\n\nWhen you configure your FFmpeg build, all the supported input devices are enabled by default.\nYou can list all available ones using the configure option \"--list-indevs\".\n\nYou can disable all the input devices using the configure option \"--disable-indevs\", and\nselectively enable an input device using the option \"--enable-indev=INDEV\", or you can\ndisable a particular input device using the option \"--disable-indev=INDEV\".\n\nThe option \"-devices\" of the ff* tools will display the list of supported input devices.\n\nA description of the currently available input devices follows.\n",
            "subsections": [
                {
                    "name": "alsa",
                    "content": "ALSA (Advanced Linux Sound Architecture) input device.\n\nTo enable this input device during configuration you need libasound installed on your system.\n\nThis device allows capturing from an ALSA device. The name of the device to capture has to be\nan ALSA card identifier.\n\nAn ALSA identifier has the syntax:\n\nhw:<CARD>[,<DEV>[,<SUBDEV>]]\n\nwhere the DEV and SUBDEV components are optional.\n\nThe three arguments (in order: CARD,DEV,SUBDEV) specify card number or identifier, device\nnumber and subdevice number (-1 means any).\n\nTo see the list of cards currently recognized by your system check the files\n/proc/asound/cards and /proc/asound/devices.\n\nFor example to capture with ffmpeg from an ALSA device with card id 0, you may run the\ncommand:\n\nffmpeg -f alsa -i hw:0 alsaout.wav\n\nFor more information see: <http://www.alsa-project.org/alsa-doc/alsa-lib/pcm.html>\n\nOptions\n\nsamplerate\nSet the sample rate in Hz. Default is 48000.\n"
                },
                {
                    "name": "channels",
                    "content": "Set the number of channels. Default is 2.\n\nandroidcamera\nAndroid camera input device.\n\nThis input devices uses the Android Camera2 NDK API which is available on devices with API\nlevel 24+. The availability of androidcamera is autodetected during configuration.\n\nThis device allows capturing from all cameras on an Android device, which are integrated into\nthe Camera2 NDK API.\n\nThe available cameras are enumerated internally and can be selected with the cameraindex\nparameter. The input file string is discarded.\n\nGenerally the back facing camera has index 0 while the front facing camera has index 1.\n\nOptions\n\nvideosize\nSet the video size given as a string such as 640x480 or hd720.  Falls back to the first\navailable configuration reported by Android if requested video size is not available or\nby default.\n"
                },
                {
                    "name": "framerate",
                    "content": "Set the video framerate.  Falls back to the first available configuration reported by\nAndroid if requested framerate is not available or by default (-1).\n\ncameraindex\nSet the index of the camera to use. Default is 0.\n\ninputqueuesize\nSet the maximum number of frames to buffer. Default is 5.\n"
                },
                {
                    "name": "avfoundation",
                    "content": "AVFoundation input device.\n\nAVFoundation is the currently recommended framework by Apple for streamgrabbing on OSX >=\n10.7 as well as on iOS.\n\nThe input filename has to be given in the following syntax:\n\n-i \"[[VIDEO]:[AUDIO]]\"\n\nThe first entry selects the video input while the latter selects the audio input.  The stream\nhas to be specified by the device name or the device index as shown by the device list.\nAlternatively, the video and/or audio input device can be chosen by index using the\n\nB<-videodeviceindex E<lt>INDEXE<gt>>\n\nand/or\n\nB<-audiodeviceindex E<lt>INDEXE<gt>>\n\n, overriding any device name or index given in the input filename.\n\nAll available devices can be enumerated by using -listdevices true, listing all device names\nand corresponding indices.\n\nThere are two device name aliases:\n\n\"default\"\nSelect the AVFoundation default device of the corresponding type.\n\n\"none\"\nDo not record the corresponding media type.  This is equivalent to specifying an empty\ndevice name or index.\n\nOptions\n\nAVFoundation supports the following options:\n"
                },
                {
                    "name": "-list",
                    "content": "If set to true, a list of all available input devices is given showing all device names\nand indices.\n"
                },
                {
                    "name": "-video",
                    "content": "Specify the video device by its index. Overrides anything given in the input filename.\n"
                },
                {
                    "name": "-audio",
                    "content": "Specify the audio device by its index. Overrides anything given in the input filename.\n"
                },
                {
                    "name": "-pixel",
                    "content": "Request the video device to use a specific pixel format.  If the specified format is not\nsupported, a list of available formats is given and the first one in this list is used\ninstead. Available pixel formats are: \"monob, rgb555be, rgb555le, rgb565be, rgb565le,\nrgb24, bgr24, 0rgb, bgr0, 0bgr, rgb0,\nbgr48be, uyvy422, yuva444p, yuva444p16le, yuv444p, yuv422p16, yuv422p10, yuv444p10,\nyuv420p, nv12, yuyv422, gray\"\n"
                },
                {
                    "name": "-framerate",
                    "content": "Set the grabbing frame rate. Default is \"ntsc\", corresponding to a frame rate of\n\"30000/1001\".\n"
                },
                {
                    "name": "-video",
                    "content": "Set the video frame size.\n"
                },
                {
                    "name": "-capture",
                    "content": "Capture the mouse pointer. Default is 0.\n"
                },
                {
                    "name": "-capture",
                    "content": "Capture the screen mouse clicks. Default is 0.\n"
                },
                {
                    "name": "-capture",
                    "content": "Capture the raw device data. Default is 0.  Using this option may result in receiving the\nunderlying data delivered to the AVFoundation framework. E.g. for muxed devices that\nsends raw DV data to the framework (like tape-based camcorders), setting this option to\nfalse results in extracted video frames captured in the designated pixel format only.\nSetting this option to true results in receiving the raw DV stream untouched.\n\nExamples\n\n•   Print the list of AVFoundation supported devices and exit:\n\n$ ffmpeg -f avfoundation -listdevices true -i \"\"\n\n•   Record video from video device 0 and audio from audio device 0 into out.avi:\n\n$ ffmpeg -f avfoundation -i \"0:0\" out.avi\n\n•   Record video from video device 2 and audio from audio device 1 into out.avi:\n\n$ ffmpeg -f avfoundation -videodeviceindex 2 -i \":1\" out.avi\n\n•   Record video from the system default video device using the pixel format bgr0 and do not\nrecord any audio into out.avi:\n\n$ ffmpeg -f avfoundation -pixelformat bgr0 -i \"default:none\" out.avi\n\n•   Record raw DV data from a suitable input device and write the output into out.dv:\n\n$ ffmpeg -f avfoundation -capturerawdata true -i \"zr100:none\" out.dv\n"
                },
                {
                    "name": "bktr",
                    "content": "BSD video input device.\n\nOptions\n"
                },
                {
                    "name": "framerate",
                    "content": "Set the frame rate.\n\nvideosize\nSet the video frame size. Default is \"vga\".\n"
                },
                {
                    "name": "standard",
                    "content": "Available values are:\n\npal\nntsc\nsecam\npaln\npalm\nntscj\n"
                },
                {
                    "name": "decklink",
                    "content": "The decklink input device provides capture capabilities for Blackmagic DeckLink devices.\n\nTo enable this input device, you need the Blackmagic DeckLink SDK and you need to configure\nwith the appropriate \"--extra-cflags\" and \"--extra-ldflags\".  On Windows, you need to run the\nIDL files through widl.\n\nDeckLink is very picky about the formats it supports. Pixel format of the input can be set\nwith rawformat.  Framerate and video size must be determined for your device with"
                },
                {
                    "name": "-list",
                    "content": "16. Note that all audio channels are bundled in one single audio track.\n\nOptions\n\nlistdevices\nIf set to true, print a list of devices and exit.  Defaults to false. This option is\ndeprecated, please use the \"-sources\" option of ffmpeg to list the available input\ndevices.\n\nlistformats\nIf set to true, print a list of supported formats and exit.  Defaults to false.\n\nformatcode <FourCC>\nThis sets the input video format to the format given by the FourCC. To see the supported\nvalues of your device(s) use listformats.  Note that there is a FourCC 'pal ' that can\nalso be used as pal (3 letters).  Default behavior is autodetection of the input video\nformat, if the hardware supports it.\n\nrawformat\nSet the pixel format of the captured video.  Available values are:\n\nauto\nThis is the default which means 8-bit YUV 422 or 8-bit ARGB if format autodetection\nis used, 8-bit YUV 422 otherwise.\n\nuyvy422\n8-bit YUV 422.\n\nyuv422p10\n10-bit YUV 422.\n\nargb\n8-bit RGB.\n\nbgra\n8-bit RGB.\n\nrgb10\n10-bit RGB.\n\nteletextlines\nIf set to nonzero, an additional teletext stream will be captured from the vertical\nancillary data. Both SD PAL (576i) and HD (1080i or 1080p) sources are supported. In case\nof HD sources, OP47 packets are decoded.\n\nThis option is a bitmask of the SD PAL VBI lines captured, specifically lines 6 to 22,\nand lines 318 to 335. Line 6 is the LSB in the mask. Selected lines which do not contain\nteletext information will be ignored. You can use the special all constant to select all\npossible lines, or standard to skip lines 6, 318 and 319, which are not compatible with\nall receivers.\n\nFor SD sources, ffmpeg needs to be compiled with \"--enable-libzvbi\". For HD sources, on\nolder (pre-4K) DeckLink card models you have to capture in 10 bit mode.\n"
                },
                {
                    "name": "channels",
                    "content": "Defines number of audio channels to capture. Must be 2, 8 or 16.  Defaults to 2.\n\nduplexmode\nSets the decklink device duplex mode. Must be unset, half or full.  Defaults to unset.\n\ntimecodeformat\nTimecode type to include in the frame and video stream metadata. Must be none, rp188vitc,\nrp188vitc2, rp188ltc, rp188hfr, rp188any, vitc, vitc2, or serial.  Defaults to none (not\nincluded).\n\nIn order to properly support 50/60 fps timecodes, the ordering of the queried timecode\ntypes for rp188any is HFR, VITC1, VITC2 and LTC for >30 fps content. Note that this is\nslightly different to the ordering used by the DeckLink API, which is HFR, VITC1, LTC,\nVITC2.\n\nvideoinput\nSets the video input source. Must be unset, sdi, hdmi, opticalsdi, component, composite\nor svideo.  Defaults to unset.\n\naudioinput\nSets the audio input source. Must be unset, embedded, aesebu, analog, analogxlr,\nanalogrca or microphone. Defaults to unset.\n\nvideopts\nSets the video packet timestamp source. Must be video, audio, reference, wallclock or\nabswallclock.  Defaults to video.\n\naudiopts\nSets the audio packet timestamp source. Must be video, audio, reference, wallclock or\nabswallclock.  Defaults to audio.\n\ndrawbars\nIf set to true, color bars are drawn in the event of a signal loss.  Defaults to true.\n\nqueuesize\nSets maximum input buffer size in bytes. If the buffering reaches this value, incoming\nframes will be dropped.  Defaults to 1073741824.\n\naudiodepth\nSets the audio sample bit depth. Must be 16 or 32.  Defaults to 16.\n\ndecklinkcopyts\nIf set to true, timestamps are forwarded as they are without removing the initial offset.\nDefaults to false.\n\ntimestampalign\nCapture start time alignment in seconds. If set to nonzero, input frames are dropped till\nthe system timestamp aligns with configured value.  Alignment difference of up to one\nframe duration is tolerated.  This is useful for maintaining input synchronization across\nN different hardware devices deployed for 'N-way' redundancy. The system time of\ndifferent hardware devices should be synchronized with protocols such as NTP or PTP,\nbefore using this option.  Note that this method is not foolproof. In some border cases\ninput synchronization may not happen due to thread scheduling jitters in the OS.  Either\nsync could go wrong by 1 frame or in a rarer case timestampalign seconds.  Defaults to\n0.\n\nwaitfortc (bool)\nDrop frames till a frame with timecode is received. Sometimes serial timecode isn't\nreceived with the first input frame. If that happens, the stored stream timecode will be\ninaccurate. If this option is set to true, input frames are dropped till a frame with\ntimecode is received.  Option timecodeformat must be specified.  Defaults to false.\n\nenableklv(bool)\nIf set to true, extracts KLV data from VANC and outputs KLV packets.  KLV VANC packets\nare joined based on MID and PSC fields and aggregated into one KLV packet.  Defaults to\nfalse.\n\nExamples\n\n•   List input devices:\n\nffmpeg -sources decklink\n\n•   List supported formats:\n\nffmpeg -f decklink -listformats 1 -i 'Intensity Pro'\n\n•   Capture video clip at 1080i50:\n\nffmpeg -formatcode Hi50 -f decklink -i 'Intensity Pro' -c:a copy -c:v copy output.avi\n\n•   Capture video clip at 1080i50 10 bit:\n\nffmpeg -rawformat yuv422p10 -formatcode Hi50 -f decklink -i 'UltraStudio Mini Recorder' -c:a copy -c:v copy output.avi\n\n•   Capture video clip at 1080i50 with 16 audio channels:\n\nffmpeg -channels 16 -formatcode Hi50 -f decklink -i 'UltraStudio Mini Recorder' -c:a copy -c:v copy output.avi\n"
                },
                {
                    "name": "dshow",
                    "content": "Windows DirectShow input device.\n\nDirectShow support is enabled when FFmpeg is built with the mingw-w64 project.  Currently\nonly audio and video devices are supported.\n\nMultiple devices may be opened as separate inputs, but they may also be opened on the same\ninput, which should improve synchronism between them.\n\nThe input name should be in the format:\n\n<TYPE>=<NAME>[:<TYPE>=<NAME>]\n\nwhere TYPE can be either audio or video, and NAME is the device's name or alternative name..\n\nOptions\n\nIf no options are specified, the device's defaults are used.  If the device does not support\nthe requested options, it will fail to open.\n\nvideosize\nSet the video size in the captured video.\n"
                },
                {
                    "name": "framerate",
                    "content": "Set the frame rate in the captured video.\n\nsamplerate\nSet the sample rate (in Hz) of the captured audio.\n\nsamplesize\nSet the sample size (in bits) of the captured audio.\n"
                },
                {
                    "name": "channels",
                    "content": "Set the number of channels in the captured audio.\n\nlistdevices\nIf set to true, print a list of devices and exit.\n\nlistoptions\nIf set to true, print a list of selected device's options and exit.\n\nvideodevicenumber\nSet video device number for devices with the same name (starts at 0, defaults to 0).\n\naudiodevicenumber\nSet audio device number for devices with the same name (starts at 0, defaults to 0).\n\npixelformat\nSelect pixel format to be used by DirectShow. This may only be set when the video codec\nis not set or set to rawvideo.\n\naudiobuffersize\nSet audio device buffer size in milliseconds (which can directly impact latency,\ndepending on the device).  Defaults to using the audio device's default buffer size\n(typically some multiple of 500ms).  Setting this value too low can degrade performance.\nSee also <http://msdn.microsoft.com/en-us/library/windows/desktop/dd377582(v=vs.85).aspx>\n\nvideopinname\nSelect video capture pin to use by name or alternative name.\n\naudiopinname\nSelect audio capture pin to use by name or alternative name.\n\ncrossbarvideoinputpinnumber\nSelect video input pin number for crossbar device. This will be routed to the crossbar\ndevice's Video Decoder output pin.  Note that changing this value can affect future\ninvocations (sets a new default) until system reboot occurs.\n\ncrossbaraudioinputpinnumber\nSelect audio input pin number for crossbar device. This will be routed to the crossbar\ndevice's Audio Decoder output pin.  Note that changing this value can affect future\ninvocations (sets a new default) until system reboot occurs.\n\nshowvideodevicedialog\nIf set to true, before capture starts, popup a display dialog to the end user, allowing\nthem to change video filter properties and configurations manually.  Note that for\ncrossbar devices, adjusting values in this dialog may be needed at times to toggle\nbetween PAL (25 fps) and NTSC (29.97) input frame rates, sizes, interlacing, etc.\nChanging these values can enable different scan rates/frame rates and avoiding green bars\nat the bottom, flickering scan lines, etc.  Note that with some devices, changing these\nproperties can also affect future invocations (sets new defaults) until system reboot\noccurs.\n\nshowaudiodevicedialog\nIf set to true, before capture starts, popup a display dialog to the end user, allowing\nthem to change audio filter properties and configurations manually.\n\nshowvideocrossbarconnectiondialog\nIf set to true, before capture starts, popup a display dialog to the end user, allowing\nthem to manually modify crossbar pin routings, when it opens a video device.\n\nshowaudiocrossbarconnectiondialog\nIf set to true, before capture starts, popup a display dialog to the end user, allowing\nthem to manually modify crossbar pin routings, when it opens an audio device.\n\nshowanalogtvtunerdialog\nIf set to true, before capture starts, popup a display dialog to the end user, allowing\nthem to manually modify TV channels and frequencies.\n\nshowanalogtvtuneraudiodialog\nIf set to true, before capture starts, popup a display dialog to the end user, allowing\nthem to manually modify TV audio (like mono vs. stereo, Language A,B or C).\n\naudiodeviceload\nLoad an audio capture filter device from file instead of searching it by name. It may\nload additional parameters too, if the filter supports the serialization of its\nproperties to.  To use this an audio capture source has to be specified, but it can be\nanything even fake one.\n\naudiodevicesave\nSave the currently used audio capture filter device and its parameters (if the filter\nsupports it) to a file.  If a file with the same name exists it will be overwritten.\n\nvideodeviceload\nLoad a video capture filter device from file instead of searching it by name. It may load\nadditional parameters too, if the filter supports the serialization of its properties to.\nTo use this a video capture source has to be specified, but it can be anything even fake\none.\n\nvideodevicesave\nSave the currently used video capture filter device and its parameters (if the filter\nsupports it) to a file.  If a file with the same name exists it will be overwritten.\n\nExamples\n\n•   Print the list of DirectShow supported devices and exit:\n\n$ ffmpeg -listdevices true -f dshow -i dummy\n\n•   Open video device Camera:\n\n$ ffmpeg -f dshow -i video=\"Camera\"\n\n•   Open second video device with name Camera:\n\n$ ffmpeg -f dshow -videodevicenumber 1 -i video=\"Camera\"\n\n•   Open video device Camera and audio device Microphone:\n\n$ ffmpeg -f dshow -i video=\"Camera\":audio=\"Microphone\"\n\n•   Print the list of supported options in selected device and exit:\n\n$ ffmpeg -listoptions true -f dshow -i video=\"Camera\"\n\n•   Specify pin names to capture by name or alternative name, specify alternative device\nname:\n\n$ ffmpeg -f dshow -audiopinname \"Audio Out\" -videopinname 2 -i video=video=\"@devicepnp\\\\?\\pci#ven1a0a&dev6200&subsys62021461&rev01#4&e2c7dd6&0&00e1#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\\{ca465100-deb0-4d59-818f-8c477184adf6}\":audio=\"Microphone\"\n\n•   Configure a crossbar device, specifying crossbar pins, allow user to adjust video capture\nproperties at startup:\n\n$ ffmpeg -f dshow -showvideodevicedialog true -crossbarvideoinputpinnumber 0\n-crossbaraudioinputpinnumber 3 -i video=\"AVerMedia BDA Analog Capture\":audio=\"AVerMedia BDA Analog Capture\"\n"
                },
                {
                    "name": "fbdev",
                    "content": "Linux framebuffer input device.\n\nThe Linux framebuffer is a graphic hardware-independent abstraction layer to show graphics on\na computer monitor, typically on the console. It is accessed through a file device node,\nusually /dev/fb0.\n\nFor more detailed information read the file Documentation/fb/framebuffer.txt included in the\nLinux source tree.\n\nSee also <http://linux-fbdev.sourceforge.net/>, and fbset(1).\n\nTo record from the framebuffer device /dev/fb0 with ffmpeg:\n\nffmpeg -f fbdev -framerate 10 -i /dev/fb0 out.avi\n\nYou can take a single screenshot image with the command:\n\nffmpeg -f fbdev -framerate 1 -i /dev/fb0 -frames:v 1 screenshot.jpeg\n\nOptions\n"
                },
                {
                    "name": "framerate",
                    "content": "Set the frame rate. Default is 25.\n"
                },
                {
                    "name": "gdigrab",
                    "content": "Win32 GDI-based screen capture device.\n\nThis device allows you to capture a region of the display on Windows.\n\nThere are two options for the input filename:\n\ndesktop\n\nor\n\ntitle=<windowtitle>\n\nThe first option will capture the entire desktop, or a fixed region of the desktop. The\nsecond option will instead capture the contents of a single window, regardless of its\nposition on the screen.\n\nFor example, to grab the entire desktop using ffmpeg:\n\nffmpeg -f gdigrab -framerate 6 -i desktop out.mpg\n\nGrab a 640x480 region at position \"10,20\":\n\nffmpeg -f gdigrab -framerate 6 -offsetx 10 -offsety 20 -videosize vga -i desktop out.mpg\n\nGrab the contents of the window named \"Calculator\"\n\nffmpeg -f gdigrab -framerate 6 -i title=Calculator out.mpg\n\nOptions\n\ndrawmouse\nSpecify whether to draw the mouse pointer. Use the value 0 to not draw the pointer.\nDefault value is 1.\n"
                },
                {
                    "name": "framerate",
                    "content": "Set the grabbing frame rate. Default value is \"ntsc\", corresponding to a frame rate of\n\"30000/1001\".\n\nshowregion\nShow grabbed region on screen.\n\nIf showregion is specified with 1, then the grabbing region will be indicated on screen.\nWith this option, it is easy to know what is being grabbed if only a portion of the\nscreen is grabbed.\n\nNote that showregion is incompatible with grabbing the contents of a single window.\n\nFor example:\n\nffmpeg -f gdigrab -showregion 1 -framerate 6 -videosize cif -offsetx 10 -offsety 20 -i desktop out.mpg\n\nvideosize\nSet the video frame size. The default is to capture the full screen if desktop is\nselected, or the full window size if title=windowtitle is selected.\n\noffsetx\nWhen capturing a region with videosize, set the distance from the left edge of the\nscreen or desktop.\n\nNote that the offset calculation is from the top left corner of the primary monitor on\nWindows. If you have a monitor positioned to the left of your primary monitor, you will\nneed to use a negative offsetx value to move the region to that monitor.\n\noffsety\nWhen capturing a region with videosize, set the distance from the top edge of the screen\nor desktop.\n\nNote that the offset calculation is from the top left corner of the primary monitor on\nWindows. If you have a monitor positioned above your primary monitor, you will need to\nuse a negative offsety value to move the region to that monitor.\n"
                },
                {
                    "name": "iec61883",
                    "content": "FireWire DV/HDV input device using libiec61883.\n\nTo enable this input device, you need libiec61883, libraw1394 and libavc1394 installed on\nyour system. Use the configure option \"--enable-libiec61883\" to compile with the device\nenabled.\n\nThe iec61883 capture device supports capturing from a video device connected via IEEE1394\n(FireWire), using libiec61883 and the new Linux FireWire stack (juju). This is the default\nDV/HDV input method in Linux Kernel 2.6.37 and later, since the old FireWire stack was\nremoved.\n\nSpecify the FireWire port to be used as input file, or \"auto\" to choose the first port\nconnected.\n\nOptions\n"
                },
                {
                    "name": "dvtype",
                    "content": "Override autodetection of DV/HDV. This should only be used if auto detection does not\nwork, or if usage of a different device type should be prohibited. Treating a DV device\nas HDV (or vice versa) will not work and result in undefined behavior.  The values auto,\ndv and hdv are supported.\n"
                },
                {
                    "name": "dvbuffer",
                    "content": "Set maximum size of buffer for incoming data, in frames. For DV, this is an exact value.\nFor HDV, it is not frame exact, since HDV does not have a fixed frame size.\n"
                },
                {
                    "name": "dvguid",
                    "content": "Select the capture device by specifying its GUID. Capturing will only be performed from\nthe specified device and fails if no device with the given GUID is found. This is useful\nto select the input if multiple devices are connected at the same time.  Look at\n/sys/bus/firewire/devices to find out the GUIDs.\n\nExamples\n\n•   Grab and show the input of a FireWire DV/HDV device.\n\nffplay -f iec61883 -i auto\n\n•   Grab and record the input of a FireWire DV/HDV device, using a packet buffer of 100000\npackets if the source is HDV.\n\nffmpeg -f iec61883 -i auto -dvbuffer 100000 out.mpg\n"
                },
                {
                    "name": "jack",
                    "content": "JACK input device.\n\nTo enable this input device during configuration you need libjack installed on your system.\n\nA JACK input device creates one or more JACK writable clients, one for each audio channel,\nwith name clientname:inputN, where clientname is the name provided by the application, and\nN is a number which identifies the channel.  Each writable client will send the acquired data\nto the FFmpeg input device.\n\nOnce you have created one or more JACK readable clients, you need to connect them to one or\nmore JACK writable clients.\n\nTo connect or disconnect JACK clients you can use the jackconnect and jackdisconnect\nprograms, or do it through a graphical interface, for example with qjackctl.\n\nTo list the JACK clients and their properties you can invoke the command jacklsp.\n\nFollows an example which shows how to capture a JACK readable client with ffmpeg.\n\n# Create a JACK writable client with name \"ffmpeg\".\n$ ffmpeg -f jack -i ffmpeg -y out.wav\n\n# Start the sample jackmetro readable client.\n$ jackmetro -b 120 -d 0.2 -f 4000\n\n# List the current JACK clients.\n$ jacklsp -c\nsystem:capture1\nsystem:capture2\nsystem:playback1\nsystem:playback2\nffmpeg:input1\nmetro:120bpm\n\n# Connect metro to the ffmpeg writable client.\n$ jackconnect metro:120bpm ffmpeg:input1\n\nFor more information read: <http://jackaudio.org/>\n\nOptions\n"
                },
                {
                    "name": "channels",
                    "content": "Set the number of channels. Default is 2.\n"
                },
                {
                    "name": "kmsgrab",
                    "content": "KMS video input device.\n\nCaptures the KMS scanout framebuffer associated with a specified CRTC or plane as a DRM\nobject that can be passed to other hardware functions.\n\nRequires either DRM master or CAPSYSADMIN to run.\n\nIf you don't understand what all of that means, you probably don't want this.  Look at\nx11grab instead.\n\nOptions\n"
                },
                {
                    "name": "device",
                    "content": "DRM device to capture on.  Defaults to /dev/dri/card0.\n"
                },
                {
                    "name": "format",
                    "content": "Pixel format of the framebuffer.  This can be autodetected if you are running Linux 5.7\nor later, but needs to be provided for earlier versions.  Defaults to bgr0, which is the\nmost common format used by the Linux console and Xorg X server.\n\nformatmodifier\nFormat modifier to signal on output frames.  This is necessary to import correctly into\nsome APIs.  It can be autodetected if you are running Linux 5.7 or later, but will need\nto be provided explicitly when needed in earlier versions.  See the libdrm documentation\nfor possible values.\n\ncrtcid\nKMS CRTC ID to define the capture source.  The first active plane on the given CRTC will\nbe used.\n\nplaneid\nKMS plane ID to define the capture source.  Defaults to the first active plane found if\nneither crtcid nor planeid are specified.\n"
                },
                {
                    "name": "framerate",
                    "content": "Framerate to capture at.  This is not synchronised to any page flipping or framebuffer\nchanges - it just defines the interval at which the framebuffer is sampled.  Sampling\nfaster than the framebuffer update rate will generate independent frames with the same\ncontent.  Defaults to 30.\n\nExamples\n\n•   Capture from the first active plane, download the result to normal frames and encode.\nThis will only work if the framebuffer is both linear and mappable - if not, the result\nmay be scrambled or fail to download.\n\nffmpeg -f kmsgrab -i - -vf 'hwdownload,format=bgr0' output.mp4\n\n•   Capture from CRTC ID 42 at 60fps, map the result to VAAPI, convert to NV12 and encode as\nH.264.\n\nffmpeg -crtcid 42 -framerate 60 -f kmsgrab -i - -vf 'hwmap=derivedevice=vaapi,scalevaapi=w=1920:h=1080:format=nv12' -c:v h264vaapi output.mp4\n\n•   To capture only part of a plane the output can be cropped - this can be used to capture a\nsingle window, as long as it has a known absolute position and size.  For example, to\ncapture and encode the middle quarter of a 1920x1080 plane:\n\nffmpeg -f kmsgrab -i - -vf 'hwmap=derivedevice=vaapi,crop=960:540:480:270,scalevaapi=960:540:nv12' -c:v h264vaapi output.mp4\n"
                },
                {
                    "name": "lavfi",
                    "content": "Libavfilter input virtual device.\n\nThis input device reads data from the open output pads of a libavfilter filtergraph.\n\nFor each filtergraph open output, the input device will create a corresponding stream which\nis mapped to the generated output. Currently only video data is supported. The filtergraph is\nspecified through the option graph.\n\nOptions\n"
                },
                {
                    "name": "graph",
                    "content": "Specify the filtergraph to use as input. Each video open output must be labelled by a\nunique string of the form \"outN\", where N is a number starting from 0 corresponding to\nthe mapped input stream generated by the device.  The first unlabelled output is\nautomatically assigned to the \"out0\" label, but all the others need to be specified\nexplicitly.\n\nThe suffix \"+subcc\" can be appended to the output label to create an extra stream with\nthe closed captions packets attached to that output (experimental; only for EIA-608 /\nCEA-708 for now).  The subcc streams are created after all the normal streams, in the\norder of the corresponding stream.  For example, if there is \"out19+subcc\", \"out7+subcc\"\nand up to \"out42\", the stream #43 is subcc for stream #7 and stream #44 is subcc for\nstream #19.\n\nIf not specified defaults to the filename specified for the input device.\n\ngraphfile\nSet the filename of the filtergraph to be read and sent to the other filters. Syntax of\nthe filtergraph is the same as the one specified by the option graph.\n"
                },
                {
                    "name": "dumpgraph",
                    "content": "Dump graph to stderr.\n\nExamples\n\n•   Create a color video stream and play it back with ffplay:\n\nffplay -f lavfi -graph \"color=c=pink [out0]\" dummy\n\n•   As the previous example, but use filename for specifying the graph description, and omit\nthe \"out0\" label:\n\nffplay -f lavfi color=c=pink\n\n•   Create three different video test filtered sources and play them:\n\nffplay -f lavfi -graph \"testsrc [out0]; testsrc,hflip [out1]; testsrc,negate [out2]\" test3\n\n•   Read an audio stream from a file using the amovie source and play it back with ffplay:\n\nffplay -f lavfi \"amovie=test.wav\"\n\n•   Read an audio stream and a video stream and play it back with ffplay:\n\nffplay -f lavfi \"movie=test.avi[out0];amovie=test.wav[out1]\"\n\n•   Dump decoded frames to images and closed captions to a file (experimental):\n\nffmpeg -f lavfi -i \"movie=test.ts[out0+subcc]\" -map v frame%08d.png -map s -c copy -f rawvideo subcc.bin\n"
                },
                {
                    "name": "libcdio",
                    "content": "Audio-CD input device based on libcdio.\n\nTo enable this input device during configuration you need libcdio installed on your system.\nIt requires the configure option \"--enable-libcdio\".\n\nThis device allows playing and grabbing from an Audio-CD.\n\nFor example to copy with ffmpeg the entire Audio-CD in /dev/sr0, you may run the command:\n\nffmpeg -f libcdio -i /dev/sr0 cd.wav\n\nOptions\n"
                },
                {
                    "name": "speed",
                    "content": "Set drive reading speed. Default value is 0.\n\nThe speed is specified CD-ROM speed units. The speed is set through the libcdio\n\"cdiocddapspeedset\" function. On many CD-ROM drives, specifying a value too large will\nresult in using the fastest speed.\n\nparanoiamode\nSet paranoia recovery mode flags. It accepts one of the following values:\n\ndisable\nverify\noverlap\nneverskip\nfull\n\nDefault value is disable.\n\nFor more information about the available recovery modes, consult the paranoia project\ndocumentation.\n"
                },
                {
                    "name": "libdc1394",
                    "content": "IIDC1394 input device, based on libdc1394 and libraw1394.\n\nRequires the configure option \"--enable-libdc1394\".\n\nOptions\n"
                },
                {
                    "name": "framerate",
                    "content": "Set the frame rate. Default is \"ntsc\", corresponding to a frame rate of \"30000/1001\".\n\npixelformat\nSelect the pixel format. Default is \"uyvy422\".\n\nvideosize\nSet the video size given as a string such as \"640x480\" or \"hd720\".  Default is \"qvga\".\n"
                },
                {
                    "name": "openal",
                    "content": "The OpenAL input device provides audio capture on all systems with a working OpenAL 1.1\nimplementation.\n\nTo enable this input device during configuration, you need OpenAL headers and libraries\ninstalled on your system, and need to configure FFmpeg with \"--enable-openal\".\n\nOpenAL headers and libraries should be provided as part of your OpenAL implementation, or as\nan additional download (an SDK). Depending on your installation you may need to specify\nadditional flags via the \"--extra-cflags\" and \"--extra-ldflags\" for allowing the build system\nto locate the OpenAL headers and libraries.\n\nAn incomplete list of OpenAL implementations follows:\n"
                },
                {
                    "name": "Creative",
                    "content": "The official Windows implementation, providing hardware acceleration with supported\ndevices and software fallback.  See <http://openal.org/>.\n"
                },
                {
                    "name": "OpenAL Soft",
                    "content": "Portable, open source (LGPL) software implementation. Includes backends for the most\ncommon sound APIs on the Windows, Linux, Solaris, and BSD operating systems.  See\n<http://kcat.strangesoft.net/openal.html>.\n"
                },
                {
                    "name": "Apple",
                    "content": "OpenAL is part of Core Audio, the official Mac OS X Audio interface.  See\n<http://developer.apple.com/technologies/mac/audio-and-video.html>\n\nThis device allows one to capture from an audio input device handled through OpenAL.\n\nYou need to specify the name of the device to capture in the provided filename. If the empty\nstring is provided, the device will automatically select the default device. You can get the\nlist of the supported devices by using the option listdevices.\n\nOptions\n"
                },
                {
                    "name": "channels",
                    "content": "Set the number of channels in the captured audio. Only the values 1 (monaural) and 2\n(stereo) are currently supported.  Defaults to 2.\n\nsamplesize\nSet the sample size (in bits) of the captured audio. Only the values 8 and 16 are\ncurrently supported. Defaults to 16.\n\nsamplerate\nSet the sample rate (in Hz) of the captured audio.  Defaults to 44.1k.\n\nlistdevices\nIf set to true, print a list of devices and exit.  Defaults to false.\n\nExamples\n\nPrint the list of OpenAL supported devices and exit:\n\n$ ffmpeg -listdevices true -f openal -i dummy out.ogg\n\nCapture from the OpenAL device DR-BT101 via PulseAudio:\n\n$ ffmpeg -f openal -i 'DR-BT101 via PulseAudio' out.ogg\n\nCapture from the default device (note the empty string '' as filename):\n\n$ ffmpeg -f openal -i '' out.ogg\n\nCapture from two devices simultaneously, writing to two different files, within the same\nffmpeg command:\n\n$ ffmpeg -f openal -i 'DR-BT101 via PulseAudio' out1.ogg -f openal -i 'ALSA Default' out2.ogg\n\nNote: not all OpenAL implementations support multiple simultaneous capture - try the latest\nOpenAL Soft if the above does not work.\n"
                },
                {
                    "name": "oss",
                    "content": "Open Sound System input device.\n\nThe filename to provide to the input device is the device node representing the OSS input\ndevice, and is usually set to /dev/dsp.\n\nFor example to grab from /dev/dsp using ffmpeg use the command:\n\nffmpeg -f oss -i /dev/dsp /tmp/oss.wav\n\nFor more information about OSS see: <http://manuals.opensound.com/usersguide/dsp.html>\n\nOptions\n\nsamplerate\nSet the sample rate in Hz. Default is 48000.\n"
                },
                {
                    "name": "channels",
                    "content": "Set the number of channels. Default is 2.\n"
                },
                {
                    "name": "pulse",
                    "content": "PulseAudio input device.\n\nTo enable this output device you need to configure FFmpeg with \"--enable-libpulse\".\n\nThe filename to provide to the input device is a source device or the string \"default\"\n\nTo list the PulseAudio source devices and their properties you can invoke the command pactl\nlist sources.\n\nMore information about PulseAudio can be found on <http://www.pulseaudio.org>.\n\nOptions\n"
                },
                {
                    "name": "server",
                    "content": "Connect to a specific PulseAudio server, specified by an IP address.  Default server is\nused when not provided.\n"
                },
                {
                    "name": "name",
                    "content": "Specify the application name PulseAudio will use when showing active clients, by default\nit is the \"LIBAVFORMATIDENT\" string.\n\nstreamname\nSpecify the stream name PulseAudio will use when showing active streams, by default it is\n\"record\".\n\nsamplerate\nSpecify the samplerate in Hz, by default 48kHz is used.\n"
                },
                {
                    "name": "channels",
                    "content": "Specify the channels in use, by default 2 (stereo) is set.\n\nframesize\nSpecify the number of bytes per frame, by default it is set to 1024.\n\nfragmentsize\nSpecify the minimal buffering fragment in PulseAudio, it will affect the audio latency.\nBy default it is unset.\n"
                },
                {
                    "name": "wallclock",
                    "content": "Set the initial PTS using the current time. Default is 1.\n\nExamples\n\nRecord a stream from default device:\n\nffmpeg -f pulse -i default /tmp/pulse.wav\n"
                },
                {
                    "name": "sndio",
                    "content": "sndio input device.\n\nTo enable this input device during configuration you need libsndio installed on your system.\n\nThe filename to provide to the input device is the device node representing the sndio input\ndevice, and is usually set to /dev/audio0.\n\nFor example to grab from /dev/audio0 using ffmpeg use the command:\n\nffmpeg -f sndio -i /dev/audio0 /tmp/oss.wav\n\nOptions\n\nsamplerate\nSet the sample rate in Hz. Default is 48000.\n"
                },
                {
                    "name": "channels",
                    "content": "Set the number of channels. Default is 2.\n"
                },
                {
                    "name": "video4linux2, v4l2",
                    "content": "Video4Linux2 input video device.\n\n\"v4l2\" can be used as alias for \"video4linux2\".\n\nIf FFmpeg is built with v4l-utils support (by using the \"--enable-libv4l2\" configure option),\nit is possible to use it with the \"-uselibv4l2\" input device option.\n\nThe name of the device to grab is a file device node, usually Linux systems tend to\nautomatically create such nodes when the device (e.g. an USB webcam) is plugged into the\nsystem, and has a name of the kind /dev/videoN, where N is a number associated to the device.\n\nVideo4Linux2 devices usually support a limited set of widthxheight sizes and frame rates. You\ncan check which are supported using -listformats all for Video4Linux2 devices.  Some\ndevices, like TV cards, support one or more standards. It is possible to list all the\nsupported standards using -liststandards all.\n\nThe time base for the timestamps is 1 microsecond. Depending on the kernel version and\nconfiguration, the timestamps may be derived from the real time clock (origin at the Unix\nEpoch) or the monotonic clock (origin usually at boot time, unaffected by NTP or manual\nchanges to the clock). The -timestamps abs or -ts abs option can be used to force conversion\ninto the real time clock.\n\nSome usage examples of the video4linux2 device with ffmpeg and ffplay:\n\n•   List supported formats for a video4linux2 device:\n\nffplay -f video4linux2 -listformats all /dev/video0\n\n•   Grab and show the input of a video4linux2 device:\n\nffplay -f video4linux2 -framerate 30 -videosize hd720 /dev/video0\n\n•   Grab and record the input of a video4linux2 device, leave the frame rate and size as\npreviously set:\n\nffmpeg -f video4linux2 -inputformat mjpeg -i /dev/video0 out.mpeg\n\nFor more information about Video4Linux, check <http://linuxtv.org/>.\n\nOptions\n"
                },
                {
                    "name": "standard",
                    "content": "Set the standard. Must be the name of a supported standard. To get a list of the\nsupported standards, use the liststandards option.\n"
                },
                {
                    "name": "channel",
                    "content": "Set the input channel number. Default to -1, which means using the previously selected\nchannel.\n\nvideosize\nSet the video frame size. The argument must be a string in the form WIDTHxHEIGHT or a\nvalid size abbreviation.\n\npixelformat\nSelect the pixel format (only valid for raw video input).\n\ninputformat\nSet the preferred pixel format (for raw video) or a codec name.  This option allows one\nto select the input format, when several are available.\n"
                },
                {
                    "name": "framerate",
                    "content": "Set the preferred video frame rate.\n\nlistformats\nList available formats (supported pixel formats, codecs, and frame sizes) and exit.\n\nAvailable values are:\n\nall Show all available (compressed and non-compressed) formats.\n\nraw Show only raw video (non-compressed) formats.\n\ncompressed\nShow only compressed formats.\n\nliststandards\nList supported standards and exit.\n\nAvailable values are:\n\nall Show all supported standards.\n"
                },
                {
                    "name": "timestamps, ts",
                    "content": "Set type of timestamps for grabbed frames.\n\nAvailable values are:\n\ndefault\nUse timestamps from the kernel.\n\nabs Use absolute timestamps (wall clock).\n\nmono2abs\nForce conversion from monotonic to absolute timestamps.\n\nDefault value is \"default\".\n\nuselibv4l2\nUse libv4l2 (v4l-utils) conversion functions. Default is 0.\n"
                },
                {
                    "name": "vfwcap",
                    "content": "VfW (Video for Windows) capture input device.\n\nThe filename passed as input is the capture driver number, ranging from 0 to 9. You may use\n\"list\" as filename to print a list of drivers. Any other filename will be interpreted as\ndevice number 0.\n\nOptions\n\nvideosize\nSet the video frame size.\n"
                },
                {
                    "name": "framerate",
                    "content": "Set the grabbing frame rate. Default value is \"ntsc\", corresponding to a frame rate of\n\"30000/1001\".\n"
                },
                {
                    "name": "x11grab",
                    "content": "X11 video input device.\n\nTo enable this input device during configuration you need libxcb installed on your system. It\nwill be automatically detected during configuration.\n\nThis device allows one to capture a region of an X11 display.\n\nThe filename passed as input has the syntax:\n\n[<hostname>]:<displaynumber>.<screennumber>[+<xoffset>,<yoffset>]\n\nhostname:displaynumber.screennumber specifies the X11 display name of the screen to grab\nfrom. hostname can be omitted, and defaults to \"localhost\". The environment variable DISPLAY\ncontains the default display name.\n\nxoffset and yoffset specify the offsets of the grabbed area with respect to the top-left\nborder of the X11 screen. They default to 0.\n\nCheck the X11 documentation (e.g. man X) for more detailed information.\n\nUse the xdpyinfo program for getting basic information about the properties of your X11\ndisplay (e.g. grep for \"name\" or \"dimensions\").\n\nFor example to grab from :0.0 using ffmpeg:\n\nffmpeg -f x11grab -framerate 25 -videosize cif -i :0.0 out.mpg\n\nGrab at position \"10,20\":\n\nffmpeg -f x11grab -framerate 25 -videosize cif -i :0.0+10,20 out.mpg\n\nOptions\n\nselectregion\nSpecify whether to select the grabbing area graphically using the pointer.  A value of 1\nprompts the user to select the grabbing area graphically by clicking and dragging. A\nsingle click with no dragging will select the whole screen. A region with zero width or\nheight will also select the whole screen. This option overwrites the videosize, grabx,\nand graby options. Default value is 0.\n\ndrawmouse\nSpecify whether to draw the mouse pointer. A value of 0 specifies not to draw the\npointer. Default value is 1.\n\nfollowmouse\nMake the grabbed area follow the mouse. The argument can be \"centered\" or a number of\npixels PIXELS.\n\nWhen it is specified with \"centered\", the grabbing region follows the mouse pointer and\nkeeps the pointer at the center of region; otherwise, the region follows only when the\nmouse pointer reaches within PIXELS (greater than zero) to the edge of region.\n\nFor example:\n\nffmpeg -f x11grab -followmouse centered -framerate 25 -videosize cif -i :0.0 out.mpg\n\nTo follow only when the mouse pointer reaches within 100 pixels to edge:\n\nffmpeg -f x11grab -followmouse 100 -framerate 25 -videosize cif -i :0.0 out.mpg\n"
                },
                {
                    "name": "framerate",
                    "content": "Set the grabbing frame rate. Default value is \"ntsc\", corresponding to a frame rate of\n\"30000/1001\".\n\nshowregion\nShow grabbed region on screen.\n\nIf showregion is specified with 1, then the grabbing region will be indicated on screen.\nWith this option, it is easy to know what is being grabbed if only a portion of the\nscreen is grabbed.\n\nregionborder\nSet the region border thickness if -showregion 1 is used.  Range is 1 to 128 and default\nis 3 (XCB-based x11grab only).\n\nFor example:\n\nffmpeg -f x11grab -showregion 1 -framerate 25 -videosize cif -i :0.0+10,20 out.mpg\n\nWith followmouse:\n\nffmpeg -f x11grab -followmouse centered -showregion 1 -framerate 25 -videosize cif -i :0.0 out.mpg\n\nwindowid\nGrab this window, instead of the whole screen. Default value is 0, which maps to the\nwhole screen (root window).\n\nThe id of a window can be found using the xwininfo program, possibly with options -tree\nand -root.\n\nIf the window is later enlarged, the new area is not recorded. Video ends when the window\nis closed, unmapped (i.e., iconified) or shrunk beyond the video size (which defaults to\nthe initial window size).\n\nThis option disables options followmouse and selectregion.\n\nvideosize\nSet the video frame size. Default is the full desktop or window.\n\ngrabx\ngraby\nSet the grabbing region coordinates. They are expressed as offset from the top left\ncorner of the X11 window and correspond to the xoffset and yoffset parameters in the\ndevice name. The default value for both options is 0.\n"
                }
            ]
        },
        "RESAMPLER OPTIONS": {
            "content": "The audio resampler supports the following named options.\n\nOptions may be set by specifying -option value in the FFmpeg tools, option=value for the\naresample filter, by setting the value explicitly in the \"SwrContext\" options or using the\nlibavutil/opt.h API for programmatic use.\n\nich, inchannelcount\nSet the number of input channels. Default value is 0. Setting this value is not mandatory\nif the corresponding channel layout inchannellayout is set.\n\noch, outchannelcount\nSet the number of output channels. Default value is 0. Setting this value is not\nmandatory if the corresponding channel layout outchannellayout is set.\n\nuch, usedchannelcount\nSet the number of used input channels. Default value is 0. This option is only used for\nspecial remapping.\n\nisr, insamplerate\nSet the input sample rate. Default value is 0.\n\nosr, outsamplerate\nSet the output sample rate. Default value is 0.\n\nisf, insamplefmt\nSpecify the input sample format. It is set by default to \"none\".\n\nosf, outsamplefmt\nSpecify the output sample format. It is set by default to \"none\".\n\ntsf, internalsamplefmt\nSet the internal sample format. Default value is \"none\".  This will automatically be\nchosen when it is not explicitly set.\n\nicl, inchannellayout\nocl, outchannellayout\nSet the input/output channel layout.\n\nSee the Channel Layout section in the ffmpeg-utils(1) manual for the required syntax.\n\nclev, centermixlevel\nSet the center mix level. It is a value expressed in deciBel, and must be in the interval\n[-32,32].\n\nslev, surroundmixlevel\nSet the surround mix level. It is a value expressed in deciBel, and must be in the\ninterval [-32,32].\n\nlfemixlevel\nSet LFE mix into non LFE level. It is used when there is a LFE input but no LFE output.\nIt is a value expressed in deciBel, and must be in the interval [-32,32].\n\nrmvol, rematrixvolume\nSet rematrix volume. Default value is 1.0.\n\nrematrixmaxval\nSet maximum output value for rematrixing.  This can be used to prevent clipping vs.\npreventing volume reduction.  A value of 1.0 prevents clipping.\n\nflags, swrflags\nSet flags used by the converter. Default value is 0.\n\nIt supports the following individual flags:\n\nres force resampling, this flag forces resampling to be used even when the input and\noutput sample rates match.\n\nditherscale\nSet the dither scale. Default value is 1.\n\ndithermethod\nSet dither method. Default value is 0.\n\nSupported values:\n\nrectangular\nselect rectangular dither\n\ntriangular\nselect triangular dither\n\ntriangularhp\nselect triangular dither with high pass\n\nlipshitz\nselect Lipshitz noise shaping dither.\n\nshibata\nselect Shibata noise shaping dither.\n\nlowshibata\nselect low Shibata noise shaping dither.\n\nhighshibata\nselect high Shibata noise shaping dither.\n\nfweighted\nselect f-weighted noise shaping dither\n\nmodifiedeweighted\nselect modified-e-weighted noise shaping dither\n\nimprovedeweighted\nselect improved-e-weighted noise shaping dither\n",
            "subsections": [
                {
                    "name": "resampler",
                    "content": "Set resampling engine. Default value is swr.\n\nSupported values:\n\nswr select the native SW Resampler; filter options precision and cheby are not applicable\nin this case.\n\nsoxr\nselect the SoX Resampler (where available); compensation, and filter options\nfiltersize, phaseshift, exactrational, filtertype & kaiserbeta, are not\napplicable in this case.\n\nfiltersize\nFor swr only, set resampling filter size, default value is 32.\n\nphaseshift\nFor swr only, set resampling phase shift, default value is 10, and must be in the\ninterval [0,30].\n\nlinearinterp\nUse linear interpolation when enabled (the default). Disable it if you want to preserve\nspeed instead of quality when exactrational fails.\n\nexactrational\nFor swr only, when enabled, try to use exact phasecount based on input and output sample\nrate. However, if it is larger than \"1 << phaseshift\", the phasecount will be \"1 <<\nphaseshift\" as fallback. Default is enabled.\n"
                },
                {
                    "name": "cutoff",
                    "content": "Set cutoff frequency (swr: 6dB point; soxr: 0dB point) ratio; must be a float value\nbetween 0 and 1.  Default value is 0.97 with swr, and 0.91 with soxr (which, with a\nsample-rate of 44100, preserves the entire audio band to 20kHz).\n"
                },
                {
                    "name": "precision",
                    "content": "For soxr only, the precision in bits to which the resampled signal will be calculated.\nThe default value of 20 (which, with suitable dithering, is appropriate for a destination\nbit-depth of 16) gives SoX's 'High Quality'; a value of 28 gives SoX's 'Very High\nQuality'.\n"
                },
                {
                    "name": "cheby",
                    "content": "For soxr only, selects passband rolloff none (Chebyshev) & higher-precision approximation\nfor 'irrational' ratios. Default value is 0.\n"
                },
                {
                    "name": "async",
                    "content": "For swr only, simple 1 parameter audio sync to timestamps using stretching, squeezing,\nfilling and trimming. Setting this to 1 will enable filling and trimming, larger values\nrepresent the maximum amount in samples that the data may be stretched or squeezed for\neach second.  Default value is 0, thus no compensation is applied to make the samples\nmatch the audio timestamps.\n\nfirstpts\nFor swr only, assume the first pts should be this value. The time unit is 1 / sample\nrate.  This allows for padding/trimming at the start of stream. By default, no assumption\nis made about the first frame's expected pts, so no padding or trimming is done. For\nexample, this could be set to 0 to pad the beginning with silence if an audio stream\nstarts after the video stream or to trim any samples with a negative pts due to encoder\ndelay.\n\nmincomp\nFor swr only, set the minimum difference between timestamps and audio data (in seconds)\nto trigger stretching/squeezing/filling or trimming of the data to make it match the\ntimestamps. The default is that stretching/squeezing/filling and trimming is disabled\n(mincomp = \"FLTMAX\").\n\nminhardcomp\nFor swr only, set the minimum difference between timestamps and audio data (in seconds)\nto trigger adding/dropping samples to make it match the timestamps.  This option\neffectively is a threshold to select between hard (trim/fill) and soft (squeeze/stretch)\ncompensation. Note that all compensation is by default disabled through mincomp.  The\ndefault is 0.1.\n\ncompduration\nFor swr only, set duration (in seconds) over which data is stretched/squeezed to make it\nmatch the timestamps. Must be a non-negative double float value, default value is 1.0.\n\nmaxsoftcomp\nFor swr only, set maximum factor by which data is stretched/squeezed to make it match the\ntimestamps. Must be a non-negative double float value, default value is 0.\n\nmatrixencoding\nSelect matrixed stereo encoding.\n\nIt accepts the following values:\n\nnone\nselect none\n\ndolby\nselect Dolby\n\ndplii\nselect Dolby Pro Logic II\n\nDefault value is \"none\".\n\nfiltertype\nFor swr only, select resampling filter type. This only affects resampling operations.\n\nIt accepts the following values:\n\ncubic\nselect cubic\n\nblackmannuttall\nselect Blackman Nuttall windowed sinc\n\nkaiser\nselect Kaiser windowed sinc\n\nkaiserbeta\nFor swr only, set Kaiser window beta value. Must be a double float value in the interval\n[2,16], default value is 9.\n\noutputsamplebits\nFor swr only, set number of used output sample bits for dithering. Must be an integer in\nthe interval [0,64], default value is 0, which means it's not used.\n"
                }
            ]
        },
        "SCALER OPTIONS": {
            "content": "The video scaler supports the following named options.\n\nOptions may be set by specifying -option value in the FFmpeg tools, with a few API-only\nexceptions noted below.  For programmatic use, they can be set explicitly in the \"SwsContext\"\noptions or through the libavutil/opt.h API.\n\nswsflags\nSet the scaler flags. This is also used to set the scaling algorithm. Only a single\nalgorithm should be selected. Default value is bicubic.\n\nIt accepts the following values:\n\nfastbilinear\nSelect fast bilinear scaling algorithm.\n\nbilinear\nSelect bilinear scaling algorithm.\n\nbicubic\nSelect bicubic scaling algorithm.\n\nexperimental\nSelect experimental scaling algorithm.\n\nneighbor\nSelect nearest neighbor rescaling algorithm.\n\narea\nSelect averaging area rescaling algorithm.\n\nbicublin\nSelect bicubic scaling algorithm for the luma component, bilinear for chroma\ncomponents.\n\ngauss\nSelect Gaussian rescaling algorithm.\n\nsinc\nSelect sinc rescaling algorithm.\n\nlanczos\nSelect Lanczos rescaling algorithm. The default width (alpha) is 3 and can be changed\nby setting \"param0\".\n\nspline\nSelect natural bicubic spline rescaling algorithm.\n\nprintinfo\nEnable printing/debug logging.\n\naccuraternd\nEnable accurate rounding.\n\nfullchromaint\nEnable full chroma interpolation.\n\nfullchromainp\nSelect full chroma input.\n\nbitexact\nEnable bitexact output.\n\nsrcw (API only)\nSet source width.\n\nsrch (API only)\nSet source height.\n\ndstw (API only)\nSet destination width.\n\ndsth (API only)\nSet destination height.\n\nsrcformat (API only)\nSet source pixel format (must be expressed as an integer).\n\ndstformat (API only)\nSet destination pixel format (must be expressed as an integer).\n",
            "subsections": [
                {
                    "name": "src___range _(boolean)",
                    "content": "If value is set to 1, indicates source is full range. Default value is 0, which indicates\nsource is limited range.\n"
                },
                {
                    "name": "dst___range _(boolean)",
                    "content": "If value is set to 1, enable full range for destination. Default value is 0, which\nenables limited range.\n"
                },
                {
                    "name": "param0, param1",
                    "content": "Set scaling algorithm parameters. The specified values are specific of some scaling\nalgorithms and ignored by others. The specified values are floating point number values.\n\nswsdither\nSet the dithering algorithm. Accepts one of the following values. Default value is auto.\n\nauto\nautomatic choice\n\nnone\nno dithering\n\nbayer\nbayer dither\n\ned  error diffusion dither\n\nadither\narithmetic dither, based using addition\n\nxdither\narithmetic dither, based using xor (more random/less apparent patterning that\nadither).\n"
                },
                {
                    "name": "alphablend",
                    "content": "Set the alpha blending to use when the input has alpha but the output does not.  Default\nvalue is none.\n\nuniformcolor\nBlend onto a uniform background color\n\ncheckerboard\nBlend onto a checkerboard\n\nnone\nNo blending\n"
                }
            ]
        },
        "FILTERING INTRODUCTION": {
            "content": "Filtering in FFmpeg is enabled through the libavfilter library.\n\nIn libavfilter, a filter can have multiple inputs and multiple outputs.  To illustrate the\nsorts of things that are possible, we consider the following filtergraph.\n\n[main]\ninput --> split ---------------------> overlay --> output\n|                             ^\n|[tmp]                  [flip]|\n+-----> crop --> vflip -------+\n\nThis filtergraph splits the input stream in two streams, then sends one stream through the\ncrop filter and the vflip filter, before merging it back with the other stream by overlaying\nit on top. You can use the following command to achieve this:\n\nffmpeg -i INPUT -vf \"split [main][tmp]; [tmp] crop=iw:ih/2:0:0, vflip [flip]; [main][flip] overlay=0:H/2\" OUTPUT\n\nThe result will be that the top half of the video is mirrored onto the bottom half of the\noutput video.\n\nFilters in the same linear chain are separated by commas, and distinct linear chains of\nfilters are separated by semicolons. In our example, crop,vflip are in one linear chain,\nsplit and overlay are separately in another. The points where the linear chains join are\nlabelled by names enclosed in square brackets. In the example, the split filter generates two\noutputs that are associated to the labels [main] and [tmp].\n\nThe stream sent to the second output of split, labelled as [tmp], is processed through the\ncrop filter, which crops away the lower half part of the video, and then vertically flipped.\nThe overlay filter takes in input the first unchanged output of the split filter (which was\nlabelled as [main]), and overlay on its lower half the output generated by the crop,vflip\nfilterchain.\n\nSome filters take in input a list of parameters: they are specified after the filter name and\nan equal sign, and are separated from each other by a colon.\n\nThere exist so-called source filters that do not have an audio/video input, and sink filters\nthat will not have audio/video output.\n",
            "subsections": []
        },
        "GRAPH": {
            "content": "The graph2dot program included in the FFmpeg tools directory can be used to parse a\nfiltergraph description and issue a corresponding textual representation in the dot language.\n\nInvoke the command:\n\ngraph2dot -h\n\nto see how to use graph2dot.\n\nYou can then pass the dot description to the dot program (from the graphviz suite of\nprograms) and obtain a graphical representation of the filtergraph.\n\nFor example the sequence of commands:\n\necho <GRAPHDESCRIPTION> | \\\ntools/graph2dot -o graph.tmp && \\\ndot -Tpng graph.tmp -o graph.png && \\\ndisplay graph.png\n\ncan be used to create and display an image representing the graph described by the\nGRAPHDESCRIPTION string. Note that this string must be a complete self-contained graph, with\nits inputs and outputs explicitly defined.  For example if your command line is of the form:\n\nffmpeg -i infile -vf scale=640:360 outfile\n\nyour GRAPHDESCRIPTION string will need to be of the form:\n\nnullsrc,scale=640:360,nullsink\n\nyou may also need to set the nullsrc parameters and add a format filter in order to simulate\na specific input file.\n",
            "subsections": []
        },
        "FILTERGRAPH DESCRIPTION": {
            "content": "A filtergraph is a directed graph of connected filters. It can contain cycles, and there can\nbe multiple links between a pair of filters. Each link has one input pad on one side\nconnecting it to one filter from which it takes its input, and one output pad on the other\nside connecting it to one filter accepting its output.\n\nEach filter in a filtergraph is an instance of a filter class registered in the application,\nwhich defines the features and the number of input and output pads of the filter.\n\nA filter with no input pads is called a \"source\", and a filter with no output pads is called\na \"sink\".\n",
            "subsections": [
                {
                    "name": "Filtergraph syntax",
                    "content": "A filtergraph has a textual representation, which is recognized by the -filter/-vf/-af and"
                },
                {
                    "name": "-filter -vf -af",
                    "content": "\"avfiltergraphparseptr()\" function defined in libavfilter/avfilter.h.\n\nA filterchain consists of a sequence of connected filters, each one connected to the previous\none in the sequence. A filterchain is represented by a list of \",\"-separated filter\ndescriptions.\n\nA filtergraph consists of a sequence of filterchains. A sequence of filterchains is\nrepresented by a list of \";\"-separated filterchain descriptions.\n\nA filter is represented by a string of the form:\n[inlink1]...[inlinkN]filtername@id=arguments[outlink1]...[outlinkM]\n\nfiltername is the name of the filter class of which the described filter is an instance of,\nand has to be the name of one of the filter classes registered in the program optionally\nfollowed by \"@id\".  The name of the filter class is optionally followed by a string\n\"=arguments\".\n\narguments is a string which contains the parameters used to initialize the filter instance.\nIt may have one of two forms:\n\n•   A ':'-separated list of key=value pairs.\n\n•   A ':'-separated list of value. In this case, the keys are assumed to be the option names\nin the order they are declared. E.g. the \"fade\" filter declares three options in this\norder -- type, startframe and nbframes. Then the parameter list in:0:30 means that the\nvalue in is assigned to the option type, 0 to startframe and 30 to nbframes.\n\n•   A ':'-separated list of mixed direct value and long key=value pairs. The direct value\nmust precede the key=value pairs, and follow the same constraints order of the previous\npoint. The following key=value pairs can be set in any preferred order.\n\nIf the option value itself is a list of items (e.g. the \"format\" filter takes a list of pixel\nformats), the items in the list are usually separated by |.\n\nThe list of arguments can be quoted using the character ' as initial and ending mark, and the\ncharacter \\ for escaping the characters within the quoted text; otherwise the argument string\nis considered terminated when the next special character (belonging to the set []=;,) is\nencountered.\n\nThe name and arguments of the filter are optionally preceded and followed by a list of link\nlabels.  A link label allows one to name a link and associate it to a filter output or input\npad. The preceding labels inlink1 ... inlinkN, are associated to the filter input pads,\nthe following labels outlink1 ... outlinkM, are associated to the output pads.\n\nWhen two link labels with the same name are found in the filtergraph, a link between the\ncorresponding input and output pad is created.\n\nIf an output pad is not labelled, it is linked by default to the first unlabelled input pad\nof the next filter in the filterchain.  For example in the filterchain\n\nnullsrc, split[L1], [L2]overlay, nullsink\n\nthe split filter instance has two output pads, and the overlay filter instance two input\npads. The first output pad of split is labelled \"L1\", the first input pad of overlay is\nlabelled \"L2\", and the second output pad of split is linked to the second input pad of\noverlay, which are both unlabelled.\n\nIn a filter description, if the input label of the first filter is not specified, \"in\" is\nassumed; if the output label of the last filter is not specified, \"out\" is assumed.\n\nIn a complete filterchain all the unlabelled filter input and output pads must be connected.\nA filtergraph is considered valid if all the filter input and output pads of all the\nfilterchains are connected.\n\nLibavfilter will automatically insert scale filters where format conversion is required. It\nis possible to specify swscale flags for those automatically inserted scalers by prepending\n\"swsflags=flags;\" to the filtergraph description.\n\nHere is a BNF description of the filtergraph syntax:\n\n<NAME>             ::= sequence of alphanumeric characters and ''\n<FILTERNAME>      ::= <NAME>[\"@\"<NAME>]\n<LINKLABEL>        ::= \"[\" <NAME> \"]\"\n<LINKLABELS>       ::= <LINKLABEL> [<LINKLABELS>]\n<FILTERARGUMENTS> ::= sequence of chars (possibly quoted)\n<FILTER>           ::= [<LINKLABELS>] <FILTERNAME> [\"=\" <FILTERARGUMENTS>] [<LINKLABELS>]\n<FILTERCHAIN>      ::= <FILTER> [,<FILTERCHAIN>]\n<FILTERGRAPH>      ::= [swsflags=<flags>;] <FILTERCHAIN> [;<FILTERGRAPH>]\n"
                },
                {
                    "name": "Notes on filtergraph escaping",
                    "content": "Filtergraph description composition entails several levels of escaping. See the \"Quoting and\nescaping\" section in the ffmpeg-utils(1) manual for more information about the employed\nescaping procedure.\n\nA first level escaping affects the content of each filter option value, which may contain the\nspecial character \":\" used to separate values, or one of the escaping characters \"\\'\".\n\nA second level escaping affects the whole filter description, which may contain the escaping\ncharacters \"\\'\" or the special characters \"[],;\" used by the filtergraph description.\n\nFinally, when you specify a filtergraph on a shell commandline, you need to perform a third\nlevel escaping for the shell special characters contained within it.\n\nFor example, consider the following string to be embedded in the drawtext filter description\ntext value:\n\nthis is a 'string': may contain one, or more, special characters\n\nThis string contains the \"'\" special escaping character, and the \":\" special character, so it\nneeds to be escaped in this way:\n\ntext=this is a \\'string\\'\\: may contain one, or more, special characters\n\nA second level of escaping is required when embedding the filter description in a filtergraph\ndescription, in order to escape all the filtergraph special characters. Thus the example\nabove becomes:\n\ndrawtext=text=this is a \\\\\\'string\\\\\\'\\\\: may contain one\\, or more\\, special characters\n\n(note that in addition to the \"\\'\" escaping special characters, also \",\" needs to be\nescaped).\n\nFinally an additional level of escaping is needed when writing the filtergraph description in\na shell command, which depends on the escaping rules of the adopted shell. For example,\nassuming that \"\\\" is special and needs to be escaped with another \"\\\", the previous string\nwill finally result in:\n\n-vf \"drawtext=text=this is a \\\\\\\\\\\\'string\\\\\\\\\\\\'\\\\\\\\: may contain one\\\\, or more\\\\, special characters\"\n"
                }
            ]
        },
        "TIMELINE EDITING": {
            "content": "Some filters support a generic enable option. For the filters supporting timeline editing,\nthis option can be set to an expression which is evaluated before sending a frame to the\nfilter. If the evaluation is non-zero, the filter will be enabled, otherwise the frame will\nbe sent unchanged to the next filter in the filtergraph.\n\nThe expression accepts the following values:\n\nt   timestamp expressed in seconds, NAN if the input timestamp is unknown\n\nn   sequential number of the input frame, starting from 0\n\npos the position in the file of the input frame, NAN if unknown\n\nw\nh   width and height of the input frame if video\n\nAdditionally, these filters support an enable command that can be used to re-define the\nexpression.\n\nLike any other filtering option, the enable option follows the same rules.\n\nFor example, to enable a blur filter (smartblur) from 10 seconds to 3 minutes, and a curves\nfilter starting at 3 seconds:\n\nsmartblur = enable='between(t,10,3*60)',\ncurves    = enable='gte(t,3)' : preset=crossprocess\n\nSee \"ffmpeg -filters\" to view which filters have timeline support.\n",
            "subsections": []
        },
        "CHANGING OPTIONS AT RUNTIME WITH A COMMAND": {
            "content": "Some options can be changed during the operation of the filter using a command. These options\nare marked 'T' on the output of ffmpeg -h filter=<name of filter>.  The name of the command\nis the name of the option and the argument is the new value.\n",
            "subsections": []
        },
        "OPTIONS FOR FILTERS WITH SEVERAL INPUTS": {
            "content": "Some filters with several inputs support a common set of options.  These options can only be\nset by name, not with the short notation.\n\neofaction\nThe action to take when EOF is encountered on the secondary input; it accepts one of the\nfollowing values:\n\nrepeat\nRepeat the last frame (the default).\n\nendall\nEnd both streams.\n\npass\nPass the main input through.\n",
            "subsections": [
                {
                    "name": "shortest",
                    "content": "If set to 1, force the output to terminate when the shortest input terminates. Default\nvalue is 0.\n"
                },
                {
                    "name": "repeatlast",
                    "content": "If set to 1, force the filter to extend the last frame of secondary streams until the end\nof the primary stream. A value of 0 disables this behavior.  Default value is 1.\n"
                }
            ]
        },
        "AUDIO FILTERS": {
            "content": "When you configure your FFmpeg build, you can disable any of the existing filters using\n\"--disable-filters\".  The configure output will show the audio filters included in your\nbuild.\n\nBelow is a description of the currently available audio filters.\n",
            "subsections": [
                {
                    "name": "acompressor",
                    "content": "A compressor is mainly used to reduce the dynamic range of a signal.  Especially modern music\nis mostly compressed at a high ratio to improve the overall loudness. It's done to get the\nhighest attention of a listener, \"fatten\" the sound and bring more \"power\" to the track.  If\na signal is compressed too much it may sound dull or \"dead\" afterwards or it may start to\n\"pump\" (which could be a powerful effect but can also destroy a track completely).  The right\ncompression is the key to reach a professional sound and is the high art of mixing and\nmastering. Because of its complex settings it may take a long time to get the right feeling\nfor this kind of effect.\n\nCompression is done by detecting the volume above a chosen level \"threshold\" and dividing it\nby the factor set with \"ratio\".  So if you set the threshold to -12dB and your signal reaches\n-6dB a ratio of 2:1 will result in a signal at -9dB. Because an exact manipulation of the\nsignal would cause distortion of the waveform the reduction can be levelled over the time.\nThis is done by setting \"Attack\" and \"Release\".  \"attack\" determines how long the signal has\nto rise above the threshold before any reduction will occur and \"release\" sets the time the\nsignal has to fall below the threshold to reduce the reduction again. Shorter signals than\nthe chosen attack time will be left untouched.  The overall reduction of the signal can be\nmade up afterwards with the \"makeup\" setting. So compressing the peaks of a signal about 6dB\nand raising the makeup to this level results in a signal twice as loud than the source. To\ngain a softer entry in the compression the \"knee\" flattens the hard edge at the threshold in\nthe range of the chosen decibels.\n\nThe filter accepts the following options:\n\nlevelin\nSet input gain. Default is 1. Range is between 0.015625 and 64.\n"
                },
                {
                    "name": "mode",
                    "content": "Set mode of compressor operation. Can be \"upward\" or \"downward\".  Default is \"downward\".\n"
                },
                {
                    "name": "threshold",
                    "content": "If a signal of stream rises above this level it will affect the gain reduction.  By\ndefault it is 0.125. Range is between 0.00097563 and 1.\n"
                },
                {
                    "name": "ratio",
                    "content": "Set a ratio by which the signal is reduced. 1:2 means that if the level rose 4dB above\nthe threshold, it will be only 2dB above after the reduction.  Default is 2. Range is\nbetween 1 and 20.\n"
                },
                {
                    "name": "attack",
                    "content": "Amount of milliseconds the signal has to rise above the threshold before gain reduction\nstarts. Default is 20. Range is between 0.01 and 2000.\n"
                },
                {
                    "name": "release",
                    "content": "Amount of milliseconds the signal has to fall below the threshold before reduction is\ndecreased again. Default is 250. Range is between 0.01 and 9000.\n"
                },
                {
                    "name": "makeup",
                    "content": "Set the amount by how much signal will be amplified after processing.  Default is 1.\nRange is from 1 to 64.\n"
                },
                {
                    "name": "knee",
                    "content": "Curve the sharp knee around the threshold to enter gain reduction more softly.  Default\nis 2.82843. Range is between 1 and 8.\n"
                },
                {
                    "name": "link",
                    "content": "Choose if the \"average\" level between all channels of input stream or the\nlouder(\"maximum\") channel of input stream affects the reduction. Default is \"average\".\n"
                },
                {
                    "name": "detection",
                    "content": "Should the exact signal be taken in case of \"peak\" or an RMS one in case of \"rms\".\nDefault is \"rms\" which is mostly smoother.\n\nmix How much to use compressed signal in output. Default is 1.  Range is between 0 and 1.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "acontrast",
                    "content": "Simple audio dynamic range compression/expansion filter.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "contrast",
                    "content": "Set contrast. Default is 33. Allowed range is between 0 and 100.\n"
                },
                {
                    "name": "acopy",
                    "content": "Copy the input audio source unchanged to the output. This is mainly useful for testing\npurposes.\n"
                },
                {
                    "name": "acrossfade",
                    "content": "Apply cross fade from one input audio stream to another input audio stream.  The cross fade\nis applied for specified duration near the end of first stream.\n\nThe filter accepts the following options:\n\nnbsamples, ns\nSpecify the number of samples for which the cross fade effect has to last.  At the end of\nthe cross fade effect the first input audio will be completely silent. Default is 44100.\n"
                },
                {
                    "name": "duration, d",
                    "content": "Specify the duration of the cross fade effect. See the Time duration section in the\nffmpeg-utils(1) manual for the accepted syntax.  By default the duration is determined by\nnbsamples.  If set this option is used instead of nbsamples.\n"
                },
                {
                    "name": "overlap, o",
                    "content": "Should first stream end overlap with second stream start. Default is enabled.\n"
                },
                {
                    "name": "curve1",
                    "content": "Set curve for cross fade transition for first stream.\n"
                },
                {
                    "name": "curve2",
                    "content": "Set curve for cross fade transition for second stream.\n\nFor description of available curve types see afade filter description.\n\nExamples\n\n•   Cross fade from one input to another:\n\nffmpeg -i first.flac -i second.flac -filtercomplex acrossfade=d=10:c1=exp:c2=exp output.flac\n\n•   Cross fade from one input to another but without overlapping:\n\nffmpeg -i first.flac -i second.flac -filtercomplex acrossfade=d=10:o=0:c1=exp:c2=exp output.flac\n"
                },
                {
                    "name": "acrossover",
                    "content": "Split audio stream into several bands.\n\nThis filter splits audio stream into two or more frequency ranges.  Summing all streams back\nwill give flat output.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "split",
                    "content": "Set split frequencies. Those must be positive and increasing.\n"
                },
                {
                    "name": "order",
                    "content": "Set filter order for each band split. This controls filter roll-off or steepness of\nfilter transfer function.  Available values are:\n\n2nd 12 dB per octave.\n\n4th 24 dB per octave.\n\n6th 36 dB per octave.\n\n8th 48 dB per octave.\n\n10th\n60 dB per octave.\n\n12th\n72 dB per octave.\n\n14th\n84 dB per octave.\n\n16th\n96 dB per octave.\n\n18th\n108 dB per octave.\n\n20th\n120 dB per octave.\n\nDefault is 4th.\n"
                },
                {
                    "name": "level",
                    "content": "Set input gain level. Allowed range is from 0 to 1. Default value is 1.\n"
                },
                {
                    "name": "gains",
                    "content": "Set output gain for each band. Default value is 1 for all bands.\n\nExamples\n\n•   Split input audio stream into two bands (low and high) with split frequency of 1500 Hz,\neach band will be in separate stream:\n\nffmpeg -i in.flac -filtercomplex 'acrossover=split=1500[LOW][HIGH]' -map '[LOW]' low.wav -map '[HIGH]' high.wav\n\n•   Same as above, but with higher filter order:\n\nffmpeg -i in.flac -filtercomplex 'acrossover=split=1500:order=8th[LOW][HIGH]' -map '[LOW]' low.wav -map '[HIGH]' high.wav\n\n•   Same as above, but also with additional middle band (frequencies between 1500 and 8000):\n\nffmpeg -i in.flac -filtercomplex 'acrossover=split=1500 8000:order=8th[LOW][MID][HIGH]' -map '[LOW]' low.wav -map '[MID]' mid.wav -map '[HIGH]' high.wav\n"
                },
                {
                    "name": "acrusher",
                    "content": "Reduce audio bit resolution.\n\nThis filter is bit crusher with enhanced functionality. A bit crusher is used to audibly\nreduce number of bits an audio signal is sampled with. This doesn't change the bit depth at\nall, it just produces the effect. Material reduced in bit depth sounds more harsh and\n\"digital\".  This filter is able to even round to continuous values instead of discrete bit\ndepths.  Additionally it has a D/C offset which results in different crushing of the lower\nand the upper half of the signal.  An Anti-Aliasing setting is able to produce \"softer\"\ncrushing sounds.\n\nAnother feature of this filter is the logarithmic mode.  This setting switches from linear\ndistances between bits to logarithmic ones.  The result is a much more \"natural\" sounding\ncrusher which doesn't gate low signals for example. The human ear has a logarithmic\nperception, so this kind of crushing is much more pleasant.  Logarithmic crushing is also\nable to get anti-aliased.\n\nThe filter accepts the following options:\n\nlevelin\nSet level in.\n\nlevelout\nSet level out.\n"
                },
                {
                    "name": "bits",
                    "content": "Set bit reduction.\n\nmix Set mixing amount.\n"
                },
                {
                    "name": "mode",
                    "content": "Can be linear: \"lin\" or logarithmic: \"log\".\n\ndc  Set DC.\n\naa  Set anti-aliasing.\n"
                },
                {
                    "name": "samples",
                    "content": "Set sample reduction.\n\nlfo Enable LFO. By default disabled.\n"
                },
                {
                    "name": "lforange",
                    "content": "Set LFO range.\n"
                },
                {
                    "name": "lforate",
                    "content": "Set LFO rate.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "acue",
                    "content": "Delay audio filtering until a given wallclock timestamp. See the cue filter.\n"
                },
                {
                    "name": "adeclick",
                    "content": "Remove impulsive noise from input audio.\n\nSamples detected as impulsive noise are replaced by interpolated samples using autoregressive\nmodelling.\n"
                },
                {
                    "name": "window, w",
                    "content": "Set window size, in milliseconds. Allowed range is from 10 to 100. Default value is 55\nmilliseconds.  This sets size of window which will be processed at once.\n"
                },
                {
                    "name": "overlap, o",
                    "content": "Set window overlap, in percentage of window size. Allowed range is from 50 to 95. Default\nvalue is 75 percent.  Setting this to a very high value increases impulsive noise removal\nbut makes whole process much slower.\n"
                },
                {
                    "name": "arorder, a",
                    "content": "Set autoregression order, in percentage of window size. Allowed range is from 0 to 25.\nDefault value is 2 percent. This option also controls quality of interpolated samples\nusing neighbour good samples.\n"
                },
                {
                    "name": "threshold, t",
                    "content": "Set threshold value. Allowed range is from 1 to 100.  Default value is 2.  This controls\nthe strength of impulsive noise which is going to be removed.  The lower value, the more\nsamples will be detected as impulsive noise.\n"
                },
                {
                    "name": "burst, b",
                    "content": "Set burst fusion, in percentage of window size. Allowed range is 0 to 10. Default value\nis 2.  If any two samples detected as noise are spaced less than this value then any\nsample between those two samples will be also detected as noise.\n"
                },
                {
                    "name": "method, m",
                    "content": "Set overlap method.\n\nIt accepts the following values:\n\nadd, a\nSelect overlap-add method. Even not interpolated samples are slightly changed with\nthis method.\n\nsave, s\nSelect overlap-save method. Not interpolated samples remain unchanged.\n\nDefault value is \"a\".\n"
                },
                {
                    "name": "adeclip",
                    "content": "Remove clipped samples from input audio.\n\nSamples detected as clipped are replaced by interpolated samples using autoregressive\nmodelling.\n"
                },
                {
                    "name": "window, w",
                    "content": "Set window size, in milliseconds. Allowed range is from 10 to 100.  Default value is 55\nmilliseconds.  This sets size of window which will be processed at once.\n"
                },
                {
                    "name": "overlap, o",
                    "content": "Set window overlap, in percentage of window size. Allowed range is from 50 to 95. Default\nvalue is 75 percent.\n"
                },
                {
                    "name": "arorder, a",
                    "content": "Set autoregression order, in percentage of window size. Allowed range is from 0 to 25.\nDefault value is 8 percent. This option also controls quality of interpolated samples\nusing neighbour good samples.\n"
                },
                {
                    "name": "threshold, t",
                    "content": "Set threshold value. Allowed range is from 1 to 100.  Default value is 10. Higher values\nmake clip detection less aggressive.\n"
                },
                {
                    "name": "hsize, n",
                    "content": "Set size of histogram used to detect clips. Allowed range is from 100 to 9999.  Default\nvalue is 1000. Higher values make clip detection less aggressive.\n"
                },
                {
                    "name": "method, m",
                    "content": "Set overlap method.\n\nIt accepts the following values:\n\nadd, a\nSelect overlap-add method. Even not interpolated samples are slightly changed with\nthis method.\n\nsave, s\nSelect overlap-save method. Not interpolated samples remain unchanged.\n\nDefault value is \"a\".\n"
                },
                {
                    "name": "adelay",
                    "content": "Delay one or more audio channels.\n\nSamples in delayed channel are filled with silence.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "delays",
                    "content": "Set list of delays in milliseconds for each channel separated by '|'.  Unused delays will\nbe silently ignored. If number of given delays is smaller than number of channels all\nremaining channels will not be delayed.  If you want to delay exact number of samples,\nappend 'S' to number.  If you want instead to delay in seconds, append 's' to number.\n\nall Use last set delay for all remaining channels. By default is disabled.  This option if\nenabled changes how option \"delays\" is interpreted.\n\nExamples\n\n•   Delay first channel by 1.5 seconds, the third channel by 0.5 seconds and leave the second\nchannel (and any other channels that may be present) unchanged.\n\nadelay=1500|0|500\n\n•   Delay second channel by 500 samples, the third channel by 700 samples and leave the first\nchannel (and any other channels that may be present) unchanged.\n\nadelay=0|500S|700S\n\n•   Delay all channels by same number of samples:\n\nadelay=delays=64S:all=1\n"
                },
                {
                    "name": "adenorm",
                    "content": "Remedy denormals in audio by adding extremely low-level noise.\n\nThis filter shall be placed before any filter that can produce denormals.\n\nA description of the accepted parameters follows.\n"
                },
                {
                    "name": "level",
                    "content": "Set level of added noise in dB. Default is \"-351\".  Allowed range is from -451 to -90.\n"
                },
                {
                    "name": "type",
                    "content": "Set type of added noise.\n\ndc  Add DC signal.\n\nac  Add AC signal.\n\nsquare\nAdd square signal.\n\npulse\nAdd pulse signal.\n\nDefault is \"dc\".\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "aderivative, aintegral",
                    "content": "Compute derivative/integral of audio stream.\n\nApplying both filters one after another produces original audio.\n"
                },
                {
                    "name": "aecho",
                    "content": "Apply echoing to the input audio.\n\nEchoes are reflected sound and can occur naturally amongst mountains (and sometimes large\nbuildings) when talking or shouting; digital echo effects emulate this behaviour and are\noften used to help fill out the sound of a single instrument or vocal. The time difference\nbetween the original signal and the reflection is the \"delay\", and the loudness of the\nreflected signal is the \"decay\".  Multiple echoes can have different delays and decays.\n\nA description of the accepted parameters follows.\n\ningain\nSet input gain of reflected signal. Default is 0.6.\n\noutgain\nSet output gain of reflected signal. Default is 0.3.\n"
                },
                {
                    "name": "delays",
                    "content": "Set list of time intervals in milliseconds between original signal and reflections\nseparated by '|'. Allowed range for each \"delay\" is \"(0 - 90000.0]\".  Default is 1000.\n"
                },
                {
                    "name": "decays",
                    "content": "Set list of loudness of reflected signals separated by '|'.  Allowed range for each\n\"decay\" is \"(0 - 1.0]\".  Default is 0.5.\n\nExamples\n\n•   Make it sound as if there are twice as many instruments as are actually playing:\n\naecho=0.8:0.88:60:0.4\n\n•   If delay is very short, then it sounds like a (metallic) robot playing music:\n\naecho=0.8:0.88:6:0.4\n\n•   A longer delay will sound like an open air concert in the mountains:\n\naecho=0.8:0.9:1000:0.3\n\n•   Same as above but with one more mountain:\n\naecho=0.8:0.9:1000|1800:0.3|0.25\n"
                },
                {
                    "name": "aemphasis",
                    "content": "Audio emphasis filter creates or restores material directly taken from LPs or emphased CDs\nwith different filter curves. E.g. to store music on vinyl the signal has to be altered by a\nfilter first to even out the disadvantages of this recording medium.  Once the material is\nplayed back the inverse filter has to be applied to restore the distortion of the frequency\nresponse.\n\nThe filter accepts the following options:\n\nlevelin\nSet input gain.\n\nlevelout\nSet output gain.\n"
                },
                {
                    "name": "mode",
                    "content": "Set filter mode. For restoring material use \"reproduction\" mode, otherwise use\n\"production\" mode. Default is \"reproduction\" mode.\n"
                },
                {
                    "name": "type",
                    "content": "Set filter type. Selects medium. Can be one of the following:\n\ncol select Columbia.\n\nemi select EMI.\n\nbsi select BSI (78RPM).\n\nriaa\nselect RIAA.\n\ncd  select Compact Disc (CD).\n\n50fm\nselect 50Xs (FM).\n\n75fm\nselect 75Xs (FM).\n\n50kf\nselect 50Xs (FM-KF).\n\n75kf\nselect 75Xs (FM-KF).\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "aeval",
                    "content": "Modify an audio signal according to the specified expressions.\n\nThis filter accepts one or more expressions (one for each channel), which are evaluated and\nused to modify a corresponding audio signal.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "exprs",
                    "content": "Set the '|'-separated expressions list for each separate channel. If the number of input\nchannels is greater than the number of expressions, the last specified expression is used\nfor the remaining output channels.\n\nchannellayout, c\nSet output channel layout. If not specified, the channel layout is specified by the\nnumber of expressions. If set to same, it will use by default the same input channel\nlayout.\n\nEach expression in exprs can contain the following constants and functions:\n\nch  channel number of the current expression\n\nn   number of the evaluated sample, starting from 0\n\ns   sample rate\n\nt   time of the evaluated sample expressed in seconds\n\nnbinchannels\nnboutchannels\ninput and output number of channels\n"
                },
                {
                    "name": "val(CH)",
                    "content": "the value of input channel with number CH\n\nNote: this filter is slow. For faster processing you should use a dedicated filter.\n\nExamples\n\n•   Half volume:\n\naeval=val(ch)/2:c=same\n\n•   Invert phase of the second channel:\n\naeval=val(0)|-val(1)\n"
                },
                {
                    "name": "aexciter",
                    "content": "An exciter is used to produce high sound that is not present in the original signal. This is\ndone by creating harmonic distortions of the signal which are restricted in range and added\nto the original signal.  An Exciter raises the upper end of an audio signal without simply\nraising the higher frequencies like an equalizer would do to create a more \"crisp\" or\n\"brilliant\" sound.\n\nThe filter accepts the following options:\n\nlevelin\nSet input level prior processing of signal.  Allowed range is from 0 to 64.  Default\nvalue is 1.\n\nlevelout\nSet output level after processing of signal.  Allowed range is from 0 to 64.  Default\nvalue is 1.\n"
                },
                {
                    "name": "amount",
                    "content": "Set the amount of harmonics added to original signal.  Allowed range is from 0 to 64.\nDefault value is 1.\n"
                },
                {
                    "name": "drive",
                    "content": "Set the amount of newly created harmonics.  Allowed range is from 0.1 to 10.  Default\nvalue is 8.5.\n"
                },
                {
                    "name": "blend",
                    "content": "Set the octave of newly created harmonics.  Allowed range is from -10 to 10.  Default\nvalue is 0.\n"
                },
                {
                    "name": "freq",
                    "content": "Set the lower frequency limit of producing harmonics in Hz.  Allowed range is from 2000\nto 12000 Hz.  Default is 7500 Hz.\n"
                },
                {
                    "name": "ceil",
                    "content": "Set the upper frequency limit of producing harmonics.  Allowed range is from 9999 to\n20000 Hz.  If value is lower than 10000 Hz no limit is applied.\n"
                },
                {
                    "name": "listen",
                    "content": "Mute the original signal and output only added harmonics.  By default is disabled.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "afade",
                    "content": "Apply fade-in/out effect to input audio.\n\nA description of the accepted parameters follows.\n"
                },
                {
                    "name": "type, t",
                    "content": "Specify the effect type, can be either \"in\" for fade-in, or \"out\" for a fade-out effect.\nDefault is \"in\".\n\nstartsample, ss\nSpecify the number of the start sample for starting to apply the fade effect. Default is\n0.\n\nnbsamples, ns\nSpecify the number of samples for which the fade effect has to last. At the end of the\nfade-in effect the output audio will have the same volume as the input audio, at the end\nof the fade-out transition the output audio will be silence. Default is 44100.\n\nstarttime, st\nSpecify the start time of the fade effect. Default is 0.  The value must be specified as\na time duration; see the Time duration section in the ffmpeg-utils(1) manual for the\naccepted syntax.  If set this option is used instead of startsample.\n"
                },
                {
                    "name": "duration, d",
                    "content": "Specify the duration of the fade effect. See the Time duration section in the\nffmpeg-utils(1) manual for the accepted syntax.  At the end of the fade-in effect the\noutput audio will have the same volume as the input audio, at the end of the fade-out\ntransition the output audio will be silence.  By default the duration is determined by\nnbsamples.  If set this option is used instead of nbsamples.\n"
                },
                {
                    "name": "curve",
                    "content": "Set curve for fade transition.\n\nIt accepts the following values:\n\ntri select triangular, linear slope (default)\n\nqsin\nselect quarter of sine wave\n\nhsin\nselect half of sine wave\n\nesin\nselect exponential sine wave\n\nlog select logarithmic\n\nipar\nselect inverted parabola\n\nqua select quadratic\n\ncub select cubic\n\nsqu select square root\n\ncbr select cubic root\n\npar select parabola\n\nexp select exponential\n\niqsin\nselect inverted quarter of sine wave\n\nihsin\nselect inverted half of sine wave\n\ndese\nselect double-exponential seat\n\ndesi\nselect double-exponential sigmoid\n\nlosi\nselect logistic sigmoid\n\nsinc\nselect sine cardinal function\n\nisinc\nselect inverted sine cardinal function\n\nnofade\nno fade applied\n\nCommands\n\nThis filter supports the all above options as commands.\n\nExamples\n\n•   Fade in first 15 seconds of audio:\n\nafade=t=in:ss=0:d=15\n\n•   Fade out last 25 seconds of a 900 seconds audio:\n\nafade=t=out:st=875:d=25\n"
                },
                {
                    "name": "afftdn",
                    "content": "Denoise audio samples with FFT.\n\nA description of the accepted parameters follows.\n\nnr  Set the noise reduction in dB, allowed range is 0.01 to 97.  Default value is 12 dB.\n\nnf  Set the noise floor in dB, allowed range is -80 to -20.  Default value is -50 dB.\n\nnt  Set the noise type.\n\nIt accepts the following values:\n\nw   Select white noise.\n\nv   Select vinyl noise.\n\ns   Select shellac noise.\n\nc   Select custom noise, defined in \"bn\" option.\n\nDefault value is white noise.\n\nbn  Set custom band noise for every one of 15 bands.  Bands are separated by ' ' or '|'.\n\nrf  Set the residual floor in dB, allowed range is -80 to -20.  Default value is -38 dB.\n\ntn  Enable noise tracking. By default is disabled.  With this enabled, noise floor is\nautomatically adjusted.\n\ntr  Enable residual tracking. By default is disabled.\n\nom  Set the output mode.\n\nIt accepts the following values:\n\ni   Pass input unchanged.\n\no   Pass noise filtered out.\n\nn   Pass only noise.\n\nDefault value is o.\n\nCommands\n\nThis filter supports the following commands:\n\nsamplenoise, sn\nStart or stop measuring noise profile.  Syntax for the command is : \"start\" or \"stop\"\nstring.  After measuring noise profile is stopped it will be automatically applied in\nfiltering.\n\nnoisereduction, nr\nChange noise reduction. Argument is single float number.  Syntax for the command is :\n\"noisereduction\"\n\nnoisefloor, nf\nChange noise floor. Argument is single float number.  Syntax for the command is :\n\"noisefloor\"\n\noutputmode, om\nChange output mode operation.  Syntax for the command is : \"i\", \"o\" or \"n\" string.\n"
                },
                {
                    "name": "afftfilt",
                    "content": "Apply arbitrary expressions to samples in frequency domain.\n"
                },
                {
                    "name": "real",
                    "content": "Set frequency domain real expression for each separate channel separated by '|'. Default\nis \"re\".  If the number of input channels is greater than the number of expressions, the\nlast specified expression is used for the remaining output channels.\n"
                },
                {
                    "name": "imag",
                    "content": "Set frequency domain imaginary expression for each separate channel separated by '|'.\nDefault is \"im\".\n\nEach expression in real and imag can contain the following constants and functions:\n\nsr  sample rate\n\nb   current frequency bin number\n\nnb  number of available bins\n\nch  channel number of the current expression\n\nchs number of channels\n\npts current frame pts\n\nre  current real part of frequency bin of current channel\n\nim  current imaginary part of frequency bin of current channel\n\nreal(b, ch)\nReturn the value of real part of frequency bin at location (bin,channel)\n\nimag(b, ch)\nReturn the value of imaginary part of frequency bin at location (bin,channel)\n\nwinsize\nSet window size. Allowed range is from 16 to 131072.  Default is 4096\n\nwinfunc\nSet window function. Default is \"hann\".\n"
                },
                {
                    "name": "overlap",
                    "content": "Set window overlap. If set to 1, the recommended overlap for selected window function\nwill be picked. Default is 0.75.\n\nExamples\n\n•   Leave almost only low frequencies in audio:\n\nafftfilt=\"'real=re * (1-clip((b/nb)*b,0,1))':imag='im * (1-clip((b/nb)*b,0,1))'\"\n\n•   Apply robotize effect:\n\nafftfilt=\"real='hypot(re,im)*sin(0)':imag='hypot(re,im)*cos(0)':winsize=512:overlap=0.75\"\n\n•   Apply whisper effect:\n\nafftfilt=\"real='hypot(re,im)*cos((random(0)*2-1)*2*3.14)':imag='hypot(re,im)*sin((random(1)*2-1)*2*3.14)':winsize=128:overlap=0.8\"\n"
                },
                {
                    "name": "afir",
                    "content": "Apply an arbitrary Finite Impulse Response filter.\n\nThis filter is designed for applying long FIR filters, up to 60 seconds long.\n\nIt can be used as component for digital crossover filters, room equalization, cross talk\ncancellation, wavefield synthesis, auralization, ambiophonics, ambisonics and spatialization.\n\nThis filter uses the streams higher than first one as FIR coefficients.  If the non-first\nstream holds a single channel, it will be used for all input channels in the first stream,\notherwise the number of channels in the non-first stream must be same as the number of\nchannels in the first stream.\n\nIt accepts the following parameters:\n\ndry Set dry gain. This sets input gain.\n\nwet Set wet gain. This sets final output gain.\n"
                },
                {
                    "name": "length",
                    "content": "Set Impulse Response filter length. Default is 1, which means whole IR is processed.\n"
                },
                {
                    "name": "gtype",
                    "content": "Enable applying gain measured from power of IR.\n\nSet which approach to use for auto gain measurement.\n\nnone\nDo not apply any gain.\n\npeak\nselect peak gain, very conservative approach. This is default value.\n\ndc  select DC gain, limited application.\n\ngn  select gain to noise approach, this is most popular one.\n"
                },
                {
                    "name": "irgain",
                    "content": "Set gain to be applied to IR coefficients before filtering.  Allowed range is 0 to 1.\nThis gain is applied after any gain applied with gtype option.\n"
                },
                {
                    "name": "irfmt",
                    "content": "Set format of IR stream. Can be \"mono\" or \"input\".  Default is \"input\".\n"
                },
                {
                    "name": "maxir",
                    "content": "Set max allowed Impulse Response filter duration in seconds. Default is 30 seconds.\nAllowed range is 0.1 to 60 seconds.\n"
                },
                {
                    "name": "response",
                    "content": "Show IR frequency response, magnitude(magenta), phase(green) and group delay(yellow) in\nadditional video stream.  By default it is disabled.\n"
                },
                {
                    "name": "channel",
                    "content": "Set for which IR channel to display frequency response. By default is first channel\ndisplayed. This option is used only when response is enabled.\n"
                },
                {
                    "name": "size",
                    "content": "Set video stream size. This option is used only when response is enabled.\n"
                },
                {
                    "name": "rate",
                    "content": "Set video stream frame rate. This option is used only when response is enabled.\n"
                },
                {
                    "name": "minp",
                    "content": "Set minimal partition size used for convolution. Default is 8192.  Allowed range is from\n1 to 32768.  Lower values decreases latency at cost of higher CPU usage.\n"
                },
                {
                    "name": "maxp",
                    "content": "Set maximal partition size used for convolution. Default is 8192.  Allowed range is from\n8 to 32768.  Lower values may increase CPU usage.\n"
                },
                {
                    "name": "nbirs",
                    "content": "Set number of input impulse responses streams which will be switchable at runtime.\nAllowed range is from 1 to 32. Default is 1.\n\nir  Set IR stream which will be used for convolution, starting from 0, should always be lower\nthan supplied value by \"nbirs\" option. Default is 0.  This option can be changed at\nruntime via commands.\n\nExamples\n\n•   Apply reverb to stream using mono IR file as second input, complete command using ffmpeg:\n\nffmpeg -i input.wav -i middletunnel1waymono.wav -lavfi afir output.wav\n"
                },
                {
                    "name": "aformat",
                    "content": "Set output format constraints for the input audio. The framework will negotiate the most\nappropriate format to minimize conversions.\n\nIt accepts the following parameters:\n\nsamplefmts, f\nA '|'-separated list of requested sample formats.\n\nsamplerates, r\nA '|'-separated list of requested sample rates.\n\nchannellayouts, cl\nA '|'-separated list of requested channel layouts.\n\nSee the Channel Layout section in the ffmpeg-utils(1) manual for the required syntax.\n\nIf a parameter is omitted, all values are allowed.\n\nForce the output to either unsigned 8-bit or signed 16-bit stereo\n\naformat=samplefmts=u8|s16:channellayouts=stereo\n"
                },
                {
                    "name": "afreqshift",
                    "content": "Apply frequency shift to input audio samples.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "shift",
                    "content": "Specify frequency shift. Allowed range is -INTMAX to INTMAX.  Default value is 0.0.\n"
                },
                {
                    "name": "level",
                    "content": "Set output gain applied to final output. Allowed range is from 0.0 to 1.0.  Default value\nis 1.0.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "agate",
                    "content": "A gate is mainly used to reduce lower parts of a signal. This kind of signal processing\nreduces disturbing noise between useful signals.\n\nGating is done by detecting the volume below a chosen level threshold and dividing it by the\nfactor set with ratio. The bottom of the noise floor is set via range. Because an exact\nmanipulation of the signal would cause distortion of the waveform the reduction can be\nlevelled over time. This is done by setting attack and release.\n\nattack determines how long the signal has to fall below the threshold before any reduction\nwill occur and release sets the time the signal has to rise above the threshold to reduce the\nreduction again.  Shorter signals than the chosen attack time will be left untouched.\n\nlevelin\nSet input level before filtering.  Default is 1. Allowed range is from 0.015625 to 64.\n"
                },
                {
                    "name": "mode",
                    "content": "Set the mode of operation. Can be \"upward\" or \"downward\".  Default is \"downward\". If set\nto \"upward\" mode, higher parts of signal will be amplified, expanding dynamic range in\nupward direction.  Otherwise, in case of \"downward\" lower parts of signal will be\nreduced.\n"
                },
                {
                    "name": "range",
                    "content": "Set the level of gain reduction when the signal is below the threshold.  Default is\n0.06125. Allowed range is from 0 to 1.  Setting this to 0 disables reduction and then\nfilter behaves like expander.\n"
                },
                {
                    "name": "threshold",
                    "content": "If a signal rises above this level the gain reduction is released.  Default is 0.125.\nAllowed range is from 0 to 1.\n"
                },
                {
                    "name": "ratio",
                    "content": "Set a ratio by which the signal is reduced.  Default is 2. Allowed range is from 1 to\n9000.\n"
                },
                {
                    "name": "attack",
                    "content": "Amount of milliseconds the signal has to rise above the threshold before gain reduction\nstops.  Default is 20 milliseconds. Allowed range is from 0.01 to 9000.\n"
                },
                {
                    "name": "release",
                    "content": "Amount of milliseconds the signal has to fall below the threshold before the reduction is\nincreased again. Default is 250 milliseconds.  Allowed range is from 0.01 to 9000.\n"
                },
                {
                    "name": "makeup",
                    "content": "Set amount of amplification of signal after processing.  Default is 1. Allowed range is\nfrom 1 to 64.\n"
                },
                {
                    "name": "knee",
                    "content": "Curve the sharp knee around the threshold to enter gain reduction more softly.  Default\nis 2.828427125. Allowed range is from 1 to 8.\n"
                },
                {
                    "name": "detection",
                    "content": "Choose if exact signal should be taken for detection or an RMS like one.  Default is\n\"rms\". Can be \"peak\" or \"rms\".\n"
                },
                {
                    "name": "link",
                    "content": "Choose if the average level between all channels or the louder channel affects the\nreduction.  Default is \"average\". Can be \"average\" or \"maximum\".\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "aiir",
                    "content": "Apply an arbitrary Infinite Impulse Response filter.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "zeros, z",
                    "content": "Set B/numerator/zeros/reflection coefficients.\n"
                },
                {
                    "name": "poles, p",
                    "content": "Set A/denominator/poles/ladder coefficients.\n"
                },
                {
                    "name": "gains, k",
                    "content": "Set channels gains.\n\ndrygain\nSet input gain.\n\nwetgain\nSet output gain.\n"
                },
                {
                    "name": "format, f",
                    "content": "Set coefficients format.\n\nll  lattice-ladder function\n\nsf  analog transfer function\n\ntf  digital transfer function\n\nzp  Z-plane zeros/poles, cartesian (default)\n\npr  Z-plane zeros/poles, polar radians\n\npd  Z-plane zeros/poles, polar degrees\n\nsp  S-plane zeros/poles\n"
                },
                {
                    "name": "process, r",
                    "content": "Set type of processing.\n\nd   direct processing\n\ns   serial processing\n\np   parallel processing\n"
                },
                {
                    "name": "precision, e",
                    "content": "Set filtering precision.\n\ndbl double-precision floating-point (default)\n\nflt single-precision floating-point\n\ni32 32-bit integers\n\ni16 16-bit integers\n"
                },
                {
                    "name": "normalize, n",
                    "content": "Normalize filter coefficients, by default is enabled.  Enabling it will normalize\nmagnitude response at DC to 0dB.\n\nmix How much to use filtered signal in output. Default is 1.  Range is between 0 and 1.\n"
                },
                {
                    "name": "response",
                    "content": "Show IR frequency response, magnitude(magenta), phase(green) and group delay(yellow) in\nadditional video stream.  By default it is disabled.\n"
                },
                {
                    "name": "channel",
                    "content": "Set for which IR channel to display frequency response. By default is first channel\ndisplayed. This option is used only when response is enabled.\n"
                },
                {
                    "name": "size",
                    "content": "Set video stream size. This option is used only when response is enabled.\n\nCoefficients in \"tf\" and \"sf\" format are separated by spaces and are in ascending order.\n\nCoefficients in \"zp\" format are separated by spaces and order of coefficients doesn't matter.\nCoefficients in \"zp\" format are complex numbers with i imaginary unit.\n\nDifferent coefficients and gains can be provided for every channel, in such case use '|' to\nseparate coefficients or gains. Last provided coefficients will be used for all remaining\nchannels.\n\nExamples\n\n•   Apply 2 pole elliptic notch at around 5000Hz for 48000 Hz sample rate:\n\naiir=k=1:z=7.957584807809675810E-1 -2.575128568908332300 3.674839853930788710 -2.57512875289799137 7.957586296317130880E-1:p=1 -2.86950072432325953 3.63022088054647218 -2.28075678147272232 6.361362326477423500E-1:f=tf:r=d\n\n•   Same as above but in \"zp\" format:\n\naiir=k=0.79575848078096756:z=0.80918701+0.58773007i 0.80918701-0.58773007i 0.80884700+0.58784055i 0.80884700-0.58784055i:p=0.63892345+0.59951235i 0.63892345-0.59951235i 0.79582691+0.44198673i 0.79582691-0.44198673i:f=zp:r=s\n\n•   Apply 3-rd order analog normalized Butterworth low-pass filter, using analog transfer\nfunction format:\n\naiir=z=1.3057 0 0 0:p=1.3057 2.3892 2.1860 1:f=sf:r=d\n"
                },
                {
                    "name": "alimiter",
                    "content": "The limiter prevents an input signal from rising over a desired threshold.  This limiter uses\nlookahead technology to prevent your signal from distorting.  It means that there is a small\ndelay after the signal is processed. Keep in mind that the delay it produces is the attack\ntime you set.\n\nThe filter accepts the following options:\n\nlevelin\nSet input gain. Default is 1.\n\nlevelout\nSet output gain. Default is 1.\n"
                },
                {
                    "name": "limit",
                    "content": "Don't let signals above this level pass the limiter. Default is 1.\n"
                },
                {
                    "name": "attack",
                    "content": "The limiter will reach its attenuation level in this amount of time in milliseconds.\nDefault is 5 milliseconds.\n"
                },
                {
                    "name": "release",
                    "content": "Come back from limiting to attenuation 1.0 in this amount of milliseconds.  Default is 50\nmilliseconds.\n\nasc When gain reduction is always needed ASC takes care of releasing to an average reduction\nlevel rather than reaching a reduction of 0 in the release time.\n\nasclevel\nSelect how much the release time is affected by ASC, 0 means nearly no changes in release\ntime while 1 produces higher release times.\n"
                },
                {
                    "name": "level",
                    "content": "Auto level output signal. Default is enabled.  This normalizes audio back to 0dB if\nenabled.\n\nDepending on picked setting it is recommended to upsample input 2x or 4x times with aresample\nbefore applying this filter.\n"
                },
                {
                    "name": "allpass",
                    "content": "Apply a two-pole all-pass filter with central frequency (in Hz) frequency, and filter-width\nwidth.  An all-pass filter changes the audio's frequency to phase relationship without\nchanging its frequency to amplitude relationship.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Set frequency in Hz.\n\nwidthtype, t\nSet method to specify band-width of filter.\n\nh   Hz\n\nq   Q-Factor\n\no   octave\n\ns   slope\n\nk   kHz\n"
                },
                {
                    "name": "width, w",
                    "content": "Specify the band-width of a filter in widthtype units.\n"
                },
                {
                    "name": "mix, m",
                    "content": "How much to use filtered signal in output. Default is 1.  Range is between 0 and 1.\n"
                },
                {
                    "name": "channels, c",
                    "content": "Specify which channels to filter, by default all available are filtered.\n"
                },
                {
                    "name": "normalize, n",
                    "content": "Normalize biquad coefficients, by default is disabled.  Enabling it will normalize\nmagnitude response at DC to 0dB.\n"
                },
                {
                    "name": "order, o",
                    "content": "Set the filter order, can be 1 or 2. Default is 2.\n"
                },
                {
                    "name": "transform, a",
                    "content": "Set transform type of IIR filter.\n\ndi\ndii\ntdii\nlatt"
                },
                {
                    "name": "precision, r",
                    "content": "Set precison of filtering.\n\nauto\nPick automatic sample format depending on surround filters.\n\ns16 Always use signed 16-bit.\n\ns32 Always use signed 32-bit.\n\nf32 Always use float 32-bit.\n\nf64 Always use float 64-bit.\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Change allpass frequency.  Syntax for the command is : \"frequency\"\n\nwidthtype, t\nChange allpass widthtype.  Syntax for the command is : \"widthtype\"\n"
                },
                {
                    "name": "width, w",
                    "content": "Change allpass width.  Syntax for the command is : \"width\"\n"
                },
                {
                    "name": "mix, m",
                    "content": "Change allpass mix.  Syntax for the command is : \"mix\"\n"
                },
                {
                    "name": "aloop",
                    "content": "Loop audio samples.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "loop",
                    "content": "Set the number of loops. Setting this value to -1 will result in infinite loops.  Default\nis 0.\n"
                },
                {
                    "name": "size",
                    "content": "Set maximal number of samples. Default is 0.\n"
                },
                {
                    "name": "start",
                    "content": "Set first sample of loop. Default is 0.\n"
                },
                {
                    "name": "amerge",
                    "content": "Merge two or more audio streams into a single multi-channel stream.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "inputs",
                    "content": "Set the number of inputs. Default is 2.\n\nIf the channel layouts of the inputs are disjoint, and therefore compatible, the channel\nlayout of the output will be set accordingly and the channels will be reordered as necessary.\nIf the channel layouts of the inputs are not disjoint, the output will have all the channels\nof the first input then all the channels of the second input, in that order, and the channel\nlayout of the output will be the default value corresponding to the total number of channels.\n\nFor example, if the first input is in 2.1 (FL+FR+LF) and the second input is FC+BL+BR, then\nthe output will be in 5.1, with the channels in the following order: a1, a2, b1, a3, b2, b3\n(a1 is the first channel of the first input, b1 is the first channel of the second input).\n\nOn the other hand, if both input are in stereo, the output channels will be in the default\norder: a1, a2, b1, b2, and the channel layout will be arbitrarily set to 4.0, which may or\nmay not be the expected value.\n\nAll inputs must have the same sample rate, and format.\n\nIf inputs do not have the same duration, the output will stop with the shortest.\n\nExamples\n\n•   Merge two mono files into a stereo stream:\n\namovie=left.wav [l] ; amovie=right.mp3 [r] ; [l] [r] amerge\n\n•   Multiple merges assuming 1 video stream and 6 audio streams in input.mkv:\n\nffmpeg -i input.mkv -filtercomplex \"[0:1][0:2][0:3][0:4][0:5][0:6] amerge=inputs=6\" -c:a pcms16le output.mkv\n"
                },
                {
                    "name": "amix",
                    "content": "Mixes multiple audio inputs into a single output.\n\nNote that this filter only supports float samples (the amerge and pan audio filters support\nmany formats). If the amix input has integer samples then aresample will be automatically\ninserted to perform the conversion to float samples.\n\nFor example\n\nffmpeg -i INPUT1 -i INPUT2 -i INPUT3 -filtercomplex amix=inputs=3:duration=first:dropouttransition=3 OUTPUT\n\nwill mix 3 input audio streams to a single output with the same duration as the first input\nand a dropout transition time of 3 seconds.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "inputs",
                    "content": "The number of inputs. If unspecified, it defaults to 2.\n"
                },
                {
                    "name": "duration",
                    "content": "How to determine the end-of-stream.\n\nlongest\nThe duration of the longest input. (default)\n\nshortest\nThe duration of the shortest input.\n\nfirst\nThe duration of the first input.\n\ndropouttransition\nThe transition time, in seconds, for volume renormalization when an input stream ends.\nThe default value is 2 seconds.\n"
                },
                {
                    "name": "weights",
                    "content": "Specify weight of each input audio stream as sequence.  Each weight is separated by\nspace. By default all inputs have same weight.\n"
                },
                {
                    "name": "normalize",
                    "content": "Always scale inputs instead of only doing summation of samples.  Beware of heavy clipping\nif inputs are not normalized prior or after filtering by this filter if this option is\ndisabled. By default is enabled.\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "weights",
                    "content": "sum Syntax is same as option with same name.\n"
                },
                {
                    "name": "amultiply",
                    "content": "Multiply first audio stream with second audio stream and store result in output audio stream.\nMultiplication is done by multiplying each sample from first stream with sample at same\nposition from second stream.\n\nWith this element-wise multiplication one can create amplitude fades and amplitude\nmodulations.\n"
                },
                {
                    "name": "anequalizer",
                    "content": "High-order parametric multiband equalizer for each channel.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "params",
                    "content": "This option string is in format: \"cchn f=cf w=w g=g t=f | ...\"  Each equalizer band is\nseparated by '|'.\n\nchn Set channel number to which equalization will be applied.  If input doesn't have that\nchannel the entry is ignored.\n\nf   Set central frequency for band.  If input doesn't have that frequency the entry is\nignored.\n\nw   Set band width in Hertz.\n\ng   Set band gain in dB.\n\nt   Set filter type for band, optional, can be:\n\n0   Butterworth, this is default.\n\n1   Chebyshev type 1.\n\n2   Chebyshev type 2.\n"
                },
                {
                    "name": "curves",
                    "content": "With this option activated frequency response of anequalizer is displayed in video\nstream.\n"
                },
                {
                    "name": "size",
                    "content": "Set video stream size. Only useful if curves option is activated.\n"
                },
                {
                    "name": "mgain",
                    "content": "Set max gain that will be displayed. Only useful if curves option is activated.  Setting\nthis to a reasonable value makes it possible to display gain which is derived from\nneighbour bands which are too close to each other and thus produce higher gain when both\nare activated.\n"
                },
                {
                    "name": "fscale",
                    "content": "Set frequency scale used to draw frequency response in video output.  Can be linear or\nlogarithmic. Default is logarithmic.\n"
                },
                {
                    "name": "colors",
                    "content": "Set color for each channel curve which is going to be displayed in video stream.  This is\nlist of color names separated by space or by '|'.  Unrecognised or missing colors will be\nreplaced by white color.\n\nExamples\n\n•   Lower gain by 10 of central frequency 200Hz and width 100 Hz for first 2 channels using\nChebyshev type 1 filter:\n\nanequalizer=c0 f=200 w=100 g=-10 t=1|c1 f=200 w=100 g=-10 t=1\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "change",
                    "content": "Alter existing filter parameters.  Syntax for the commands is :\n\"fN|f=freq|w=width|g=gain\"\n\nfN is existing filter number, starting from 0, if no such filter is available error is\nreturned.  freq set new frequency parameter.  width set new width parameter in Hertz.\ngain set new gain parameter in dB.\n\nFull filter invocation with asendcmd may look like this: asendcmd=c='4.0 anequalizer\nchange 0|f=200|w=50|g=1',anequalizer=...\n"
                },
                {
                    "name": "anlmdn",
                    "content": "Reduce broadband noise in audio samples using Non-Local Means algorithm.\n\nEach sample is adjusted by looking for other samples with similar contexts. This context\nsimilarity is defined by comparing their surrounding patches of size p. Patches are searched\nin an area of r around the sample.\n\nThe filter accepts the following options:\n\ns   Set denoising strength. Allowed range is from 0.00001 to 10. Default value is 0.00001.\n\np   Set patch radius duration. Allowed range is from 1 to 100 milliseconds.  Default value is\n2 milliseconds.\n\nr   Set research radius duration. Allowed range is from 2 to 300 milliseconds.  Default value\nis 6 milliseconds.\n\no   Set the output mode.\n\nIt accepts the following values:\n\ni   Pass input unchanged.\n\no   Pass noise filtered out.\n\nn   Pass only noise.\n\nDefault value is o.\n\nm   Set smooth factor. Default value is 11. Allowed range is from 1 to 15.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "anlms",
                    "content": "Apply Normalized Least-Mean-Squares algorithm to the first audio stream using the second\naudio stream.\n\nThis adaptive filter is used to mimic a desired filter by finding the filter coefficients\nthat relate to producing the least mean square of the error signal (difference between the\ndesired, 2nd input audio stream and the actual signal, the 1st input audio stream).\n\nA description of the accepted options follows.\n"
                },
                {
                    "name": "order",
                    "content": "Set filter order.\n\nmu  Set filter mu.\n\neps Set the filter eps.\n"
                },
                {
                    "name": "leakage",
                    "content": "Set the filter leakage.\n\noutmode\nIt accepts the following values:\n\ni   Pass the 1st input.\n\nd   Pass the 2nd input.\n\no   Pass filtered samples.\n\nn   Pass difference between desired and filtered samples.\n\nDefault value is o.\n\nExamples\n\n•   One of many usages of this filter is noise reduction, input audio is filtered with same\nsamples that are delayed by fixed amount, one such example for stereo audio is:\n\nasplit[a][b],[a]adelay=32S|32S[a],[b][a]anlms=order=128:leakage=0.0005:mu=.5:outmode=o\n\nCommands\n\nThis filter supports the same commands as options, excluding option \"order\".\n"
                },
                {
                    "name": "anull",
                    "content": "Pass the audio source unchanged to the output.\n"
                },
                {
                    "name": "apad",
                    "content": "Pad the end of an audio stream with silence.\n\nThis can be used together with ffmpeg -shortest to extend audio streams to the same length as\nthe video stream.\n\nA description of the accepted options follows.\n\npacketsize\nSet silence packet size. Default value is 4096.\n\npadlen\nSet the number of samples of silence to add to the end. After the value is reached, the\nstream is terminated. This option is mutually exclusive with wholelen.\n\nwholelen\nSet the minimum total number of samples in the output audio stream. If the value is\nlonger than the input audio length, silence is added to the end, until the value is\nreached. This option is mutually exclusive with padlen.\n\npaddur\nSpecify the duration of samples of silence to add. See the Time duration section in the\nffmpeg-utils(1) manual for the accepted syntax. Used only if set to non-zero value.\n\nwholedur\nSpecify the minimum total duration in the output audio stream. See the Time duration\nsection in the ffmpeg-utils(1) manual for the accepted syntax. Used only if set to non-\nzero value. If the value is longer than the input audio length, silence is added to the\nend, until the value is reached.  This option is mutually exclusive with paddur\n\nIf neither the padlen nor the wholelen nor paddur nor wholedur option is set, the filter\nwill add silence to the end of the input stream indefinitely.\n\nExamples\n\n•   Add 1024 samples of silence to the end of the input:\n\napad=padlen=1024\n\n•   Make sure the audio output will contain at least 10000 samples, pad the input with\nsilence if required:\n\napad=wholelen=10000\n\n•   Use ffmpeg to pad the audio input with silence, so that the video stream will always\nresult the shortest and will be converted until the end in the output file when using the\nshortest option:\n\nffmpeg -i VIDEO -i AUDIO -filtercomplex \"[1:0]apad\" -shortest OUTPUT\n"
                },
                {
                    "name": "aphaser",
                    "content": "Add a phasing effect to the input audio.\n\nA phaser filter creates series of peaks and troughs in the frequency spectrum.  The position\nof the peaks and troughs are modulated so that they vary over time, creating a sweeping\neffect.\n\nA description of the accepted parameters follows.\n\ningain\nSet input gain. Default is 0.4.\n\noutgain\nSet output gain. Default is 0.74\n"
                },
                {
                    "name": "delay",
                    "content": "Set delay in milliseconds. Default is 3.0.\n"
                },
                {
                    "name": "decay",
                    "content": "Set decay. Default is 0.4.\n"
                },
                {
                    "name": "speed",
                    "content": "Set modulation speed in Hz. Default is 0.5.\n"
                },
                {
                    "name": "type",
                    "content": "Set modulation type. Default is triangular.\n\nIt accepts the following values:\n\ntriangular, t\nsinusoidal, s\n"
                },
                {
                    "name": "aphaseshift",
                    "content": "Apply phase shift to input audio samples.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "shift",
                    "content": "Specify phase shift. Allowed range is from -1.0 to 1.0.  Default value is 0.0.\n"
                },
                {
                    "name": "level",
                    "content": "Set output gain applied to final output. Allowed range is from 0.0 to 1.0.  Default value\nis 1.0.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "apulsator",
                    "content": "Audio pulsator is something between an autopanner and a tremolo.  But it can produce funny\nstereo effects as well. Pulsator changes the volume of the left and right channel based on a\nLFO (low frequency oscillator) with different waveforms and shifted phases.  This filter have\nthe ability to define an offset between left and right channel. An offset of 0 means that\nboth LFO shapes match each other.  The left and right channel are altered equally - a\nconventional tremolo.  An offset of 50% means that the shape of the right channel is exactly\nshifted in phase (or moved backwards about half of the frequency) - pulsator acts as an\nautopanner. At 1 both curves match again. Every setting in between moves the phase shift\ngapless between all stages and produces some \"bypassing\" sounds with sine and triangle\nwaveforms. The more you set the offset near 1 (starting from the 0.5) the faster the signal\npasses from the left to the right speaker.\n\nThe filter accepts the following options:\n\nlevelin\nSet input gain. By default it is 1. Range is [0.015625 - 64].\n\nlevelout\nSet output gain. By default it is 1. Range is [0.015625 - 64].\n"
                },
                {
                    "name": "mode",
                    "content": "Set waveform shape the LFO will use. Can be one of: sine, triangle, square, sawup or\nsawdown. Default is sine.\n"
                },
                {
                    "name": "amount",
                    "content": "Set modulation. Define how much of original signal is affected by the LFO.\n\noffsetl\nSet left channel offset. Default is 0. Allowed range is [0 - 1].\n\noffsetr\nSet right channel offset. Default is 0.5. Allowed range is [0 - 1].\n"
                },
                {
                    "name": "width",
                    "content": "Set pulse width. Default is 1. Allowed range is [0 - 2].\n"
                },
                {
                    "name": "timing",
                    "content": "Set possible timing mode. Can be one of: bpm, ms or hz. Default is hz.\n\nbpm Set bpm. Default is 120. Allowed range is [30 - 300]. Only used if timing is set to bpm.\n\nms  Set ms. Default is 500. Allowed range is [10 - 2000]. Only used if timing is set to ms.\n\nhz  Set frequency in Hz. Default is 2. Allowed range is [0.01 - 100]. Only used if timing is\nset to hz.\n"
                },
                {
                    "name": "aresample",
                    "content": "Resample the input audio to the specified parameters, using the libswresample library. If\nnone are specified then the filter will automatically convert between its input and output.\n\nThis filter is also able to stretch/squeeze the audio data to make it match the timestamps or\nto inject silence / cut out audio to make it match the timestamps, do a combination of both\nor do neither.\n\nThe filter accepts the syntax [samplerate:]resampleroptions, where samplerate expresses a\nsample rate and resampleroptions is a list of key=value pairs, separated by \":\". See the\n\"Resampler Options\" section in the ffmpeg-resampler(1) manual for the complete list of\nsupported options.\n\nExamples\n\n•   Resample the input audio to 44100Hz:\n\naresample=44100\n\n•   Stretch/squeeze samples to the given timestamps, with a maximum of 1000 samples per\nsecond compensation:\n\naresample=async=1000\n"
                },
                {
                    "name": "areverse",
                    "content": "Reverse an audio clip.\n\nWarning: This filter requires memory to buffer the entire clip, so trimming is suggested.\n\nExamples\n\n•   Take the first 5 seconds of a clip, and reverse it.\n\natrim=end=5,areverse\n"
                },
                {
                    "name": "arnndn",
                    "content": "Reduce noise from speech using Recurrent Neural Networks.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "model, m",
                    "content": "Set train model file to load. This option is always required.\n\nmix Set how much to mix filtered samples into final output.  Allowed range is from -1 to 1.\nDefault value is 1.  Negative values are special, they set how much to keep filtered\nnoise in the final filter output. Set this option to -1 to hear actual noise removed from\ninput signal.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "asetnsamples",
                    "content": "Set the number of samples per each output audio frame.\n\nThe last output packet may contain a different number of samples, as the filter will flush\nall the remaining samples when the input audio signals its end.\n\nThe filter accepts the following options:\n\nnboutsamples, n\nSet the number of frames per each output audio frame. The number is intended as the\nnumber of samples per each channel.  Default value is 1024.\n"
                },
                {
                    "name": "pad, p",
                    "content": "If set to 1, the filter will pad the last audio frame with zeroes, so that the last frame\nwill contain the same number of samples as the previous ones. Default value is 1.\n\nFor example, to set the number of per-frame samples to 1234 and disable padding for the last\nframe, use:\n\nasetnsamples=n=1234:p=0\n"
                },
                {
                    "name": "asetrate",
                    "content": "Set the sample rate without altering the PCM data.  This will result in a change of speed and\npitch.\n\nThe filter accepts the following options:\n\nsamplerate, r\nSet the output sample rate. Default is 44100 Hz.\n"
                },
                {
                    "name": "ashowinfo",
                    "content": "Show a line containing various information for each input audio frame.  The input audio is\nnot modified.\n\nThe shown line contains a sequence of key/value pairs of the form key:value.\n\nThe following values are shown in the output:\n\nn   The (sequential) number of the input frame, starting from 0.\n\npts The presentation timestamp of the input frame, in time base units; the time base depends\non the filter input pad, and is usually 1/samplerate.\n\nptstime\nThe presentation timestamp of the input frame in seconds.\n\npos position of the frame in the input stream, -1 if this information in unavailable and/or\nmeaningless (for example in case of synthetic audio)\n\nfmt The sample format.\n"
                },
                {
                    "name": "chlayout",
                    "content": "The channel layout.\n"
                },
                {
                    "name": "rate",
                    "content": "The sample rate for the audio frame.\n\nnbsamples\nThe number of samples (per channel) in the frame.\n"
                },
                {
                    "name": "checksum",
                    "content": "The Adler-32 checksum (printed in hexadecimal) of the audio data. For planar audio, the\ndata is treated as if all the planes were concatenated.\n\nplanechecksums\nA list of Adler-32 checksums for each data plane.\n"
                },
                {
                    "name": "asoftclip",
                    "content": "Apply audio soft clipping.\n\nSoft clipping is a type of distortion effect where the amplitude of a signal is saturated\nalong a smooth curve, rather than the abrupt shape of hard-clipping.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "type",
                    "content": "Set type of soft-clipping.\n\nIt accepts the following values:\n\nhard\ntanh\natan\ncubic\nexp\nalg\nquintic\nsin\nerf"
                },
                {
                    "name": "threshold",
                    "content": "Set threshold from where to start clipping. Default value is 0dB or 1.\n"
                },
                {
                    "name": "output",
                    "content": "Set gain applied to output. Default value is 0dB or 1.\n"
                },
                {
                    "name": "param",
                    "content": "Set additional parameter which controls sigmoid function.\n"
                },
                {
                    "name": "oversample",
                    "content": "Set oversampling factor.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "asr",
                    "content": "Automatic Speech Recognition\n\nThis filter uses PocketSphinx for speech recognition. To enable compilation of this filter,\nyou need to configure FFmpeg with \"--enable-pocketsphinx\".\n\nIt accepts the following options:\n"
                },
                {
                    "name": "rate",
                    "content": "Set sampling rate of input audio. Defaults is 16000.  This need to match speech models,\notherwise one will get poor results.\n\nhmm Set dictionary containing acoustic model files.\n"
                },
                {
                    "name": "dict",
                    "content": "Set pronunciation dictionary.\n\nlm  Set language model file.\n"
                },
                {
                    "name": "lmctl",
                    "content": "Set language model set.\n"
                },
                {
                    "name": "lmname",
                    "content": "Set which language model to use.\n"
                },
                {
                    "name": "logfn",
                    "content": "Set output for log messages.\n\nThe filter exports recognized speech as the frame metadata \"lavfi.asr.text\".\n"
                },
                {
                    "name": "astats",
                    "content": "Display time domain statistical information about the audio channels.  Statistics are\ncalculated and displayed for each audio channel and, where applicable, an overall figure is\nalso given.\n\nIt accepts the following option:\n"
                },
                {
                    "name": "length",
                    "content": "Short window length in seconds, used for peak and trough RMS measurement.  Default is\n0.05 (50 milliseconds). Allowed range is \"[0.01 - 10]\".\n"
                },
                {
                    "name": "metadata",
                    "content": "Set metadata injection. All the metadata keys are prefixed with \"lavfi.astats.X\", where\n\"X\" is channel number starting from 1 or string \"Overall\". Default is disabled.\n\nAvailable keys for each channel are: DCoffset Minlevel Maxlevel Mindifference\nMaxdifference Meandifference RMSdifference Peaklevel RMSpeak RMStrough Crestfactor\nFlatfactor Peakcount Noisefloor Noisefloorcount Bitdepth Dynamicrange\nZerocrossings Zerocrossingsrate NumberofNaNs NumberofInfs Numberofdenormals\n\nand for Overall: DCoffset Minlevel Maxlevel Mindifference Maxdifference\nMeandifference RMSdifference Peaklevel RMSlevel RMSpeak RMStrough Flatfactor\nPeakcount Noisefloor Noisefloorcount Bitdepth Numberofsamples NumberofNaNs\nNumberofInfs Numberofdenormals\n\nFor example full key look like this \"lavfi.astats.1.DCoffset\" or this\n\"lavfi.astats.Overall.Peakcount\".\n\nFor description what each key means read below.\n"
                },
                {
                    "name": "reset",
                    "content": "Set number of frame after which stats are going to be recalculated.  Default is disabled.\n\nmeasureperchannel\nSelect the entries which need to be measured per channel. The metadata keys can be used\nas flags, default is all which measures everything.  none disables all per channel\nmeasurement.\n\nmeasureoverall\nSelect the entries which need to be measured overall. The metadata keys can be used as\nflags, default is all which measures everything.  none disables all overall measurement.\n\nA description of each shown parameter follows:\n"
                },
                {
                    "name": "DC offset",
                    "content": "Mean amplitude displacement from zero.\n"
                },
                {
                    "name": "Min level",
                    "content": "Minimal sample level.\n"
                },
                {
                    "name": "Max level",
                    "content": "Maximal sample level.\n"
                },
                {
                    "name": "Min difference",
                    "content": "Minimal difference between two consecutive samples.\n"
                },
                {
                    "name": "Max difference",
                    "content": "Maximal difference between two consecutive samples.\n"
                },
                {
                    "name": "Mean difference",
                    "content": "Mean difference between two consecutive samples.  The average of each difference between\ntwo consecutive samples.\n"
                },
                {
                    "name": "RMS difference",
                    "content": "Root Mean Square difference between two consecutive samples.\n"
                },
                {
                    "name": "Peak level dB",
                    "content": ""
                },
                {
                    "name": "RMS level dB",
                    "content": "Standard peak and RMS level measured in dBFS.\n"
                },
                {
                    "name": "RMS peak dB",
                    "content": ""
                },
                {
                    "name": "RMS trough dB",
                    "content": "Peak and trough values for RMS level measured over a short window.\n"
                },
                {
                    "name": "Crest factor",
                    "content": "Standard ratio of peak to RMS level (note: not in dB).\n"
                },
                {
                    "name": "Flat factor",
                    "content": "Flatness (i.e. consecutive samples with the same value) of the signal at its peak levels\n(i.e. either Min level or Max level).\n"
                },
                {
                    "name": "Peak count",
                    "content": "Number of occasions (not the number of samples) that the signal attained either Min level\nor Max level.\n"
                },
                {
                    "name": "Noise floor dB",
                    "content": "Minimum local peak measured in dBFS over a short window.\n"
                },
                {
                    "name": "Noise floor count",
                    "content": "Number of occasions (not the number of samples) that the signal attained Noise floor.\n"
                },
                {
                    "name": "Bit depth",
                    "content": "Overall bit depth of audio. Number of bits used for each sample.\n"
                },
                {
                    "name": "Dynamic range",
                    "content": "Measured dynamic range of audio in dB.\n"
                },
                {
                    "name": "Zero crossings",
                    "content": "Number of points where the waveform crosses the zero level axis.\n"
                },
                {
                    "name": "Zero crossings rate",
                    "content": "Rate of Zero crossings and number of audio samples.\n"
                },
                {
                    "name": "asubboost",
                    "content": "Boost subwoofer frequencies.\n\nThe filter accepts the following options:\n\ndry Set dry gain, how much of original signal is kept. Allowed range is from 0 to 1.  Default\nvalue is 0.7.\n\nwet Set wet gain, how much of filtered signal is kept. Allowed range is from 0 to 1.  Default\nvalue is 0.7.\n"
                },
                {
                    "name": "decay",
                    "content": "Set delay line decay gain value. Allowed range is from 0 to 1.  Default value is 0.7.\n"
                },
                {
                    "name": "feedback",
                    "content": "Set delay line feedback gain value. Allowed range is from 0 to 1.  Default value is 0.9.\n"
                },
                {
                    "name": "cutoff",
                    "content": "Set cutoff frequency in Hertz. Allowed range is 50 to 900.  Default value is 100.\n"
                },
                {
                    "name": "slope",
                    "content": "Set slope amount for cutoff frequency. Allowed range is 0.0001 to 1.  Default value is\n0.5.\n"
                },
                {
                    "name": "delay",
                    "content": "Set delay. Allowed range is from 1 to 100.  Default value is 20.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "asubcut",
                    "content": "Cut subwoofer frequencies.\n\nThis filter allows to set custom, steeper roll off than highpass filter, and thus is able to\nmore attenuate frequency content in stop-band.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "cutoff",
                    "content": "Set cutoff frequency in Hertz. Allowed range is 2 to 200.  Default value is 20.\n"
                },
                {
                    "name": "order",
                    "content": "Set filter order. Available values are from 3 to 20.  Default value is 10.\n"
                },
                {
                    "name": "level",
                    "content": "Set input gain level. Allowed range is from 0 to 1. Default value is 1.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "asupercut",
                    "content": "Cut super frequencies.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "cutoff",
                    "content": "Set cutoff frequency in Hertz. Allowed range is 20000 to 192000.  Default value is 20000.\n"
                },
                {
                    "name": "order",
                    "content": "Set filter order. Available values are from 3 to 20.  Default value is 10.\n"
                },
                {
                    "name": "level",
                    "content": "Set input gain level. Allowed range is from 0 to 1. Default value is 1.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "asuperpass",
                    "content": "Apply high order Butterworth band-pass filter.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "centerf",
                    "content": "Set center frequency in Hertz. Allowed range is 2 to 999999.  Default value is 1000.\n"
                },
                {
                    "name": "order",
                    "content": "Set filter order. Available values are from 4 to 20.  Default value is 4.\n"
                },
                {
                    "name": "qfactor",
                    "content": "Set Q-factor. Allowed range is from 0.01 to 100. Default value is 1.\n"
                },
                {
                    "name": "level",
                    "content": "Set input gain level. Allowed range is from 0 to 2. Default value is 1.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "asuperstop",
                    "content": "Apply high order Butterworth band-stop filter.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "centerf",
                    "content": "Set center frequency in Hertz. Allowed range is 2 to 999999.  Default value is 1000.\n"
                },
                {
                    "name": "order",
                    "content": "Set filter order. Available values are from 4 to 20.  Default value is 4.\n"
                },
                {
                    "name": "qfactor",
                    "content": "Set Q-factor. Allowed range is from 0.01 to 100. Default value is 1.\n"
                },
                {
                    "name": "level",
                    "content": "Set input gain level. Allowed range is from 0 to 2. Default value is 1.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "atempo",
                    "content": "Adjust audio tempo.\n\nThe filter accepts exactly one parameter, the audio tempo. If not specified then the filter\nwill assume nominal 1.0 tempo. Tempo must be in the [0.5, 100.0] range.\n\nNote that tempo greater than 2 will skip some samples rather than blend them in.  If for any\nreason this is a concern it is always possible to daisy-chain several instances of atempo to\nachieve the desired product tempo.\n\nExamples\n\n•   Slow down audio to 80% tempo:\n\natempo=0.8\n\n•   To speed up audio to 300% tempo:\n\natempo=3\n\n•   To speed up audio to 300% tempo by daisy-chaining two atempo instances:\n\natempo=sqrt(3),atempo=sqrt(3)\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "tempo",
                    "content": "Change filter tempo scale factor.  Syntax for the command is : \"tempo\"\n"
                },
                {
                    "name": "atrim",
                    "content": "Trim the input so that the output contains one continuous subpart of the input.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "start",
                    "content": "Timestamp (in seconds) of the start of the section to keep. I.e. the audio sample with\nthe timestamp start will be the first sample in the output.\n\nend Specify time of the first audio sample that will be dropped, i.e. the audio sample\nimmediately preceding the one with the timestamp end will be the last sample in the\noutput.\n\nstartpts\nSame as start, except this option sets the start timestamp in samples instead of seconds.\n\nendpts\nSame as end, except this option sets the end timestamp in samples instead of seconds.\n"
                },
                {
                    "name": "duration",
                    "content": "The maximum duration of the output in seconds.\n\nstartsample\nThe number of the first sample that should be output.\n\nendsample\nThe number of the first sample that should be dropped.\n\nstart, end, and duration are expressed as time duration specifications; see the Time duration\nsection in the ffmpeg-utils(1) manual.\n\nNote that the first two sets of the start/end options and the duration option look at the\nframe timestamp, while the sample options simply count the samples that pass through the\nfilter. So start/endpts and start/endsample will give different results when the timestamps\nare wrong, inexact or do not start at zero. Also note that this filter does not modify the\ntimestamps. If you wish to have the output timestamps start at zero, insert the asetpts\nfilter after the atrim filter.\n\nIf multiple start or end options are set, this filter tries to be greedy and keep all samples\nthat match at least one of the specified constraints. To keep only the part that matches all\nthe constraints at once, chain multiple atrim filters.\n\nThe defaults are such that all the input is kept. So it is possible to set e.g.  just the end\nvalues to keep everything before the specified time.\n\nExamples:\n\n•   Drop everything except the second minute of input:\n\nffmpeg -i INPUT -af atrim=60:120\n\n•   Keep only the first 1000 samples:\n\nffmpeg -i INPUT -af atrim=endsample=1000\n"
                },
                {
                    "name": "axcorrelate",
                    "content": "Calculate normalized cross-correlation between two input audio streams.\n\nResulted samples are always between -1 and 1 inclusive.  If result is 1 it means two input\nsamples are highly correlated in that selected segment.  Result 0 means they are not\ncorrelated at all.  If result is -1 it means two input samples are out of phase, which means\nthey cancel each other.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "size",
                    "content": "Set size of segment over which cross-correlation is calculated.  Default is 256. Allowed\nrange is from 2 to 131072.\n"
                },
                {
                    "name": "algo",
                    "content": "Set algorithm for cross-correlation. Can be \"slow\" or \"fast\".  Default is \"slow\". Fast\nalgorithm assumes mean values over any given segment are always zero and thus need much\nless calculations to make.  This is generally not true, but is valid for typical audio\nstreams.\n\nExamples\n\n•   Calculate correlation between channels in stereo audio stream:\n\nffmpeg -i stereo.wav -af channelsplit,axcorrelate=size=1024:algo=fast correlation.wav\n"
                },
                {
                    "name": "bandpass",
                    "content": "Apply a two-pole Butterworth band-pass filter with central frequency frequency, and\n(3dB-point) band-width width.  The csg option selects a constant skirt gain (peak gain = Q)\ninstead of the default: constant 0dB peak gain.  The filter roll off at 6dB per octave (20dB\nper decade).\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Set the filter's central frequency. Default is 3000.\n\ncsg Constant skirt gain if set to 1. Defaults to 0.\n\nwidthtype, t\nSet method to specify band-width of filter.\n\nh   Hz\n\nq   Q-Factor\n\no   octave\n\ns   slope\n\nk   kHz\n"
                },
                {
                    "name": "width, w",
                    "content": "Specify the band-width of a filter in widthtype units.\n"
                },
                {
                    "name": "mix, m",
                    "content": "How much to use filtered signal in output. Default is 1.  Range is between 0 and 1.\n"
                },
                {
                    "name": "channels, c",
                    "content": "Specify which channels to filter, by default all available are filtered.\n"
                },
                {
                    "name": "normalize, n",
                    "content": "Normalize biquad coefficients, by default is disabled.  Enabling it will normalize\nmagnitude response at DC to 0dB.\n"
                },
                {
                    "name": "transform, a",
                    "content": "Set transform type of IIR filter.\n\ndi\ndii\ntdii\nlatt"
                },
                {
                    "name": "precision, r",
                    "content": "Set precison of filtering.\n\nauto\nPick automatic sample format depending on surround filters.\n\ns16 Always use signed 16-bit.\n\ns32 Always use signed 32-bit.\n\nf32 Always use float 32-bit.\n\nf64 Always use float 64-bit.\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Change bandpass frequency.  Syntax for the command is : \"frequency\"\n\nwidthtype, t\nChange bandpass widthtype.  Syntax for the command is : \"widthtype\"\n"
                },
                {
                    "name": "width, w",
                    "content": "Change bandpass width.  Syntax for the command is : \"width\"\n"
                },
                {
                    "name": "mix, m",
                    "content": "Change bandpass mix.  Syntax for the command is : \"mix\"\n"
                },
                {
                    "name": "bandreject",
                    "content": "Apply a two-pole Butterworth band-reject filter with central frequency frequency, and\n(3dB-point) band-width width.  The filter roll off at 6dB per octave (20dB per decade).\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Set the filter's central frequency. Default is 3000.\n\nwidthtype, t\nSet method to specify band-width of filter.\n\nh   Hz\n\nq   Q-Factor\n\no   octave\n\ns   slope\n\nk   kHz\n"
                },
                {
                    "name": "width, w",
                    "content": "Specify the band-width of a filter in widthtype units.\n"
                },
                {
                    "name": "mix, m",
                    "content": "How much to use filtered signal in output. Default is 1.  Range is between 0 and 1.\n"
                },
                {
                    "name": "channels, c",
                    "content": "Specify which channels to filter, by default all available are filtered.\n"
                },
                {
                    "name": "normalize, n",
                    "content": "Normalize biquad coefficients, by default is disabled.  Enabling it will normalize\nmagnitude response at DC to 0dB.\n"
                },
                {
                    "name": "transform, a",
                    "content": "Set transform type of IIR filter.\n\ndi\ndii\ntdii\nlatt"
                },
                {
                    "name": "precision, r",
                    "content": "Set precison of filtering.\n\nauto\nPick automatic sample format depending on surround filters.\n\ns16 Always use signed 16-bit.\n\ns32 Always use signed 32-bit.\n\nf32 Always use float 32-bit.\n\nf64 Always use float 64-bit.\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Change bandreject frequency.  Syntax for the command is : \"frequency\"\n\nwidthtype, t\nChange bandreject widthtype.  Syntax for the command is : \"widthtype\"\n"
                },
                {
                    "name": "width, w",
                    "content": "Change bandreject width.  Syntax for the command is : \"width\"\n"
                },
                {
                    "name": "mix, m",
                    "content": "Change bandreject mix.  Syntax for the command is : \"mix\"\n"
                },
                {
                    "name": "bass, lowshelf",
                    "content": "Boost or cut the bass (lower) frequencies of the audio using a two-pole shelving filter with\na response similar to that of a standard hi-fi's tone-controls. This is also known as\nshelving equalisation (EQ).\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "gain, g",
                    "content": "Give the gain at 0 Hz. Its useful range is about -20 (for a large cut) to +20 (for a\nlarge boost).  Beware of clipping when using a positive gain.\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Set the filter's central frequency and so can be used to extend or reduce the frequency\nrange to be boosted or cut.  The default value is 100 Hz.\n\nwidthtype, t\nSet method to specify band-width of filter.\n\nh   Hz\n\nq   Q-Factor\n\no   octave\n\ns   slope\n\nk   kHz\n"
                },
                {
                    "name": "width, w",
                    "content": "Determine how steep is the filter's shelf transition.\n"
                },
                {
                    "name": "poles, p",
                    "content": "Set number of poles. Default is 2.\n"
                },
                {
                    "name": "mix, m",
                    "content": "How much to use filtered signal in output. Default is 1.  Range is between 0 and 1.\n"
                },
                {
                    "name": "channels, c",
                    "content": "Specify which channels to filter, by default all available are filtered.\n"
                },
                {
                    "name": "normalize, n",
                    "content": "Normalize biquad coefficients, by default is disabled.  Enabling it will normalize\nmagnitude response at DC to 0dB.\n"
                },
                {
                    "name": "transform, a",
                    "content": "Set transform type of IIR filter.\n\ndi\ndii\ntdii\nlatt"
                },
                {
                    "name": "precision, r",
                    "content": "Set precison of filtering.\n\nauto\nPick automatic sample format depending on surround filters.\n\ns16 Always use signed 16-bit.\n\ns32 Always use signed 32-bit.\n\nf32 Always use float 32-bit.\n\nf64 Always use float 64-bit.\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Change bass frequency.  Syntax for the command is : \"frequency\"\n\nwidthtype, t\nChange bass widthtype.  Syntax for the command is : \"widthtype\"\n"
                },
                {
                    "name": "width, w",
                    "content": "Change bass width.  Syntax for the command is : \"width\"\n"
                },
                {
                    "name": "gain, g",
                    "content": "Change bass gain.  Syntax for the command is : \"gain\"\n"
                },
                {
                    "name": "mix, m",
                    "content": "Change bass mix.  Syntax for the command is : \"mix\"\n"
                },
                {
                    "name": "biquad",
                    "content": "Apply a biquad IIR filter with the given coefficients.  Where b0, b1, b2 and a0, a1, a2 are\nthe numerator and denominator coefficients respectively.  and channels, c specify which\nchannels to filter, by default all available are filtered.\n\nCommands\n\nThis filter supports the following commands:\n\na0\na1\na2\nb0\nb1\nb2  Change biquad parameter.  Syntax for the command is : \"value\"\n"
                },
                {
                    "name": "mix, m",
                    "content": "How much to use filtered signal in output. Default is 1.  Range is between 0 and 1.\n"
                },
                {
                    "name": "channels, c",
                    "content": "Specify which channels to filter, by default all available are filtered.\n"
                },
                {
                    "name": "normalize, n",
                    "content": "Normalize biquad coefficients, by default is disabled.  Enabling it will normalize\nmagnitude response at DC to 0dB.\n"
                },
                {
                    "name": "transform, a",
                    "content": "Set transform type of IIR filter.\n\ndi\ndii\ntdii\nlatt"
                },
                {
                    "name": "precision, r",
                    "content": "Set precison of filtering.\n\nauto\nPick automatic sample format depending on surround filters.\n\ns16 Always use signed 16-bit.\n\ns32 Always use signed 32-bit.\n\nf32 Always use float 32-bit.\n\nf64 Always use float 64-bit.\n"
                },
                {
                    "name": "bs2b",
                    "content": "Bauer stereo to binaural transformation, which improves headphone listening of stereo audio\nrecords.\n\nTo enable compilation of this filter you need to configure FFmpeg with \"--enable-libbs2b\".\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "profile",
                    "content": "Pre-defined crossfeed level.\n\ndefault\nDefault level (fcut=700, feed=50).\n\ncmoy\nChu Moy circuit (fcut=700, feed=60).\n\njmeier\nJan Meier circuit (fcut=650, feed=95).\n"
                },
                {
                    "name": "fcut",
                    "content": "Cut frequency (in Hz).\n"
                },
                {
                    "name": "feed",
                    "content": "Feed level (in Hz).\n"
                },
                {
                    "name": "channelmap",
                    "content": "Remap input channels to new locations.\n\nIt accepts the following parameters:\n\nmap Map channels from input to output. The argument is a '|'-separated list of mappings, each\nin the \"inchannel-outchannel\" or inchannel form. inchannel can be either the name of\nthe input channel (e.g. FL for front left) or its index in the input channel layout.\noutchannel is the name of the output channel or its index in the output channel layout.\nIf outchannel is not given then it is implicitly an index, starting with zero and\nincreasing by one for each mapping.\n\nchannellayout\nThe channel layout of the output stream.\n\nIf no mapping is present, the filter will implicitly map input channels to output channels,\npreserving indices.\n\nExamples\n\n•   For example, assuming a 5.1+downmix input MOV file,\n\nffmpeg -i in.mov -filter 'channelmap=map=DL-FL|DR-FR' out.wav\n\nwill create an output WAV file tagged as stereo from the downmix channels of the input.\n\n•   To fix a 5.1 WAV improperly encoded in AAC's native channel order\n\nffmpeg -i in.wav -filter 'channelmap=1|2|0|5|3|4:5.1' out.wav\n"
                },
                {
                    "name": "channelsplit",
                    "content": "Split each channel from an input audio stream into a separate output stream.\n\nIt accepts the following parameters:\n\nchannellayout\nThe channel layout of the input stream. The default is \"stereo\".\n"
                },
                {
                    "name": "channels",
                    "content": "A channel layout describing the channels to be extracted as separate output streams or\n\"all\" to extract each input channel as a separate stream. The default is \"all\".\n\nChoosing channels not present in channel layout in the input will result in an error.\n\nExamples\n\n•   For example, assuming a stereo input MP3 file,\n\nffmpeg -i in.mp3 -filtercomplex channelsplit out.mkv\n\nwill create an output Matroska file with two audio streams, one containing only the left\nchannel and the other the right channel.\n\n•   Split a 5.1 WAV file into per-channel files:\n\nffmpeg -i in.wav -filtercomplex\n'channelsplit=channellayout=5.1[FL][FR][FC][LFE][SL][SR]'\n-map '[FL]' frontleft.wav -map '[FR]' frontright.wav -map '[FC]'\nfrontcenter.wav -map '[LFE]' lfe.wav -map '[SL]' sideleft.wav -map '[SR]'\nsideright.wav\n\n•   Extract only LFE from a 5.1 WAV file:\n\nffmpeg -i in.wav -filtercomplex 'channelsplit=channellayout=5.1:channels=LFE[LFE]'\n-map '[LFE]' lfe.wav\n"
                },
                {
                    "name": "chorus",
                    "content": "Add a chorus effect to the audio.\n\nCan make a single vocal sound like a chorus, but can also be applied to instrumentation.\n\nChorus resembles an echo effect with a short delay, but whereas with echo the delay is\nconstant, with chorus, it is varied using using sinusoidal or triangular modulation.  The\nmodulation depth defines the range the modulated delay is played before or after the delay.\nHence the delayed sound will sound slower or faster, that is the delayed sound tuned around\nthe original one, like in a chorus where some vocals are slightly off key.\n\nIt accepts the following parameters:\n\ningain\nSet input gain. Default is 0.4.\n\noutgain\nSet output gain. Default is 0.4.\n"
                },
                {
                    "name": "delays",
                    "content": "Set delays. A typical delay is around 40ms to 60ms.\n"
                },
                {
                    "name": "decays",
                    "content": "Set decays.\n"
                },
                {
                    "name": "speeds",
                    "content": "Set speeds.\n"
                },
                {
                    "name": "depths",
                    "content": "Set depths.\n\nExamples\n\n•   A single delay:\n\nchorus=0.7:0.9:55:0.4:0.25:2\n\n•   Two delays:\n\nchorus=0.6:0.9:50|60:0.4|0.32:0.25|0.4:2|1.3\n\n•   Fuller sounding chorus with three delays:\n\nchorus=0.5:0.9:50|60|40:0.4|0.32|0.3:0.25|0.4|0.3:2|2.3|1.3\n"
                },
                {
                    "name": "compand",
                    "content": "Compress or expand the audio's dynamic range.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "attacks",
                    "content": ""
                },
                {
                    "name": "decays",
                    "content": "A list of times in seconds for each channel over which the instantaneous level of the\ninput signal is averaged to determine its volume. attacks refers to increase of volume\nand decays refers to decrease of volume. For most situations, the attack time (response\nto the audio getting louder) should be shorter than the decay time, because the human ear\nis more sensitive to sudden loud audio than sudden soft audio. A typical value for attack\nis 0.3 seconds and a typical value for decay is 0.8 seconds.  If specified number of\nattacks & decays is lower than number of channels, the last set attack/decay will be used\nfor all remaining channels.\n"
                },
                {
                    "name": "points",
                    "content": "A list of points for the transfer function, specified in dB relative to the maximum\npossible signal amplitude. Each key points list must be defined using the following\nsyntax: \"x0/y0|x1/y1|x2/y2|....\" or \"x0/y0 x1/y1 x2/y2 ....\"\n\nThe input values must be in strictly increasing order but the transfer function does not\nhave to be monotonically rising. The point \"0/0\" is assumed but may be overridden (by\n\"0/out-dBn\"). Typical values for the transfer function are \"-70/-70|-60/-20|1/0\".\n"
                },
                {
                    "name": "soft-knee",
                    "content": "Set the curve radius in dB for all joints. It defaults to 0.01.\n"
                },
                {
                    "name": "gain",
                    "content": "Set the additional gain in dB to be applied at all points on the transfer function. This\nallows for easy adjustment of the overall gain.  It defaults to 0.\n"
                },
                {
                    "name": "volume",
                    "content": "Set an initial volume, in dB, to be assumed for each channel when filtering starts. This\npermits the user to supply a nominal level initially, so that, for example, a very large\ngain is not applied to initial signal levels before the companding has begun to operate.\nA typical value for audio which is initially quiet is -90 dB. It defaults to 0.\n"
                },
                {
                    "name": "delay",
                    "content": "Set a delay, in seconds. The input audio is analyzed immediately, but audio is delayed\nbefore being fed to the volume adjuster. Specifying a delay approximately equal to the\nattack/decay times allows the filter to effectively operate in predictive rather than\nreactive mode. It defaults to 0.\n\nExamples\n\n•   Make music with both quiet and loud passages suitable for listening to in a noisy\nenvironment:\n\ncompand=.3|.3:1|1:-90/-60|-60/-40|-40/-30|-20/-20:6:0:-90:0.2\n\nAnother example for audio with whisper and explosion parts:\n\ncompand=0|0:1|1:-90/-900|-70/-70|-30/-9|0/-3:6:0:0:0\n\n•   A noise gate for when the noise is at a lower level than the signal:\n\ncompand=.1|.1:.2|.2:-900/-900|-50.1/-900|-50/-50:.01:0:-90:.1\n\n•   Here is another noise gate, this time for when the noise is at a higher level than the\nsignal (making it, in some ways, similar to squelch):\n\ncompand=.1|.1:.1|.1:-45.1/-45.1|-45/-900|0/-900:.01:45:-90:.1\n\n•   2:1 compression starting at -6dB:\n\ncompand=points=-80/-80|-6/-6|0/-3.8|20/3.5\n\n•   2:1 compression starting at -9dB:\n\ncompand=points=-80/-80|-9/-9|0/-5.3|20/2.9\n\n•   2:1 compression starting at -12dB:\n\ncompand=points=-80/-80|-12/-12|0/-6.8|20/1.9\n\n•   2:1 compression starting at -18dB:\n\ncompand=points=-80/-80|-18/-18|0/-9.8|20/0.7\n\n•   3:1 compression starting at -15dB:\n\ncompand=points=-80/-80|-15/-15|0/-10.8|20/-5.2\n\n•   Compressor/Gate:\n\ncompand=points=-80/-105|-62/-80|-15.4/-15.4|0/-12|20/-7.6\n\n•   Expander:\n\ncompand=attacks=0:points=-80/-169|-54/-80|-49.5/-64.6|-41.1/-41.1|-25.8/-15|-10.8/-4.5|0/0|20/8.3\n\n•   Hard limiter at -6dB:\n\ncompand=attacks=0:points=-80/-80|-6/-6|20/-6\n\n•   Hard limiter at -12dB:\n\ncompand=attacks=0:points=-80/-80|-12/-12|20/-12\n\n•   Hard noise gate at -35 dB:\n\ncompand=attacks=0:points=-80/-115|-35.1/-80|-35/-35|20/20\n\n•   Soft limiter:\n\ncompand=attacks=0:points=-80/-80|-12.4/-12.4|-6/-8|0/-6.8|20/-2.8\n"
                },
                {
                    "name": "compensationdelay",
                    "content": "Compensation Delay Line is a metric based delay to compensate differing positions of\nmicrophones or speakers.\n\nFor example, you have recorded guitar with two microphones placed in different locations.\nBecause the front of sound wave has fixed speed in normal conditions, the phasing of\nmicrophones can vary and depends on their location and interposition. The best sound mix can\nbe achieved when these microphones are in phase (synchronized). Note that a distance of ~30\ncm between microphones makes one microphone capture the signal in antiphase to the other\nmicrophone. That makes the final mix sound moody.  This filter helps to solve phasing\nproblems by adding different delays to each microphone track and make them synchronized.\n\nThe best result can be reached when you take one track as base and synchronize other tracks\none by one with it.  Remember that synchronization/delay tolerance depends on sample rate,\ntoo.  Higher sample rates will give more tolerance.\n\nThe filter accepts the following parameters:\n\nmm  Set millimeters distance. This is compensation distance for fine tuning.  Default is 0.\n\ncm  Set cm distance. This is compensation distance for tightening distance setup.  Default is\n0.\n\nm   Set meters distance. This is compensation distance for hard distance setup.  Default is\n0.\n\ndry Set dry amount. Amount of unprocessed (dry) signal.  Default is 0.\n\nwet Set wet amount. Amount of processed (wet) signal.  Default is 1.\n"
                },
                {
                    "name": "temp",
                    "content": "Set temperature in degrees Celsius. This is the temperature of the environment.  Default\nis 20.\n"
                },
                {
                    "name": "crossfeed",
                    "content": "Apply headphone crossfeed filter.\n\nCrossfeed is the process of blending the left and right channels of stereo audio recording.\nIt is mainly used to reduce extreme stereo separation of low frequencies.\n\nThe intent is to produce more speaker like sound to the listener.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "strength",
                    "content": "Set strength of crossfeed. Default is 0.2. Allowed range is from 0 to 1.  This sets gain\nof low shelf filter for side part of stereo image.  Default is -6dB. Max allowed is -30db\nwhen strength is set to 1.\n"
                },
                {
                    "name": "range",
                    "content": "Set soundstage wideness. Default is 0.5. Allowed range is from 0 to 1.  This sets cut off\nfrequency of low shelf filter. Default is cut off near 1550 Hz. With range set to 1 cut\noff frequency is set to 2100 Hz.\n"
                },
                {
                    "name": "slope",
                    "content": "Set curve slope of low shelf filter. Default is 0.5.  Allowed range is from 0.01 to 1.\n\nlevelin\nSet input gain. Default is 0.9.\n\nlevelout\nSet output gain. Default is 1.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "crystalizer",
                    "content": "Simple algorithm for audio noise sharpening.\n\nThis filter linearly increases differences betweeen each audio sample.\n\nThe filter accepts the following options:\n\ni   Sets the intensity of effect (default: 2.0). Must be in range between -10.0 to 0\n(unchanged sound) to 10.0 (maximum effect).  To inverse filtering use negative value.\n\nc   Enable clipping. By default is enabled.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "dcshift",
                    "content": "Apply a DC shift to the audio.\n\nThis can be useful to remove a DC offset (caused perhaps by a hardware problem in the\nrecording chain) from the audio. The effect of a DC offset is reduced headroom and hence\nvolume. The astats filter can be used to determine if a signal has a DC offset.\n"
                },
                {
                    "name": "shift",
                    "content": "Set the DC shift, allowed range is [-1, 1]. It indicates the amount to shift the audio.\n"
                },
                {
                    "name": "limitergain",
                    "content": "Optional. It should have a value much less than 1 (e.g. 0.05 or 0.02) and is used to\nprevent clipping.\n"
                },
                {
                    "name": "deesser",
                    "content": "Apply de-essing to the audio samples.\n\ni   Set intensity for triggering de-essing. Allowed range is from 0 to 1.  Default is 0.\n\nm   Set amount of ducking on treble part of sound. Allowed range is from 0 to 1.  Default is\n0.5.\n\nf   How much of original frequency content to keep when de-essing. Allowed range is from 0 to\n1.  Default is 0.5.\n\ns   Set the output mode.\n\nIt accepts the following values:\n\ni   Pass input unchanged.\n\no   Pass ess filtered out.\n\ne   Pass only ess.\n\nDefault value is o.\n"
                },
                {
                    "name": "drmeter",
                    "content": "Measure audio dynamic range.\n\nDR values of 14 and higher is found in very dynamic material. DR of 8 to 13 is found in\ntransition material. And anything less that 8 have very poor dynamics and is very compressed.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "length",
                    "content": "Set window length in seconds used to split audio into segments of equal length.  Default\nis 3 seconds.\n"
                },
                {
                    "name": "dynaudnorm",
                    "content": "Dynamic Audio Normalizer.\n\nThis filter applies a certain amount of gain to the input audio in order to bring its peak\nmagnitude to a target level (e.g. 0 dBFS). However, in contrast to more \"simple\"\nnormalization algorithms, the Dynamic Audio Normalizer *dynamically* re-adjusts the gain\nfactor to the input audio.  This allows for applying extra gain to the \"quiet\" sections of\nthe audio while avoiding distortions or clipping the \"loud\" sections. In other words: The\nDynamic Audio Normalizer will \"even out\" the volume of quiet and loud sections, in the sense\nthat the volume of each section is brought to the same target level. Note, however, that the\nDynamic Audio Normalizer achieves this goal *without* applying \"dynamic range compressing\".\nIt will retain 100% of the dynamic range *within* each section of the audio file.\n"
                },
                {
                    "name": "framelen, f",
                    "content": "Set the frame length in milliseconds. In range from 10 to 8000 milliseconds.  Default is\n500 milliseconds.  The Dynamic Audio Normalizer processes the input audio in small\nchunks, referred to as frames. This is required, because a peak magnitude has no meaning\nfor just a single sample value. Instead, we need to determine the peak magnitude for a\ncontiguous sequence of sample values. While a \"standard\" normalizer would simply use the\npeak magnitude of the complete file, the Dynamic Audio Normalizer determines the peak\nmagnitude individually for each frame. The length of a frame is specified in\nmilliseconds. By default, the Dynamic Audio Normalizer uses a frame length of 500\nmilliseconds, which has been found to give good results with most files.  Note that the\nexact frame length, in number of samples, will be determined automatically, based on the\nsampling rate of the individual input audio file.\n"
                },
                {
                    "name": "gausssize, g",
                    "content": "Set the Gaussian filter window size. In range from 3 to 301, must be odd number. Default\nis 31.  Probably the most important parameter of the Dynamic Audio Normalizer is the\n\"window size\" of the Gaussian smoothing filter. The filter's window size is specified in\nframes, centered around the current frame. For the sake of simplicity, this must be an\nodd number. Consequently, the default value of 31 takes into account the current frame,\nas well as the 15 preceding frames and the 15 subsequent frames. Using a larger window\nresults in a stronger smoothing effect and thus in less gain variation, i.e. slower gain\nadaptation. Conversely, using a smaller window results in a weaker smoothing effect and\nthus in more gain variation, i.e. faster gain adaptation.  In other words, the more you\nincrease this value, the more the Dynamic Audio Normalizer will behave like a\n\"traditional\" normalization filter. On the contrary, the more you decrease this value,\nthe more the Dynamic Audio Normalizer will behave like a dynamic range compressor.\n"
                },
                {
                    "name": "peak, p",
                    "content": "Set the target peak value. This specifies the highest permissible magnitude level for the\nnormalized audio input. This filter will try to approach the target peak magnitude as\nclosely as possible, but at the same time it also makes sure that the normalized signal\nwill never exceed the peak magnitude.  A frame's maximum local gain factor is imposed\ndirectly by the target peak magnitude. The default value is 0.95 and thus leaves a\nheadroom of 5%*.  It is not recommended to go above this value.\n"
                },
                {
                    "name": "maxgain, m",
                    "content": "Set the maximum gain factor. In range from 1.0 to 100.0. Default is 10.0.  The Dynamic\nAudio Normalizer determines the maximum possible (local) gain factor for each input\nframe, i.e. the maximum gain factor that does not result in clipping or distortion. The\nmaximum gain factor is determined by the frame's highest magnitude sample. However, the\nDynamic Audio Normalizer additionally bounds the frame's maximum gain factor by a\npredetermined (global) maximum gain factor. This is done in order to avoid excessive gain\nfactors in \"silent\" or almost silent frames. By default, the maximum gain factor is 10.0,\nFor most inputs the default value should be sufficient and it usually is not recommended\nto increase this value. Though, for input with an extremely low overall volume level, it\nmay be necessary to allow even higher gain factors. Note, however, that the Dynamic Audio\nNormalizer does not simply apply a \"hard\" threshold (i.e. cut off values above the\nthreshold).  Instead, a \"sigmoid\" threshold function will be applied. This way, the gain\nfactors will smoothly approach the threshold value, but never exceed that value.\n"
                },
                {
                    "name": "targetrms, r",
                    "content": "Set the target RMS. In range from 0.0 to 1.0. Default is 0.0 - disabled.  By default, the\nDynamic Audio Normalizer performs \"peak\" normalization.  This means that the maximum\nlocal gain factor for each frame is defined (only) by the frame's highest magnitude\nsample. This way, the samples can be amplified as much as possible without exceeding the\nmaximum signal level, i.e. without clipping. Optionally, however, the Dynamic Audio\nNormalizer can also take into account the frame's root mean square, abbreviated RMS. In\nelectrical engineering, the RMS is commonly used to determine the power of a time-varying\nsignal. It is therefore considered that the RMS is a better approximation of the\n\"perceived loudness\" than just looking at the signal's peak magnitude. Consequently, by\nadjusting all frames to a constant RMS value, a uniform \"perceived loudness\" can be\nestablished. If a target RMS value has been specified, a frame's local gain factor is\ndefined as the factor that would result in exactly that RMS value.  Note, however, that\nthe maximum local gain factor is still restricted by the frame's highest magnitude\nsample, in order to prevent clipping.\n"
                },
                {
                    "name": "coupling, n",
                    "content": "Enable channels coupling. By default is enabled.  By default, the Dynamic Audio\nNormalizer will amplify all channels by the same amount. This means the same gain factor\nwill be applied to all channels, i.e.  the maximum possible gain factor is determined by\nthe \"loudest\" channel.  However, in some recordings, it may happen that the volume of the\ndifferent channels is uneven, e.g. one channel may be \"quieter\" than the other one(s).\nIn this case, this option can be used to disable the channel coupling. This way, the gain\nfactor will be determined independently for each channel, depending only on the\nindividual channel's highest magnitude sample. This allows for harmonizing the volume of\nthe different channels.\n"
                },
                {
                    "name": "correctdc, c",
                    "content": "Enable DC bias correction. By default is disabled.  An audio signal (in the time domain)\nis a sequence of sample values.  In the Dynamic Audio Normalizer these sample values are\nrepresented in the -1.0 to 1.0 range, regardless of the original input format. Normally,\nthe audio signal, or \"waveform\", should be centered around the zero point.  That means if\nwe calculate the mean value of all samples in a file, or in a single frame, then the\nresult should be 0.0 or at least very close to that value. If, however, there is a\nsignificant deviation of the mean value from 0.0, in either positive or negative\ndirection, this is referred to as a DC bias or DC offset. Since a DC bias is clearly\nundesirable, the Dynamic Audio Normalizer provides optional DC bias correction.  With DC\nbias correction enabled, the Dynamic Audio Normalizer will determine the mean value, or\n\"DC correction\" offset, of each input frame and subtract that value from all of the\nframe's sample values which ensures those samples are centered around 0.0 again. Also, in\norder to avoid \"gaps\" at the frame boundaries, the DC correction offset values will be\ninterpolated smoothly between neighbouring frames.\n"
                },
                {
                    "name": "altboundary, b",
                    "content": "Enable alternative boundary mode. By default is disabled.  The Dynamic Audio Normalizer\ntakes into account a certain neighbourhood around each frame. This includes the preceding\nframes as well as the subsequent frames. However, for the \"boundary\" frames, located at\nthe very beginning and at the very end of the audio file, not all neighbouring frames are\navailable. In particular, for the first few frames in the audio file, the preceding\nframes are not known. And, similarly, for the last few frames in the audio file, the\nsubsequent frames are not known. Thus, the question arises which gain factors should be\nassumed for the missing frames in the \"boundary\" region. The Dynamic Audio Normalizer\nimplements two modes to deal with this situation. The default boundary mode assumes a\ngain factor of exactly 1.0 for the missing frames, resulting in a smooth \"fade in\" and\n\"fade out\" at the beginning and at the end of the input, respectively.\n"
                },
                {
                    "name": "compress, s",
                    "content": "Set the compress factor. In range from 0.0 to 30.0. Default is 0.0.  By default, the\nDynamic Audio Normalizer does not apply \"traditional\" compression. This means that signal\npeaks will not be pruned and thus the full dynamic range will be retained within each\nlocal neighbourhood. However, in some cases it may be desirable to combine the Dynamic\nAudio Normalizer's normalization algorithm with a more \"traditional\" compression.  For\nthis purpose, the Dynamic Audio Normalizer provides an optional compression\n(thresholding) function. If (and only if) the compression feature is enabled, all input\nframes will be processed by a soft knee thresholding function prior to the actual\nnormalization process. Put simply, the thresholding function is going to prune all\nsamples whose magnitude exceeds a certain threshold value.  However, the Dynamic Audio\nNormalizer does not simply apply a fixed threshold value. Instead, the threshold value\nwill be adjusted for each individual frame.  In general, smaller parameters result in\nstronger compression, and vice versa.  Values below 3.0 are not recommended, because\naudible distortion may appear.\n"
                },
                {
                    "name": "threshold, t",
                    "content": "Set the target threshold value. This specifies the lowest permissible magnitude level for\nthe audio input which will be normalized.  If input frame volume is above this value\nframe will be normalized.  Otherwise frame may not be normalized at all. The default\nvalue is set to 0, which means all input frames will be normalized.  This option is\nmostly useful if digital noise is not wanted to be amplified.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "earwax",
                    "content": "Make audio easier to listen to on headphones.\n\nThis filter adds `cues' to 44.1kHz stereo (i.e. audio CD format) audio so that when listened\nto on headphones the stereo image is moved from inside your head (standard for headphones) to\noutside and in front of the listener (standard for speakers).\n\nPorted from SoX.\n"
                },
                {
                    "name": "equalizer",
                    "content": "Apply a two-pole peaking equalisation (EQ) filter. With this filter, the signal-level at and\naround a selected frequency can be increased or decreased, whilst (unlike bandpass and\nbandreject filters) that at all other frequencies is unchanged.\n\nIn order to produce complex equalisation curves, this filter can be given several times, each\nwith a different central frequency.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Set the filter's central frequency in Hz.\n\nwidthtype, t\nSet method to specify band-width of filter.\n\nh   Hz\n\nq   Q-Factor\n\no   octave\n\ns   slope\n\nk   kHz\n"
                },
                {
                    "name": "width, w",
                    "content": "Specify the band-width of a filter in widthtype units.\n"
                },
                {
                    "name": "gain, g",
                    "content": "Set the required gain or attenuation in dB.  Beware of clipping when using a positive\ngain.\n"
                },
                {
                    "name": "mix, m",
                    "content": "How much to use filtered signal in output. Default is 1.  Range is between 0 and 1.\n"
                },
                {
                    "name": "channels, c",
                    "content": "Specify which channels to filter, by default all available are filtered.\n"
                },
                {
                    "name": "normalize, n",
                    "content": "Normalize biquad coefficients, by default is disabled.  Enabling it will normalize\nmagnitude response at DC to 0dB.\n"
                },
                {
                    "name": "transform, a",
                    "content": "Set transform type of IIR filter.\n\ndi\ndii\ntdii\nlatt"
                },
                {
                    "name": "precision, r",
                    "content": "Set precison of filtering.\n\nauto\nPick automatic sample format depending on surround filters.\n\ns16 Always use signed 16-bit.\n\ns32 Always use signed 32-bit.\n\nf32 Always use float 32-bit.\n\nf64 Always use float 64-bit.\n\nExamples\n\n•   Attenuate 10 dB at 1000 Hz, with a bandwidth of 200 Hz:\n\nequalizer=f=1000:t=h:width=200:g=-10\n\n•   Apply 2 dB gain at 1000 Hz with Q 1 and attenuate 5 dB at 100 Hz with Q 2:\n\nequalizer=f=1000:t=q:w=1:g=2,equalizer=f=100:t=q:w=2:g=-5\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Change equalizer frequency.  Syntax for the command is : \"frequency\"\n\nwidthtype, t\nChange equalizer widthtype.  Syntax for the command is : \"widthtype\"\n"
                },
                {
                    "name": "width, w",
                    "content": "Change equalizer width.  Syntax for the command is : \"width\"\n"
                },
                {
                    "name": "gain, g",
                    "content": "Change equalizer gain.  Syntax for the command is : \"gain\"\n"
                },
                {
                    "name": "mix, m",
                    "content": "Change equalizer mix.  Syntax for the command is : \"mix\"\n"
                },
                {
                    "name": "extrastereo",
                    "content": "Linearly increases the difference between left and right channels which adds some sort of\n\"live\" effect to playback.\n\nThe filter accepts the following options:\n\nm   Sets the difference coefficient (default: 2.5). 0.0 means mono sound (average of both\nchannels), with 1.0 sound will be unchanged, with -1.0 left and right channels will be\nswapped.\n\nc   Enable clipping. By default is enabled.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "firequalizer",
                    "content": "Apply FIR Equalization using arbitrary frequency response.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "gain",
                    "content": "Set gain curve equation (in dB). The expression can contain variables:\n\nf   the evaluated frequency\n\nsr  sample rate\n\nch  channel number, set to 0 when multichannels evaluation is disabled\n\nchid\nchannel id, see libavutil/channellayout.h, set to the first channel id when\nmultichannels evaluation is disabled\n\nchs number of channels\n\nchlayout\nchannellayout, see libavutil/channellayout.h\n\nand functions:\n\ngaininterpolate(f)\ninterpolate gain on frequency f based on gainentry\n\ncubicinterpolate(f)\nsame as gaininterpolate, but smoother\n\nThis option is also available as command. Default is gaininterpolate(f).\n\ngainentry\nSet gain entry for gaininterpolate function. The expression can contain functions:\n\nentry(f, g)\nstore gain entry at frequency f with value g\n\nThis option is also available as command.\n"
                },
                {
                    "name": "delay",
                    "content": "Set filter delay in seconds. Higher value means more accurate.  Default is 0.01.\n"
                },
                {
                    "name": "accuracy",
                    "content": "Set filter accuracy in Hz. Lower value means more accurate.  Default is 5.\n"
                },
                {
                    "name": "wfunc",
                    "content": "Set window function. Acceptable values are:\n\nrectangular\nrectangular window, useful when gain curve is already smooth\n\nhann\nhann window (default)\n\nhamming\nhamming window\n\nblackman\nblackman window\n\nnuttall3\n3-terms continuous 1st derivative nuttall window\n\nmnuttall3\nminimum 3-terms discontinuous nuttall window\n\nnuttall\n4-terms continuous 1st derivative nuttall window\n\nbnuttall\nminimum 4-terms discontinuous nuttall (blackman-nuttall) window\n\nbharris\nblackman-harris window\n\ntukey\ntukey window\n"
                },
                {
                    "name": "fixed",
                    "content": "If enabled, use fixed number of audio samples. This improves speed when filtering with\nlarge delay. Default is disabled.\n"
                },
                {
                    "name": "multi",
                    "content": "Enable multichannels evaluation on gain. Default is disabled.\n\nzerophase\nEnable zero phase mode by subtracting timestamp to compensate delay.  Default is\ndisabled.\n"
                },
                {
                    "name": "scale",
                    "content": "Set scale used by gain. Acceptable values are:\n\nlinlin\nlinear frequency, linear gain\n\nlinlog\nlinear frequency, logarithmic (in dB) gain (default)\n\nloglin\nlogarithmic (in octave scale where 20 Hz is 0) frequency, linear gain\n\nloglog\nlogarithmic frequency, logarithmic gain\n"
                },
                {
                    "name": "dumpfile",
                    "content": "Set file for dumping, suitable for gnuplot.\n"
                },
                {
                    "name": "dumpscale",
                    "content": "Set scale for dumpfile. Acceptable values are same with scale option.  Default is linlog.\n"
                },
                {
                    "name": "fft2",
                    "content": "Enable 2-channel convolution using complex FFT. This improves speed significantly.\nDefault is disabled.\n\nminphase\nEnable minimum phase impulse response. Default is disabled.\n\nExamples\n\n•   lowpass at 1000 Hz:\n\nfirequalizer=gain='if(lt(f,1000), 0, -INF)'\n\n•   lowpass at 1000 Hz with gainentry:\n\nfirequalizer=gainentry='entry(1000,0); entry(1001, -INF)'\n\n•   custom equalization:\n\nfirequalizer=gainentry='entry(100,0); entry(400, -4); entry(1000, -6); entry(2000, 0)'\n\n•   higher delay with zero phase to compensate delay:\n\nfirequalizer=delay=0.1:fixed=on:zerophase=on\n\n•   lowpass on left channel, highpass on right channel:\n\nfirequalizer=gain='if(eq(chid,1), gaininterpolate(f), if(eq(chid,2), gaininterpolate(1e6+f), 0))'\n:gainentry='entry(1000, 0); entry(1001,-INF); entry(1e6+1000,0)':multi=on\n"
                },
                {
                    "name": "flanger",
                    "content": "Apply a flanging effect to the audio.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "delay",
                    "content": "Set base delay in milliseconds. Range from 0 to 30. Default value is 0.\n"
                },
                {
                    "name": "depth",
                    "content": "Set added sweep delay in milliseconds. Range from 0 to 10. Default value is 2.\n"
                },
                {
                    "name": "regen",
                    "content": "Set percentage regeneration (delayed signal feedback). Range from -95 to 95.  Default\nvalue is 0.\n"
                },
                {
                    "name": "width",
                    "content": "Set percentage of delayed signal mixed with original. Range from 0 to 100.  Default value\nis 71.\n"
                },
                {
                    "name": "speed",
                    "content": "Set sweeps per second (Hz). Range from 0.1 to 10. Default value is 0.5.\n"
                },
                {
                    "name": "shape",
                    "content": "Set swept wave shape, can be triangular or sinusoidal.  Default value is sinusoidal.\n"
                },
                {
                    "name": "phase",
                    "content": "Set swept wave percentage-shift for multi channel. Range from 0 to 100.  Default value is\n25.\n"
                },
                {
                    "name": "interp",
                    "content": "Set delay-line interpolation, linear or quadratic.  Default is linear.\n"
                },
                {
                    "name": "haas",
                    "content": "Apply Haas effect to audio.\n\nNote that this makes most sense to apply on mono signals.  With this filter applied to mono\nsignals it give some directionality and stretches its stereo image.\n\nThe filter accepts the following options:\n\nlevelin\nSet input level. By default is 1, or 0dB\n\nlevelout\nSet output level. By default is 1, or 0dB.\n\nsidegain\nSet gain applied to side part of signal. By default is 1.\n\nmiddlesource\nSet kind of middle source. Can be one of the following:\n\nleft\nPick left channel.\n\nright\nPick right channel.\n\nmid Pick middle part signal of stereo image.\n\nside\nPick side part signal of stereo image.\n\nmiddlephase\nChange middle phase. By default is disabled.\n\nleftdelay\nSet left channel delay. By default is 2.05 milliseconds.\n\nleftbalance\nSet left channel balance. By default is -1.\n\nleftgain\nSet left channel gain. By default is 1.\n\nleftphase\nChange left phase. By default is disabled.\n\nrightdelay\nSet right channel delay. By defaults is 2.12 milliseconds.\n\nrightbalance\nSet right channel balance. By default is 1.\n\nrightgain\nSet right channel gain. By default is 1.\n\nrightphase\nChange right phase. By default is enabled.\n"
                },
                {
                    "name": "hdcd",
                    "content": "Decodes High Definition Compatible Digital (HDCD) data. A 16-bit PCM stream with embedded\nHDCD codes is expanded into a 20-bit PCM stream.\n\nThe filter supports the Peak Extend and Low-level Gain Adjustment features of HDCD, and\ndetects the Transient Filter flag.\n\nffmpeg -i HDCD16.flac -af hdcd OUT24.flac\n\nWhen using the filter with wav, note the default encoding for wav is 16-bit, so the resulting\n20-bit stream will be truncated back to 16-bit. Use something like -acodec pcms24le after\nthe filter to get 24-bit PCM output.\n\nffmpeg -i HDCD16.wav -af hdcd OUT16.wav\nffmpeg -i HDCD16.wav -af hdcd -c:a pcms24le OUT24.wav\n\nThe filter accepts the following options:\n\ndisableautoconvert\nDisable any automatic format conversion or resampling in the filter graph.\n\nprocessstereo\nProcess the stereo channels together. If targetgain does not match between channels,\nconsider it invalid and use the last valid targetgain.\n\ncdtms\nSet the code detect timer period in ms.\n\nforcepe\nAlways extend peaks above -3dBFS even if PE isn't signaled.\n\nanalyzemode\nReplace audio with a solid tone and adjust the amplitude to signal some specific aspect\nof the decoding process. The output file can be loaded in an audio editor alongside the\noriginal to aid analysis.\n\n\"analyzemode=pe:forcepe=true\" can be used to see all samples above the PE level.\n\nModes are:\n\n0, off\nDisabled\n\n1, lle\nGain adjustment level at each sample\n\n2, pe\nSamples where peak extend occurs\n\n3, cdt\nSamples where the code detect timer is active\n\n4, tgm\nSamples where the target gain does not match between channels\n"
                },
                {
                    "name": "headphone",
                    "content": "Apply head-related transfer functions (HRTFs) to create virtual loudspeakers around the user\nfor binaural listening via headphones.  The HRIRs are provided via additional streams, for\neach channel one stereo input stream is needed.\n\nThe filter accepts the following options:\n\nmap Set mapping of input streams for convolution.  The argument is a '|'-separated list of\nchannel names in order as they are given as additional stream inputs for filter.  This\nalso specify number of input streams. Number of input streams must be not less than\nnumber of channels in first stream plus one.\n"
                },
                {
                    "name": "gain",
                    "content": "Set gain applied to audio. Value is in dB. Default is 0.\n"
                },
                {
                    "name": "type",
                    "content": "Set processing type. Can be time or freq. time is processing audio in time domain which\nis slow.  freq is processing audio in frequency domain which is fast.  Default is freq.\n\nlfe Set custom gain for LFE channels. Value is in dB. Default is 0.\n"
                },
                {
                    "name": "size",
                    "content": "Set size of frame in number of samples which will be processed at once.  Default value is\n1024. Allowed range is from 1024 to 96000.\n"
                },
                {
                    "name": "hrir",
                    "content": "Set format of hrir stream.  Default value is stereo. Alternative value is multich.  If\nvalue is set to stereo, number of additional streams should be greater or equal to number\nof input channels in first input stream.  Also each additional stream should have stereo\nnumber of channels.  If value is set to multich, number of additional streams should be\nexactly one. Also number of input channels of additional stream should be equal or\ngreater than twice number of channels of first input stream.\n\nExamples\n\n•   Full example using wav files as coefficients with amovie filters for 7.1 downmix, each\namovie filter use stereo file with IR coefficients as input.  The files give coefficients\nfor each position of virtual loudspeaker:\n\nffmpeg -i input.wav\n-filtercomplex \"amovie=azi270ele0DFC.wav[sr];amovie=azi90ele0DFC.wav[sl];amovie=azi225ele0DFC.wav[br];amovie=azi135ele0DFC.wav[bl];amovie=azi0ele0DFC.wav,asplit[fc][lfe];amovie=azi35ele0DFC.wav[fl];amovie=azi325ele0DFC.wav[fr];[0:a][fl][fr][fc][lfe][bl][br][sl][sr]headphone=FL|FR|FC|LFE|BL|BR|SL|SR\"\noutput.wav\n\n•   Full example using wav files as coefficients with amovie filters for 7.1 downmix, but now\nin multich hrir format.\n\nffmpeg -i input.wav -filtercomplex \"amovie=minp.wav[hrirs];[0:a][hrirs]headphone=map=FL|FR|FC|LFE|BL|BR|SL|SR:hrir=multich\"\noutput.wav\n"
                },
                {
                    "name": "highpass",
                    "content": "Apply a high-pass filter with 3dB point frequency.  The filter can be either single-pole, or\ndouble-pole (the default).  The filter roll off at 6dB per pole per octave (20dB per pole per\ndecade).\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Set frequency in Hz. Default is 3000.\n"
                },
                {
                    "name": "poles, p",
                    "content": "Set number of poles. Default is 2.\n\nwidthtype, t\nSet method to specify band-width of filter.\n\nh   Hz\n\nq   Q-Factor\n\no   octave\n\ns   slope\n\nk   kHz\n"
                },
                {
                    "name": "width, w",
                    "content": "Specify the band-width of a filter in widthtype units.  Applies only to double-pole\nfilter.  The default is 0.707q and gives a Butterworth response.\n"
                },
                {
                    "name": "mix, m",
                    "content": "How much to use filtered signal in output. Default is 1.  Range is between 0 and 1.\n"
                },
                {
                    "name": "channels, c",
                    "content": "Specify which channels to filter, by default all available are filtered.\n"
                },
                {
                    "name": "normalize, n",
                    "content": "Normalize biquad coefficients, by default is disabled.  Enabling it will normalize\nmagnitude response at DC to 0dB.\n"
                },
                {
                    "name": "transform, a",
                    "content": "Set transform type of IIR filter.\n\ndi\ndii\ntdii\nlatt"
                },
                {
                    "name": "precision, r",
                    "content": "Set precison of filtering.\n\nauto\nPick automatic sample format depending on surround filters.\n\ns16 Always use signed 16-bit.\n\ns32 Always use signed 32-bit.\n\nf32 Always use float 32-bit.\n\nf64 Always use float 64-bit.\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Change highpass frequency.  Syntax for the command is : \"frequency\"\n\nwidthtype, t\nChange highpass widthtype.  Syntax for the command is : \"widthtype\"\n"
                },
                {
                    "name": "width, w",
                    "content": "Change highpass width.  Syntax for the command is : \"width\"\n"
                },
                {
                    "name": "mix, m",
                    "content": "Change highpass mix.  Syntax for the command is : \"mix\"\n"
                },
                {
                    "name": "join",
                    "content": "Join multiple input streams into one multi-channel stream.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "inputs",
                    "content": "The number of input streams. It defaults to 2.\n\nchannellayout\nThe desired output channel layout. It defaults to stereo.\n\nmap Map channels from inputs to output. The argument is a '|'-separated list of mappings,\neach in the \"inputidx.inchannel-outchannel\" form. inputidx is the 0-based index of\nthe input stream. inchannel can be either the name of the input channel (e.g. FL for\nfront left) or its index in the specified input stream. outchannel is the name of the\noutput channel.\n\nThe filter will attempt to guess the mappings when they are not specified explicitly. It does\nso by first trying to find an unused matching input channel and if that fails it picks the\nfirst unused input channel.\n\nJoin 3 inputs (with properly set channel layouts):\n\nffmpeg -i INPUT1 -i INPUT2 -i INPUT3 -filtercomplex join=inputs=3 OUTPUT\n\nBuild a 5.1 output from 6 single-channel streams:\n\nffmpeg -i fl -i fr -i fc -i sl -i sr -i lfe -filtercomplex\n'join=inputs=6:channellayout=5.1:map=0.0-FL|1.0-FR|2.0-FC|3.0-SL|4.0-SR|5.0-LFE'\nout\n"
                },
                {
                    "name": "ladspa",
                    "content": "Load a LADSPA (Linux Audio Developer's Simple Plugin API) plugin.\n\nTo enable compilation of this filter you need to configure FFmpeg with \"--enable-ladspa\".\n"
                },
                {
                    "name": "file, f",
                    "content": "Specifies the name of LADSPA plugin library to load. If the environment variable\nLADSPAPATH is defined, the LADSPA plugin is searched in each one of the directories\nspecified by the colon separated list in LADSPAPATH, otherwise in the standard LADSPA\npaths, which are in this order: HOME/.ladspa/lib/, /usr/local/lib/ladspa/,\n/usr/lib/ladspa/.\n"
                },
                {
                    "name": "plugin, p",
                    "content": "Specifies the plugin within the library. Some libraries contain only one plugin, but\nothers contain many of them. If this is not set filter will list all available plugins\nwithin the specified library.\n"
                },
                {
                    "name": "controls, c",
                    "content": "Set the '|' separated list of controls which are zero or more floating point values that\ndetermine the behavior of the loaded plugin (for example delay, threshold or gain).\nControls need to be defined using the following syntax:\nc0=value0|c1=value1|c2=value2|..., where valuei is the value set on the i-th control.\nAlternatively they can be also defined using the following syntax:\nvalue0|value1|value2|..., where valuei is the value set on the i-th control.  If controls\nis set to \"help\", all available controls and their valid ranges are printed.\n\nsamplerate, s\nSpecify the sample rate, default to 44100. Only used if plugin have zero inputs.\n\nnbsamples, n\nSet the number of samples per channel per each output frame, default is 1024. Only used\nif plugin have zero inputs.\n"
                },
                {
                    "name": "duration, d",
                    "content": "Set the minimum duration of the sourced audio. See the Time duration section in the\nffmpeg-utils(1) manual for the accepted syntax.  Note that the resulting duration may be\ngreater than the specified duration, as the generated audio is always cut at the end of a\ncomplete frame.  If not specified, or the expressed duration is negative, the audio is\nsupposed to be generated forever.  Only used if plugin have zero inputs.\n"
                },
                {
                    "name": "latency, l",
                    "content": "Enable latency compensation, by default is disabled.  Only used if plugin have inputs.\n\nExamples\n\n•   List all available plugins within amp (LADSPA example plugin) library:\n\nladspa=file=amp\n\n•   List all available controls and their valid ranges for \"vcfnotch\" plugin from \"VCF\"\nlibrary:\n\nladspa=f=vcf:p=vcfnotch:c=help\n\n•   Simulate low quality audio equipment using \"Computer Music Toolkit\" (CMT) plugin library:\n\nladspa=file=cmt:plugin=lofi:controls=c0=22|c1=12|c2=12\n\n•   Add reverberation to the audio using TAP-plugins (Tom's Audio Processing plugins):\n\nladspa=file=tapreverb:tapreverb\n\n•   Generate white noise, with 0.2 amplitude:\n\nladspa=file=cmt:noisesourcewhite:c=c0=.2\n\n•   Generate 20 bpm clicks using plugin \"C* Click - Metronome\" from the \"C* Audio Plugin\nSuite\" (CAPS) library:\n\nladspa=file=caps:Click:c=c1=20'\n\n•   Apply \"C* Eq10X2 - Stereo 10-band equaliser\" effect:\n\nladspa=caps:Eq10X2:c=c0=-48|c9=-24|c3=12|c4=2\n\n•   Increase volume by 20dB using fast lookahead limiter from Steve Harris \"SWH Plugins\"\ncollection:\n\nladspa=fastlookaheadlimiter1913:fastLookaheadLimiter:20|0|2\n\n•   Attenuate low frequencies using Multiband EQ from Steve Harris \"SWH Plugins\" collection:\n\nladspa=mbeq1197:mbeq:-24|-24|-24|0|0|0|0|0|0|0|0|0|0|0|0\n\n•   Reduce stereo image using \"Narrower\" from the \"C* Audio Plugin Suite\" (CAPS) library:\n\nladspa=caps:Narrower\n\n•   Another white noise, now using \"C* Audio Plugin Suite\" (CAPS) library:\n\nladspa=caps:White:.2\n\n•   Some fractal noise, using \"C* Audio Plugin Suite\" (CAPS) library:\n\nladspa=caps:Fractal:c=c1=1\n\n•   Dynamic volume normalization using \"VLevel\" plugin:\n\nladspa=vlevel-ladspa:vlevelmono\n\nCommands\n\nThis filter supports the following commands:\n\ncN  Modify the N-th control value.\n\nIf the specified value is not valid, it is ignored and prior one is kept.\n"
                },
                {
                    "name": "loudnorm",
                    "content": "EBU R128 loudness normalization. Includes both dynamic and linear normalization modes.\nSupport for both single pass (livestreams, files) and double pass (files) modes.  This\nalgorithm can target IL, LRA, and maximum true peak. In dynamic mode, to accurately detect\ntrue peaks, the audio stream will be upsampled to 192 kHz.  Use the \"-ar\" option or\n\"aresample\" filter to explicitly set an output sample rate.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "I, i",
                    "content": "Set integrated loudness target.  Range is -70.0 - -5.0. Default value is -24.0.\n"
                },
                {
                    "name": "LRA, lra",
                    "content": "Set loudness range target.  Range is 1.0 - 20.0. Default value is 7.0.\n"
                },
                {
                    "name": "TP, tp",
                    "content": "Set maximum true peak.  Range is -9.0 - +0.0. Default value is -2.0.\n\nmeasuredI, measuredi\nMeasured IL of input file.  Range is -99.0 - +0.0.\n\nmeasuredLRA, measuredlra\nMeasured LRA of input file.  Range is  0.0 - 99.0.\n\nmeasuredTP, measuredtp\nMeasured true peak of input file.  Range is  -99.0 - +99.0.\n\nmeasuredthresh\nMeasured threshold of input file.  Range is -99.0 - +0.0.\n"
                },
                {
                    "name": "offset",
                    "content": "Set offset gain. Gain is applied before the true-peak limiter.  Range is  -99.0 - +99.0.\nDefault is +0.0.\n"
                },
                {
                    "name": "linear",
                    "content": "Normalize by linearly scaling the source audio.  \"measuredI\", \"measuredLRA\",\n\"measuredTP\", and \"measuredthresh\" must all be specified. Target LRA shouldn't be lower\nthan source LRA and the change in integrated loudness shouldn't result in a true peak\nwhich exceeds the target TP. If any of these conditions aren't met, normalization mode\nwill revert to dynamic.  Options are \"true\" or \"false\". Default is \"true\".\n\ndualmono\nTreat mono input files as \"dual-mono\". If a mono file is intended for playback on a\nstereo system, its EBU R128 measurement will be perceptually incorrect.  If set to\n\"true\", this option will compensate for this effect.  Multi-channel input files are not\naffected by this option.  Options are true or false. Default is false.\n\nprintformat\nSet print format for stats. Options are summary, json, or none.  Default value is none.\n"
                },
                {
                    "name": "lowpass",
                    "content": "Apply a low-pass filter with 3dB point frequency.  The filter can be either single-pole or\ndouble-pole (the default).  The filter roll off at 6dB per pole per octave (20dB per pole per\ndecade).\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Set frequency in Hz. Default is 500.\n"
                },
                {
                    "name": "poles, p",
                    "content": "Set number of poles. Default is 2.\n\nwidthtype, t\nSet method to specify band-width of filter.\n\nh   Hz\n\nq   Q-Factor\n\no   octave\n\ns   slope\n\nk   kHz\n"
                },
                {
                    "name": "width, w",
                    "content": "Specify the band-width of a filter in widthtype units.  Applies only to double-pole\nfilter.  The default is 0.707q and gives a Butterworth response.\n"
                },
                {
                    "name": "mix, m",
                    "content": "How much to use filtered signal in output. Default is 1.  Range is between 0 and 1.\n"
                },
                {
                    "name": "channels, c",
                    "content": "Specify which channels to filter, by default all available are filtered.\n"
                },
                {
                    "name": "normalize, n",
                    "content": "Normalize biquad coefficients, by default is disabled.  Enabling it will normalize\nmagnitude response at DC to 0dB.\n"
                },
                {
                    "name": "transform, a",
                    "content": "Set transform type of IIR filter.\n\ndi\ndii\ntdii\nlatt"
                },
                {
                    "name": "precision, r",
                    "content": "Set precison of filtering.\n\nauto\nPick automatic sample format depending on surround filters.\n\ns16 Always use signed 16-bit.\n\ns32 Always use signed 32-bit.\n\nf32 Always use float 32-bit.\n\nf64 Always use float 64-bit.\n\nExamples\n\n•   Lowpass only LFE channel, it LFE is not present it does nothing:\n\nlowpass=c=LFE\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Change lowpass frequency.  Syntax for the command is : \"frequency\"\n\nwidthtype, t\nChange lowpass widthtype.  Syntax for the command is : \"widthtype\"\n"
                },
                {
                    "name": "width, w",
                    "content": "Change lowpass width.  Syntax for the command is : \"width\"\n"
                },
                {
                    "name": "mix, m",
                    "content": "Change lowpass mix.  Syntax for the command is : \"mix\"\n"
                },
                {
                    "name": "lv2",
                    "content": "Load a LV2 (LADSPA Version 2) plugin.\n\nTo enable compilation of this filter you need to configure FFmpeg with \"--enable-lv2\".\n"
                },
                {
                    "name": "plugin, p",
                    "content": "Specifies the plugin URI. You may need to escape ':'.\n"
                },
                {
                    "name": "controls, c",
                    "content": "Set the '|' separated list of controls which are zero or more floating point values that\ndetermine the behavior of the loaded plugin (for example delay, threshold or gain).  If\ncontrols is set to \"help\", all available controls and their valid ranges are printed.\n\nsamplerate, s\nSpecify the sample rate, default to 44100. Only used if plugin have zero inputs.\n\nnbsamples, n\nSet the number of samples per channel per each output frame, default is 1024. Only used\nif plugin have zero inputs.\n"
                },
                {
                    "name": "duration, d",
                    "content": "Set the minimum duration of the sourced audio. See the Time duration section in the\nffmpeg-utils(1) manual for the accepted syntax.  Note that the resulting duration may be\ngreater than the specified duration, as the generated audio is always cut at the end of a\ncomplete frame.  If not specified, or the expressed duration is negative, the audio is\nsupposed to be generated forever.  Only used if plugin have zero inputs.\n\nExamples\n\n•   Apply bass enhancer plugin from Calf:\n\nlv2=p=http\\\\\\\\://calf.sourceforge.net/plugins/BassEnhancer:c=amount=2\n\n•   Apply vinyl plugin from Calf:\n\nlv2=p=http\\\\\\\\://calf.sourceforge.net/plugins/Vinyl:c=drone=0.2|aging=0.5\n\n•   Apply bit crusher plugin from ArtyFX:\n\nlv2=p=http\\\\\\\\://www.openavproductions.com/artyfx#bitta:c=crush=0.3\n"
                },
                {
                    "name": "mcompand",
                    "content": "Multiband Compress or expand the audio's dynamic range.\n\nThe input audio is divided into bands using 4th order Linkwitz-Riley IIRs.  This is akin to\nthe crossover of a loudspeaker, and results in flat frequency response when absent compander\naction.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "args",
                    "content": "This option syntax is: attack,decay,[attack,decay..] soft-knee points crossoverfrequency\n[delay [initialvolume [gain]]] | attack,decay ...  For explanation of each item refer to\ncompand filter documentation.\n"
                },
                {
                    "name": "pan",
                    "content": "Mix channels with specific gain levels. The filter accepts the output channel layout followed\nby a set of channels definitions.\n\nThis filter is also designed to efficiently remap the channels of an audio stream.\n\nThe filter accepts parameters of the form: \"l|outdef|outdef|...\"\n\nl   output channel layout or number of channels\n"
                },
                {
                    "name": "outdef",
                    "content": "output channel specification, of the form:\n\"outname=[gain*]inname[(+-)[gain*]inname...]\"\n\noutname\noutput channel to define, either a channel name (FL, FR, etc.) or a channel number (c0,\nc1, etc.)\n"
                },
                {
                    "name": "gain",
                    "content": "multiplicative coefficient for the channel, 1 leaving the volume unchanged\n\ninname\ninput channel to use, see outname for details; it is not possible to mix named and\nnumbered input channels\n\nIf the `=' in a channel specification is replaced by `<', then the gains for that\nspecification will be renormalized so that the total is 1, thus avoiding clipping noise.\n\nMixing examples\n\nFor example, if you want to down-mix from stereo to mono, but with a bigger factor for the\nleft channel:\n\npan=1c|c0=0.9*c0+0.1*c1\n\nA customized down-mix to stereo that works automatically for 3-, 4-, 5- and 7-channels\nsurround:\n\npan=stereo| FL < FL + 0.5*FC + 0.6*BL + 0.6*SL | FR < FR + 0.5*FC + 0.6*BR + 0.6*SR\n\nNote that ffmpeg integrates a default down-mix (and up-mix) system that should be preferred\n(see \"-ac\" option) unless you have very specific needs.\n\nRemapping examples\n\nThe channel remapping will be effective if, and only if:\n\n*<gain coefficients are zeroes or ones,>\n*<only one input per channel output,>\n\nIf all these conditions are satisfied, the filter will notify the user (\"Pure channel mapping\ndetected\"), and use an optimized and lossless method to do the remapping.\n\nFor example, if you have a 5.1 source and want a stereo audio stream by dropping the extra\nchannels:\n\npan=\"stereo| c0=FL | c1=FR\"\n\nGiven the same source, you can also switch front left and front right channels and keep the\ninput channel layout:\n\npan=\"5.1| c0=c1 | c1=c0 | c2=c2 | c3=c3 | c4=c4 | c5=c5\"\n\nIf the input is a stereo audio stream, you can mute the front left channel (and still keep\nthe stereo channel layout) with:\n\npan=\"stereo|c1=c1\"\n\nStill with a stereo audio stream input, you can copy the right channel in both front left and\nright:\n\npan=\"stereo| c0=FR | c1=FR\"\n"
                },
                {
                    "name": "replaygain",
                    "content": "ReplayGain scanner filter. This filter takes an audio stream as an input and outputs it\nunchanged.  At end of filtering it displays \"trackgain\" and \"trackpeak\".\n"
                },
                {
                    "name": "resample",
                    "content": "Convert the audio sample format, sample rate and channel layout. It is not meant to be used\ndirectly.\n"
                },
                {
                    "name": "rubberband",
                    "content": "Apply time-stretching and pitch-shifting with librubberband.\n\nTo enable compilation of this filter, you need to configure FFmpeg with\n\"--enable-librubberband\".\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "tempo",
                    "content": "Set tempo scale factor.\n"
                },
                {
                    "name": "pitch",
                    "content": "Set pitch scale factor.\n"
                },
                {
                    "name": "transients",
                    "content": "Set transients detector.  Possible values are:\n\ncrisp\nmixed\nsmooth"
                },
                {
                    "name": "detector",
                    "content": "Set detector.  Possible values are:\n\ncompound\npercussive\nsoft"
                },
                {
                    "name": "phase",
                    "content": "Set phase.  Possible values are:\n\nlaminar\nindependent"
                },
                {
                    "name": "window",
                    "content": "Set processing window size.  Possible values are:\n\nstandard\nshort\nlong"
                },
                {
                    "name": "smoothing",
                    "content": "Set smoothing.  Possible values are:\n\noff\non"
                },
                {
                    "name": "formant",
                    "content": "Enable formant preservation when shift pitching.  Possible values are:\n\nshifted\npreserved"
                },
                {
                    "name": "pitchq",
                    "content": "Set pitch quality.  Possible values are:\n\nquality\nspeed\nconsistency"
                },
                {
                    "name": "channels",
                    "content": "Set channels.  Possible values are:\n\napart\ntogether\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "tempo",
                    "content": "Change filter tempo scale factor.  Syntax for the command is : \"tempo\"\n"
                },
                {
                    "name": "pitch",
                    "content": "Change filter pitch scale factor.  Syntax for the command is : \"pitch\"\n"
                },
                {
                    "name": "sidechaincompress",
                    "content": "This filter acts like normal compressor but has the ability to compress detected signal using\nsecond input signal.  It needs two input streams and returns one output stream.  First input\nstream will be processed depending on second stream signal.  The filtered signal then can be\nfiltered with other filters in later stages of processing. See pan and amerge filter.\n\nThe filter accepts the following options:\n\nlevelin\nSet input gain. Default is 1. Range is between 0.015625 and 64.\n"
                },
                {
                    "name": "mode",
                    "content": "Set mode of compressor operation. Can be \"upward\" or \"downward\".  Default is \"downward\".\n"
                },
                {
                    "name": "threshold",
                    "content": "If a signal of second stream raises above this level it will affect the gain reduction of\nfirst stream.  By default is 0.125. Range is between 0.00097563 and 1.\n"
                },
                {
                    "name": "ratio",
                    "content": "Set a ratio about which the signal is reduced. 1:2 means that if the level raised 4dB\nabove the threshold, it will be only 2dB above after the reduction.  Default is 2. Range\nis between 1 and 20.\n"
                },
                {
                    "name": "attack",
                    "content": "Amount of milliseconds the signal has to rise above the threshold before gain reduction\nstarts. Default is 20. Range is between 0.01 and 2000.\n"
                },
                {
                    "name": "release",
                    "content": "Amount of milliseconds the signal has to fall below the threshold before reduction is\ndecreased again. Default is 250. Range is between 0.01 and 9000.\n"
                },
                {
                    "name": "makeup",
                    "content": "Set the amount by how much signal will be amplified after processing.  Default is 1.\nRange is from 1 to 64.\n"
                },
                {
                    "name": "knee",
                    "content": "Curve the sharp knee around the threshold to enter gain reduction more softly.  Default\nis 2.82843. Range is between 1 and 8.\n"
                },
                {
                    "name": "link",
                    "content": "Choose if the \"average\" level between all channels of side-chain stream or the\nlouder(\"maximum\") channel of side-chain stream affects the reduction. Default is\n\"average\".\n"
                },
                {
                    "name": "detection",
                    "content": "Should the exact signal be taken in case of \"peak\" or an RMS one in case of \"rms\".\nDefault is \"rms\" which is mainly smoother.\n\nlevelsc\nSet sidechain gain. Default is 1. Range is between 0.015625 and 64.\n\nmix How much to use compressed signal in output. Default is 1.  Range is between 0 and 1.\n\nCommands\n\nThis filter supports the all above options as commands.\n\nExamples\n\n•   Full ffmpeg example taking 2 audio inputs, 1st input to be compressed depending on the\nsignal of 2nd input and later compressed signal to be merged with 2nd input:\n\nffmpeg -i main.flac -i sidechain.flac -filtercomplex \"[1:a]asplit=2[sc][mix];[0:a][sc]sidechaincompress[compr];[compr][mix]amerge\"\n"
                },
                {
                    "name": "sidechaingate",
                    "content": "A sidechain gate acts like a normal (wideband) gate but has the ability to filter the\ndetected signal before sending it to the gain reduction stage.  Normally a gate uses the full\nrange signal to detect a level above the threshold.  For example: If you cut all lower\nfrequencies from your sidechain signal the gate will decrease the volume of your track only\nif not enough highs appear. With this technique you are able to reduce the resonation of a\nnatural drum or remove \"rumbling\" of muted strokes from a heavily distorted guitar.  It needs\ntwo input streams and returns one output stream.  First input stream will be processed\ndepending on second stream signal.\n\nThe filter accepts the following options:\n\nlevelin\nSet input level before filtering.  Default is 1. Allowed range is from 0.015625 to 64.\n"
                },
                {
                    "name": "mode",
                    "content": "Set the mode of operation. Can be \"upward\" or \"downward\".  Default is \"downward\". If set\nto \"upward\" mode, higher parts of signal will be amplified, expanding dynamic range in\nupward direction.  Otherwise, in case of \"downward\" lower parts of signal will be\nreduced.\n"
                },
                {
                    "name": "range",
                    "content": "Set the level of gain reduction when the signal is below the threshold.  Default is\n0.06125. Allowed range is from 0 to 1.  Setting this to 0 disables reduction and then\nfilter behaves like expander.\n"
                },
                {
                    "name": "threshold",
                    "content": "If a signal rises above this level the gain reduction is released.  Default is 0.125.\nAllowed range is from 0 to 1.\n"
                },
                {
                    "name": "ratio",
                    "content": "Set a ratio about which the signal is reduced.  Default is 2. Allowed range is from 1 to\n9000.\n"
                },
                {
                    "name": "attack",
                    "content": "Amount of milliseconds the signal has to rise above the threshold before gain reduction\nstops.  Default is 20 milliseconds. Allowed range is from 0.01 to 9000.\n"
                },
                {
                    "name": "release",
                    "content": "Amount of milliseconds the signal has to fall below the threshold before the reduction is\nincreased again. Default is 250 milliseconds.  Allowed range is from 0.01 to 9000.\n"
                },
                {
                    "name": "makeup",
                    "content": "Set amount of amplification of signal after processing.  Default is 1. Allowed range is\nfrom 1 to 64.\n"
                },
                {
                    "name": "knee",
                    "content": "Curve the sharp knee around the threshold to enter gain reduction more softly.  Default\nis 2.828427125. Allowed range is from 1 to 8.\n"
                },
                {
                    "name": "detection",
                    "content": "Choose if exact signal should be taken for detection or an RMS like one.  Default is rms.\nCan be peak or rms.\n"
                },
                {
                    "name": "link",
                    "content": "Choose if the average level between all channels or the louder channel affects the\nreduction.  Default is average. Can be average or maximum.\n\nlevelsc\nSet sidechain gain. Default is 1. Range is from 0.015625 to 64.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "silencedetect",
                    "content": "Detect silence in an audio stream.\n\nThis filter logs a message when it detects that the input audio volume is less or equal to a\nnoise tolerance value for a duration greater or equal to the minimum detected noise duration.\n\nThe printed times and duration are expressed in seconds. The \"lavfi.silencestart\" or\n\"lavfi.silencestart.X\" metadata key is set on the first frame whose timestamp equals or\nexceeds the detection duration and it contains the timestamp of the first frame of the\nsilence.\n\nThe \"lavfi.silenceduration\" or \"lavfi.silenceduration.X\" and \"lavfi.silenceend\" or\n\"lavfi.silenceend.X\" metadata keys are set on the first frame after the silence. If mono is\nenabled, and each channel is evaluated separately, the \".X\" suffixed keys are used, and \"X\"\ncorresponds to the channel number.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "noise, n",
                    "content": "Set noise tolerance. Can be specified in dB (in case \"dB\" is appended to the specified\nvalue) or amplitude ratio. Default is -60dB, or 0.001.\n"
                },
                {
                    "name": "duration, d",
                    "content": "Set silence duration until notification (default is 2 seconds). See the Time duration\nsection in the ffmpeg-utils(1) manual for the accepted syntax.\n"
                },
                {
                    "name": "mono, m",
                    "content": "Process each channel separately, instead of combined. By default is disabled.\n\nExamples\n\n•   Detect 5 seconds of silence with -50dB noise tolerance:\n\nsilencedetect=n=-50dB:d=5\n\n•   Complete example with ffmpeg to detect silence with 0.0001 noise tolerance in\nsilence.mp3:\n\nffmpeg -i silence.mp3 -af silencedetect=noise=0.0001 -f null -\n"
                },
                {
                    "name": "silenceremove",
                    "content": "Remove silence from the beginning, middle or end of the audio.\n\nThe filter accepts the following options:\n\nstartperiods\nThis value is used to indicate if audio should be trimmed at beginning of the audio. A\nvalue of zero indicates no silence should be trimmed from the beginning. When specifying\na non-zero value, it trims audio up until it finds non-silence. Normally, when trimming\nsilence from beginning of audio the startperiods will be 1 but it can be increased to\nhigher values to trim all audio up to specific count of non-silence periods.  Default\nvalue is 0.\n\nstartduration\nSpecify the amount of time that non-silence must be detected before it stops trimming\naudio. By increasing the duration, bursts of noises can be treated as silence and trimmed\noff. Default value is 0.\n\nstartthreshold\nThis indicates what sample value should be treated as silence. For digital audio, a value\nof 0 may be fine but for audio recorded from analog, you may wish to increase the value\nto account for background noise.  Can be specified in dB (in case \"dB\" is appended to the\nspecified value) or amplitude ratio. Default value is 0.\n\nstartsilence\nSpecify max duration of silence at beginning that will be kept after trimming. Default is\n0, which is equal to trimming all samples detected as silence.\n\nstartmode\nSpecify mode of detection of silence end in start of multi-channel audio.  Can be any or\nall. Default is any.  With any, any sample that is detected as non-silence will cause\nstopped trimming of silence.  With all, only if all channels are detected as non-silence\nwill cause stopped trimming of silence.\n\nstopperiods\nSet the count for trimming silence from the end of audio.  To remove silence from the\nmiddle of a file, specify a stopperiods that is negative. This value is then treated as\na positive value and is used to indicate the effect should restart processing as\nspecified by startperiods, making it suitable for removing periods of silence in the\nmiddle of the audio.  Default value is 0.\n\nstopduration\nSpecify a duration of silence that must exist before audio is not copied any more. By\nspecifying a higher duration, silence that is wanted can be left in the audio.  Default\nvalue is 0.\n\nstopthreshold\nThis is the same as startthreshold but for trimming silence from the end of audio.  Can\nbe specified in dB (in case \"dB\" is appended to the specified value) or amplitude ratio.\nDefault value is 0.\n\nstopsilence\nSpecify max duration of silence at end that will be kept after trimming. Default is 0,\nwhich is equal to trimming all samples detected as silence.\n\nstopmode\nSpecify mode of detection of silence start in end of multi-channel audio.  Can be any or\nall. Default is any.  With any, any sample that is detected as non-silence will cause\nstopped trimming of silence.  With all, only if all channels are detected as non-silence\nwill cause stopped trimming of silence.\n"
                },
                {
                    "name": "detection",
                    "content": "Set how is silence detected. Can be \"rms\" or \"peak\". Second is faster and works better\nwith digital silence which is exactly 0.  Default value is \"rms\".\n"
                },
                {
                    "name": "window",
                    "content": "Set duration in number of seconds used to calculate size of window in number of samples\nfor detecting silence.  Default value is 0.02. Allowed range is from 0 to 10.\n\nExamples\n\n•   The following example shows how this filter can be used to start a recording that does\nnot contain the delay at the start which usually occurs between pressing the record\nbutton and the start of the performance:\n\nsilenceremove=startperiods=1:startduration=5:startthreshold=0.02\n\n•   Trim all silence encountered from beginning to end where there is more than 1 second of\nsilence in audio:\n\nsilenceremove=stopperiods=-1:stopduration=1:stopthreshold=-90dB\n\n•   Trim all digital silence samples, using peak detection, from beginning to end where there\nis more than 0 samples of digital silence in audio and digital silence is detected in all\nchannels at same positions in stream:\n\nsilenceremove=window=0:detection=peak:stopmode=all:startmode=all:stopperiods=-1:stopthreshold=0\n"
                },
                {
                    "name": "sofalizer",
                    "content": "SOFAlizer uses head-related transfer functions (HRTFs) to create virtual loudspeakers around\nthe user for binaural listening via headphones (audio formats up to 9 channels supported).\nThe HRTFs are stored in SOFA files (see <http://www.sofacoustics.org/> for a database).\nSOFAlizer is developed at the Acoustics Research Institute (ARI) of the Austrian Academy of\nSciences.\n\nTo enable compilation of this filter you need to configure FFmpeg with \"--enable-libmysofa\".\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "sofa",
                    "content": "Set the SOFA file used for rendering.\n"
                },
                {
                    "name": "gain",
                    "content": "Set gain applied to audio. Value is in dB. Default is 0.\n"
                },
                {
                    "name": "rotation",
                    "content": "Set rotation of virtual loudspeakers in deg. Default is 0.\n"
                },
                {
                    "name": "elevation",
                    "content": "Set elevation of virtual speakers in deg. Default is 0.\n"
                },
                {
                    "name": "radius",
                    "content": "Set distance in meters between loudspeakers and the listener with near-field HRTFs.\nDefault is 1.\n"
                },
                {
                    "name": "type",
                    "content": "Set processing type. Can be time or freq. time is processing audio in time domain which\nis slow.  freq is processing audio in frequency domain which is fast.  Default is freq.\n"
                },
                {
                    "name": "speakers",
                    "content": "Set custom positions of virtual loudspeakers. Syntax for this option is: <CH> <AZIM>\n<ELEV>[|<CH> <AZIM> <ELEV>|...].  Each virtual loudspeaker is described with short\nchannel name following with azimuth and elevation in degrees.  Each virtual loudspeaker\ndescription is separated by '|'.  For example to override front left and front right\nchannel positions use: 'speakers=FL 45 15|FR 345 15'.  Descriptions with unrecognised\nchannel names are ignored.\n"
                },
                {
                    "name": "lfegain",
                    "content": "Set custom gain for LFE channels. Value is in dB. Default is 0.\n"
                },
                {
                    "name": "framesize",
                    "content": "Set custom frame size in number of samples. Default is 1024.  Allowed range is from 1024\nto 96000. Only used if option type is set to freq.\n"
                },
                {
                    "name": "normalize",
                    "content": "Should all IRs be normalized upon importing SOFA file.  By default is enabled.\n"
                },
                {
                    "name": "interpolate",
                    "content": "Should nearest IRs be interpolated with neighbor IRs if exact position does not match. By\ndefault is disabled.\n"
                },
                {
                    "name": "minphase",
                    "content": "Minphase all IRs upon loading of SOFA file. By default is disabled.\n"
                },
                {
                    "name": "anglestep",
                    "content": "Set neighbor search angle step. Only used if option interpolate is enabled.\n"
                },
                {
                    "name": "radstep",
                    "content": "Set neighbor search radius step. Only used if option interpolate is enabled.\n\nExamples\n\n•   Using ClubFritz6 sofa file:\n\nsofalizer=sofa=/path/to/ClubFritz6.sofa:type=freq:radius=1\n\n•   Using ClubFritz12 sofa file and bigger radius with small rotation:\n\nsofalizer=sofa=/path/to/ClubFritz12.sofa:type=freq:radius=2:rotation=5\n\n•   Similar as above but with custom speaker positions for front left, front right, back left\nand back right and also with custom gain:\n\n\"sofalizer=sofa=/path/to/ClubFritz6.sofa:type=freq:radius=2:speakers=FL 45|FR 315|BL 135|BR 225:gain=28\"\n"
                },
                {
                    "name": "speechnorm",
                    "content": "Speech Normalizer.\n\nThis filter expands or compresses each half-cycle of audio samples (local set of samples all\nabove or all below zero and between two nearest zero crossings) depending on threshold value,\nso audio reaches target peak value under conditions controlled by below options.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "peak, p",
                    "content": "Set the expansion target peak value. This specifies the highest allowed absolute\namplitude level for the normalized audio input. Default value is 0.95. Allowed range is\nfrom 0.0 to 1.0.\n"
                },
                {
                    "name": "expansion, e",
                    "content": "Set the maximum expansion factor. Allowed range is from 1.0 to 50.0. Default value is\n2.0.  This option controls maximum local half-cycle of samples expansion. The maximum\nexpansion would be such that local peak value reaches target peak value but never to\nsurpass it and that ratio between new and previous peak value does not surpass this\noption value.\n"
                },
                {
                    "name": "compression, c",
                    "content": "Set the maximum compression factor. Allowed range is from 1.0 to 50.0. Default value is\n2.0.  This option controls maximum local half-cycle of samples compression. This option\nis used only if threshold option is set to value greater than 0.0, then in such cases\nwhen local peak is lower or same as value set by threshold all samples belonging to that\npeak's half-cycle will be compressed by current compression factor.\n"
                },
                {
                    "name": "threshold, t",
                    "content": "Set the threshold value. Default value is 0.0. Allowed range is from 0.0 to 1.0.  This\noption specifies which half-cycles of samples will be compressed and which will be\nexpanded.  Any half-cycle samples with their local peak value below or same as this\noption value will be compressed by current compression factor, otherwise, if greater than\nthreshold value they will be expanded with expansion factor so that it could reach peak\ntarget value but never surpass it.\n"
                },
                {
                    "name": "raise, r",
                    "content": "Set the expansion raising amount per each half-cycle of samples. Default value is 0.001.\nAllowed range is from 0.0 to 1.0. This controls how fast expansion factor is raised per\neach new half-cycle until it reaches expansion value.  Setting this options too high may\nlead to distortions.\n"
                },
                {
                    "name": "fall, f",
                    "content": "Set the compression raising amount per each half-cycle of samples. Default value is\n0.001.  Allowed range is from 0.0 to 1.0. This controls how fast compression factor is\nraised per each new half-cycle until it reaches compression value.\n"
                },
                {
                    "name": "channels, h",
                    "content": "Specify which channels to filter, by default all available channels are filtered.\n"
                },
                {
                    "name": "invert, i",
                    "content": "Enable inverted filtering, by default is disabled. This inverts interpretation of\nthreshold option. When enabled any half-cycle of samples with their local peak value\nbelow or same as threshold option will be expanded otherwise it will be compressed.\n"
                },
                {
                    "name": "link, l",
                    "content": "Link channels when calculating gain applied to each filtered channel sample, by default\nis disabled.  When disabled each filtered channel gain calculation is independent,\notherwise when this option is enabled the minimum of all possible gains for each filtered\nchannel is used.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "stereotools",
                    "content": "This filter has some handy utilities to manage stereo signals, for converting M/S stereo\nrecordings to L/R signal while having control over the parameters or spreading the stereo\nimage of master track.\n\nThe filter accepts the following options:\n\nlevelin\nSet input level before filtering for both channels. Defaults is 1.  Allowed range is from\n0.015625 to 64.\n\nlevelout\nSet output level after filtering for both channels. Defaults is 1.  Allowed range is from\n0.015625 to 64.\n\nbalancein\nSet input balance between both channels. Default is 0.  Allowed range is from -1 to 1.\n\nbalanceout\nSet output balance between both channels. Default is 0.  Allowed range is from -1 to 1.\n"
                },
                {
                    "name": "softclip",
                    "content": "Enable softclipping. Results in analog distortion instead of harsh digital 0dB clipping.\nDisabled by default.\n"
                },
                {
                    "name": "mutel",
                    "content": "Mute the left channel. Disabled by default.\n"
                },
                {
                    "name": "muter",
                    "content": "Mute the right channel. Disabled by default.\n"
                },
                {
                    "name": "phasel",
                    "content": "Change the phase of the left channel. Disabled by default.\n"
                },
                {
                    "name": "phaser",
                    "content": "Change the phase of the right channel. Disabled by default.\n"
                },
                {
                    "name": "mode",
                    "content": "Set stereo mode. Available values are:\n\nlr>lr\nLeft/Right to Left/Right, this is default.\n\nlr>ms\nLeft/Right to Mid/Side.\n\nms>lr\nMid/Side to Left/Right.\n\nlr>ll\nLeft/Right to Left/Left.\n\nlr>rr\nLeft/Right to Right/Right.\n\nlr>l+r\nLeft/Right to Left + Right.\n\nlr>rl\nLeft/Right to Right/Left.\n\nms>ll\nMid/Side to Left/Left.\n\nms>rr\nMid/Side to Right/Right.\n\nms>rl\nMid/Side to Right/Left.\n\nlr>l-r\nLeft/Right to Left - Right.\n"
                },
                {
                    "name": "slev",
                    "content": "Set level of side signal. Default is 1.  Allowed range is from 0.015625 to 64.\n"
                },
                {
                    "name": "sbal",
                    "content": "Set balance of side signal. Default is 0.  Allowed range is from -1 to 1.\n"
                },
                {
                    "name": "mlev",
                    "content": "Set level of the middle signal. Default is 1.  Allowed range is from 0.015625 to 64.\n"
                },
                {
                    "name": "mpan",
                    "content": "Set middle signal pan. Default is 0. Allowed range is from -1 to 1.\n"
                },
                {
                    "name": "base",
                    "content": "Set stereo base between mono and inversed channels. Default is 0.  Allowed range is from\n-1 to 1.\n"
                },
                {
                    "name": "delay",
                    "content": "Set delay in milliseconds how much to delay left from right channel and vice versa.\nDefault is 0. Allowed range is from -20 to 20.\n"
                },
                {
                    "name": "sclevel",
                    "content": "Set S/C level. Default is 1. Allowed range is from 1 to 100.\n"
                },
                {
                    "name": "phase",
                    "content": "Set the stereo phase in degrees. Default is 0. Allowed range is from 0 to 360.\n\nbmodein, bmodeout\nSet balance mode for balancein/balanceout option.\n\nCan be one of the following:\n\nbalance\nClassic balance mode. Attenuate one channel at time.  Gain is raised up to 1.\n\namplitude\nSimilar as classic mode above but gain is raised up to 2.\n\npower\nEqual power distribution, from -6dB to +6dB range.\n\nCommands\n\nThis filter supports the all above options as commands.\n\nExamples\n\n•   Apply karaoke like effect:\n\nstereotools=mlev=0.015625\n\n•   Convert M/S signal to L/R:\n\n\"stereotools=mode=ms>lr\"\n"
                },
                {
                    "name": "stereowiden",
                    "content": "This filter enhance the stereo effect by suppressing signal common to both channels and by\ndelaying the signal of left into right and vice versa, thereby widening the stereo effect.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "delay",
                    "content": "Time in milliseconds of the delay of left signal into right and vice versa.  Default is\n20 milliseconds.\n"
                },
                {
                    "name": "feedback",
                    "content": "Amount of gain in delayed signal into right and vice versa. Gives a delay effect of left\nsignal in right output and vice versa which gives widening effect. Default is 0.3.\n"
                },
                {
                    "name": "crossfeed",
                    "content": "Cross feed of left into right with inverted phase. This helps in suppressing the mono. If\nthe value is 1 it will cancel all the signal common to both channels. Default is 0.3.\n"
                },
                {
                    "name": "drymix",
                    "content": "Set level of input signal of original channel. Default is 0.8.\n\nCommands\n\nThis filter supports the all above options except \"delay\" as commands.\n"
                },
                {
                    "name": "superequalizer",
                    "content": "Apply 18 band equalizer.\n\nThe filter accepts the following options:\n\n1b  Set 65Hz band gain.\n\n2b  Set 92Hz band gain.\n\n3b  Set 131Hz band gain.\n\n4b  Set 185Hz band gain.\n\n5b  Set 262Hz band gain.\n\n6b  Set 370Hz band gain.\n\n7b  Set 523Hz band gain.\n\n8b  Set 740Hz band gain.\n\n9b  Set 1047Hz band gain.\n\n10b Set 1480Hz band gain.\n\n11b Set 2093Hz band gain.\n\n12b Set 2960Hz band gain.\n\n13b Set 4186Hz band gain.\n\n14b Set 5920Hz band gain.\n\n15b Set 8372Hz band gain.\n\n16b Set 11840Hz band gain.\n\n17b Set 16744Hz band gain.\n\n18b Set 20000Hz band gain.\n"
                },
                {
                    "name": "surround",
                    "content": "Apply audio surround upmix filter.\n\nThis filter allows to produce multichannel output from audio stream.\n\nThe filter accepts the following options:\n\nchlout\nSet output channel layout. By default, this is 5.1.\n\nSee the Channel Layout section in the ffmpeg-utils(1) manual for the required syntax.\n\nchlin\nSet input channel layout. By default, this is stereo.\n\nSee the Channel Layout section in the ffmpeg-utils(1) manual for the required syntax.\n\nlevelin\nSet input volume level. By default, this is 1.\n\nlevelout\nSet output volume level. By default, this is 1.\n\nlfe Enable LFE channel output if output channel layout has it. By default, this is enabled.\n\nlfelow\nSet LFE low cut off frequency. By default, this is 128 Hz.\n\nlfehigh\nSet LFE high cut off frequency. By default, this is 256 Hz.\n\nlfemode\nSet LFE mode, can be add or sub. Default is add.  In add mode, LFE channel is created\nfrom input audio and added to output.  In sub mode, LFE channel is created from input\naudio and added to output but also all non-LFE output channels are subtracted with output\nLFE channel.\n"
                },
                {
                    "name": "angle",
                    "content": "Set angle of stereo surround transform, Allowed range is from 0 to 360.  Default is 90.\n\nfcin\nSet front center input volume. By default, this is 1.\n\nfcout\nSet front center output volume. By default, this is 1.\n\nflin\nSet front left input volume. By default, this is 1.\n\nflout\nSet front left output volume. By default, this is 1.\n\nfrin\nSet front right input volume. By default, this is 1.\n\nfrout\nSet front right output volume. By default, this is 1.\n\nslin\nSet side left input volume. By default, this is 1.\n\nslout\nSet side left output volume. By default, this is 1.\n\nsrin\nSet side right input volume. By default, this is 1.\n\nsrout\nSet side right output volume. By default, this is 1.\n\nblin\nSet back left input volume. By default, this is 1.\n\nblout\nSet back left output volume. By default, this is 1.\n\nbrin\nSet back right input volume. By default, this is 1.\n\nbrout\nSet back right output volume. By default, this is 1.\n\nbcin\nSet back center input volume. By default, this is 1.\n\nbcout\nSet back center output volume. By default, this is 1.\n\nlfein\nSet LFE input volume. By default, this is 1.\n\nlfeout\nSet LFE output volume. By default, this is 1.\n"
                },
                {
                    "name": "allx",
                    "content": "Set spread usage of stereo image across X axis for all channels.\n"
                },
                {
                    "name": "ally",
                    "content": "Set spread usage of stereo image across Y axis for all channels.\n"
                },
                {
                    "name": "fcx, flx, frx, blx, brx, slx, srx, bcx",
                    "content": "Set spread usage of stereo image across X axis for each channel.\n"
                },
                {
                    "name": "fcy, fly, fry, bly, bry, sly, sry, bcy",
                    "content": "Set spread usage of stereo image across Y axis for each channel.\n\nwinsize\nSet window size. Allowed range is from 1024 to 65536. Default size is 4096.\n\nwinfunc\nSet window function.\n\nIt accepts the following values:\n\nrect\nbartlett\nhann, hanning\nhamming\nblackman\nwelch\nflattop\nbharris\nbnuttall\nbhann\nsine\nnuttall\nlanczos\ngauss\ntukey\ndolph\ncauchy\nparzen\npoisson\nbohman\n\nDefault is \"hann\".\n"
                },
                {
                    "name": "overlap",
                    "content": "Set window overlap. If set to 1, the recommended overlap for selected window function\nwill be picked. Default is 0.5.\n"
                },
                {
                    "name": "treble, highshelf",
                    "content": "Boost or cut treble (upper) frequencies of the audio using a two-pole shelving filter with a\nresponse similar to that of a standard hi-fi's tone-controls. This is also known as shelving\nequalisation (EQ).\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "gain, g",
                    "content": "Give the gain at whichever is the lower of ~22 kHz and the Nyquist frequency. Its useful\nrange is about -20 (for a large cut) to +20 (for a large boost). Beware of clipping when\nusing a positive gain.\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Set the filter's central frequency and so can be used to extend or reduce the frequency\nrange to be boosted or cut.  The default value is 3000 Hz.\n\nwidthtype, t\nSet method to specify band-width of filter.\n\nh   Hz\n\nq   Q-Factor\n\no   octave\n\ns   slope\n\nk   kHz\n"
                },
                {
                    "name": "width, w",
                    "content": "Determine how steep is the filter's shelf transition.\n"
                },
                {
                    "name": "poles, p",
                    "content": "Set number of poles. Default is 2.\n"
                },
                {
                    "name": "mix, m",
                    "content": "How much to use filtered signal in output. Default is 1.  Range is between 0 and 1.\n"
                },
                {
                    "name": "channels, c",
                    "content": "Specify which channels to filter, by default all available are filtered.\n"
                },
                {
                    "name": "normalize, n",
                    "content": "Normalize biquad coefficients, by default is disabled.  Enabling it will normalize\nmagnitude response at DC to 0dB.\n"
                },
                {
                    "name": "transform, a",
                    "content": "Set transform type of IIR filter.\n\ndi\ndii\ntdii\nlatt"
                },
                {
                    "name": "precision, r",
                    "content": "Set precison of filtering.\n\nauto\nPick automatic sample format depending on surround filters.\n\ns16 Always use signed 16-bit.\n\ns32 Always use signed 32-bit.\n\nf32 Always use float 32-bit.\n\nf64 Always use float 64-bit.\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Change treble frequency.  Syntax for the command is : \"frequency\"\n\nwidthtype, t\nChange treble widthtype.  Syntax for the command is : \"widthtype\"\n"
                },
                {
                    "name": "width, w",
                    "content": "Change treble width.  Syntax for the command is : \"width\"\n"
                },
                {
                    "name": "gain, g",
                    "content": "Change treble gain.  Syntax for the command is : \"gain\"\n"
                },
                {
                    "name": "mix, m",
                    "content": "Change treble mix.  Syntax for the command is : \"mix\"\n"
                },
                {
                    "name": "tremolo",
                    "content": "Sinusoidal amplitude modulation.\n\nThe filter accepts the following options:\n\nf   Modulation frequency in Hertz. Modulation frequencies in the subharmonic range (20 Hz or\nlower) will result in a tremolo effect.  This filter may also be used as a ring modulator\nby specifying a modulation frequency higher than 20 Hz.  Range is 0.1 - 20000.0. Default\nvalue is 5.0 Hz.\n\nd   Depth of modulation as a percentage. Range is 0.0 - 1.0.  Default value is 0.5.\n"
                },
                {
                    "name": "vibrato",
                    "content": "Sinusoidal phase modulation.\n\nThe filter accepts the following options:\n\nf   Modulation frequency in Hertz.  Range is 0.1 - 20000.0. Default value is 5.0 Hz.\n\nd   Depth of modulation as a percentage. Range is 0.0 - 1.0.  Default value is 0.5.\n"
                },
                {
                    "name": "volume",
                    "content": "Adjust the input audio volume.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "volume",
                    "content": "Set audio volume expression.\n\nOutput values are clipped to the maximum value.\n\nThe output audio volume is given by the relation:\n\n<outputvolume> = <volume> * <inputvolume>\n\nThe default value for volume is \"1.0\".\n"
                },
                {
                    "name": "precision",
                    "content": "This parameter represents the mathematical precision.\n\nIt determines which input sample formats will be allowed, which affects the precision of\nthe volume scaling.\n\nfixed\n8-bit fixed-point; this limits input sample format to U8, S16, and S32.\n\nfloat\n32-bit floating-point; this limits input sample format to FLT. (default)\n\ndouble\n64-bit floating-point; this limits input sample format to DBL.\n"
                },
                {
                    "name": "replaygain",
                    "content": "Choose the behaviour on encountering ReplayGain side data in input frames.\n\ndrop\nRemove ReplayGain side data, ignoring its contents (the default).\n\nignore\nIgnore ReplayGain side data, but leave it in the frame.\n\ntrack\nPrefer the track gain, if present.\n\nalbum\nPrefer the album gain, if present.\n\nreplaygainpreamp\nPre-amplification gain in dB to apply to the selected replaygain gain.\n\nDefault value for replaygainpreamp is 0.0.\n\nreplaygainnoclip\nPrevent clipping by limiting the gain applied.\n\nDefault value for replaygainnoclip is 1.\n"
                },
                {
                    "name": "eval",
                    "content": "Set when the volume expression is evaluated.\n\nIt accepts the following values:\n\nonce\nonly evaluate expression once during the filter initialization, or when the volume\ncommand is sent\n\nframe\nevaluate expression for each incoming frame\n\nDefault value is once.\n\nThe volume expression can contain the following parameters.\n\nn   frame number (starting at zero)\n\nnbchannels\nnumber of channels\n\nnbconsumedsamples\nnumber of samples consumed by the filter\n\nnbsamples\nnumber of samples in the current frame\n\npos original frame position in the file\n\npts frame PTS\n\nsamplerate\nsample rate\n"
                },
                {
                    "name": "startpts",
                    "content": "PTS at start of stream\n"
                },
                {
                    "name": "startt",
                    "content": "time at start of stream\n\nt   frame time\n\ntb  timestamp timebase\n"
                },
                {
                    "name": "volume",
                    "content": "last set volume value\n\nNote that when eval is set to once only the samplerate and tb variables are available, all\nother variables will evaluate to NAN.\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "volume",
                    "content": "Modify the volume expression.  The command accepts the same syntax of the corresponding\noption.\n\nIf the specified expression is not valid, it is kept at its current value.\n\nExamples\n\n•   Halve the input audio volume:\n\nvolume=volume=0.5\nvolume=volume=1/2\nvolume=volume=-6.0206dB\n\nIn all the above example the named key for volume can be omitted, for example like in:\n\nvolume=0.5\n\n•   Increase input audio power by 6 decibels using fixed-point precision:\n\nvolume=volume=6dB:precision=fixed\n\n•   Fade volume after time 10 with an annihilation period of 5 seconds:\n\nvolume='if(lt(t,10),1,max(1-(t-10)/5,0))':eval=frame\n"
                },
                {
                    "name": "volumedetect",
                    "content": "Detect the volume of the input video.\n\nThe filter has no parameters. The input is not modified. Statistics about the volume will be\nprinted in the log when the input stream end is reached.\n\nIn particular it will show the mean volume (root mean square), maximum volume (on a per-\nsample basis), and the beginning of a histogram of the registered volume values (from the\nmaximum value to a cumulated 1/1000 of the samples).\n\nAll volumes are in decibels relative to the maximum PCM value.\n\nExamples\n\nHere is an excerpt of the output:\n\n[Parsedvolumedetect0  0xa23120] meanvolume: -27 dB\n[Parsedvolumedetect0  0xa23120] maxvolume: -4 dB\n[Parsedvolumedetect0  0xa23120] histogram4db: 6\n[Parsedvolumedetect0  0xa23120] histogram5db: 62\n[Parsedvolumedetect0  0xa23120] histogram6db: 286\n[Parsedvolumedetect0  0xa23120] histogram7db: 1042\n[Parsedvolumedetect0  0xa23120] histogram8db: 2551\n[Parsedvolumedetect0  0xa23120] histogram9db: 4609\n[Parsedvolumedetect0  0xa23120] histogram10db: 8409\n\nIt means that:\n\n•   The mean square energy is approximately -27 dB, or 10^-2.7.\n\n•   The largest sample is at -4 dB, or more precisely between -4 dB and -5 dB.\n\n•   There are 6 samples at -4 dB, 62 at -5 dB, 286 at -6 dB, etc.\n\nIn other words, raising the volume by +4 dB does not cause any clipping, raising it by +5 dB\ncauses clipping for 6 samples, etc.\n"
                }
            ]
        },
        "AUDIO SOURCES": {
            "content": "Below is a description of the currently available audio sources.\n",
            "subsections": [
                {
                    "name": "abuffer",
                    "content": "Buffer audio frames, and make them available to the filter chain.\n\nThis source is mainly intended for a programmatic use, in particular through the interface\ndefined in libavfilter/buffersrc.h.\n\nIt accepts the following parameters:\n\ntimebase\nThe timebase which will be used for timestamps of submitted frames. It must be either a\nfloating-point number or in numerator/denominator form.\n\nsamplerate\nThe sample rate of the incoming audio buffers.\n\nsamplefmt\nThe sample format of the incoming audio buffers.  Either a sample format name or its\ncorresponding integer representation from the enum AVSampleFormat in\nlibavutil/samplefmt.h\n\nchannellayout\nThe channel layout of the incoming audio buffers.  Either a channel layout name from\nchannellayoutmap in libavutil/channellayout.c or its corresponding integer\nrepresentation from the AVCHLAYOUT* macros in libavutil/channellayout.h\n"
                },
                {
                    "name": "channels",
                    "content": "The number of channels of the incoming audio buffers.  If both channels and\nchannellayout are specified, then they must be consistent.\n\nExamples\n\nabuffer=samplerate=44100:samplefmt=s16p:channellayout=stereo\n\nwill instruct the source to accept planar 16bit signed stereo at 44100Hz.  Since the sample\nformat with name \"s16p\" corresponds to the number 6 and the \"stereo\" channel layout\ncorresponds to the value 0x3, this is equivalent to:\n\nabuffer=samplerate=44100:samplefmt=6:channellayout=0x3\n"
                },
                {
                    "name": "aevalsrc",
                    "content": "Generate an audio signal specified by an expression.\n\nThis source accepts in input one or more expressions (one for each channel), which are\nevaluated and used to generate a corresponding audio signal.\n\nThis source accepts the following options:\n"
                },
                {
                    "name": "exprs",
                    "content": "Set the '|'-separated expressions list for each separate channel. In case the\nchannellayout option is not specified, the selected channel layout depends on the number\nof provided expressions. Otherwise the last specified expression is applied to the\nremaining output channels.\n\nchannellayout, c\nSet the channel layout. The number of channels in the specified layout must be equal to\nthe number of specified expressions.\n"
                },
                {
                    "name": "duration, d",
                    "content": "Set the minimum duration of the sourced audio. See the Time duration section in the\nffmpeg-utils(1) manual for the accepted syntax.  Note that the resulting duration may be\ngreater than the specified duration, as the generated audio is always cut at the end of a\ncomplete frame.\n\nIf not specified, or the expressed duration is negative, the audio is supposed to be\ngenerated forever.\n\nnbsamples, n\nSet the number of samples per channel per each output frame, default to 1024.\n\nsamplerate, s\nSpecify the sample rate, default to 44100.\n\nEach expression in exprs can contain the following constants:\n\nn   number of the evaluated sample, starting from 0\n\nt   time of the evaluated sample expressed in seconds, starting from 0\n\ns   sample rate\n\nExamples\n\n•   Generate silence:\n\naevalsrc=0\n\n•   Generate a sin signal with frequency of 440 Hz, set sample rate to 8000 Hz:\n\naevalsrc=\"sin(440*2*PI*t):s=8000\"\n\n•   Generate a two channels signal, specify the channel layout (Front Center + Back Center)\nexplicitly:\n\naevalsrc=\"sin(420*2*PI*t)|cos(430*2*PI*t):c=FC|BC\"\n\n•   Generate white noise:\n\naevalsrc=\"-2+random(0)\"\n\n•   Generate an amplitude modulated signal:\n\naevalsrc=\"sin(10*2*PI*t)*sin(880*2*PI*t)\"\n\n•   Generate 2.5 Hz binaural beats on a 360 Hz carrier:\n\naevalsrc=\"0.1*sin(2*PI*(360-2.5/2)*t) | 0.1*sin(2*PI*(360+2.5/2)*t)\"\n"
                },
                {
                    "name": "afirsrc",
                    "content": "Generate a FIR coefficients using frequency sampling method.\n\nThe resulting stream can be used with afir filter for filtering the audio signal.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "taps, t",
                    "content": "Set number of filter coefficents in output audio stream.  Default value is 1025.\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Set frequency points from where magnitude and phase are set.  This must be in non\ndecreasing order, and first element must be 0, while last element must be 1. Elements are\nseparated by white spaces.\n"
                },
                {
                    "name": "magnitude, m",
                    "content": "Set magnitude value for every frequency point set by frequency.  Number of values must be\nsame as number of frequency points.  Values are separated by white spaces.\n"
                },
                {
                    "name": "phase, p",
                    "content": "Set phase value for every frequency point set by frequency.  Number of values must be\nsame as number of frequency points.  Values are separated by white spaces.\n\nsamplerate, r\nSet sample rate, default is 44100.\n\nnbsamples, n\nSet number of samples per each frame. Default is 1024.\n\nwinfunc, w\nSet window function. Default is blackman.\n"
                },
                {
                    "name": "anullsrc",
                    "content": "The null audio source, return unprocessed audio frames. It is mainly useful as a template and\nto be employed in analysis / debugging tools, or as the source for filters which ignore the\ninput data (for example the sox synth filter).\n\nThis source accepts the following options:\n\nchannellayout, cl\nSpecifies the channel layout, and can be either an integer or a string representing a\nchannel layout. The default value of channellayout is \"stereo\".\n\nCheck the channellayoutmap definition in libavutil/channellayout.c for the mapping\nbetween strings and channel layout values.\n\nsamplerate, r\nSpecifies the sample rate, and defaults to 44100.\n\nnbsamples, n\nSet the number of samples per requested frames.\n"
                },
                {
                    "name": "duration, d",
                    "content": "Set the duration of the sourced audio. See the Time duration section in the\nffmpeg-utils(1) manual for the accepted syntax.\n\nIf not specified, or the expressed duration is negative, the audio is supposed to be\ngenerated forever.\n\nExamples\n\n•   Set the sample rate to 48000 Hz and the channel layout to AVCHLAYOUTMONO.\n\nanullsrc=r=48000:cl=4\n\n•   Do the same operation with a more obvious syntax:\n\nanullsrc=r=48000:cl=mono\n\nAll the parameters need to be explicitly defined.\n"
                },
                {
                    "name": "flite",
                    "content": "Synthesize a voice utterance using the libflite library.\n\nTo enable compilation of this filter you need to configure FFmpeg with \"--enable-libflite\".\n\nNote that versions of the flite library prior to 2.0 are not thread-safe.\n\nThe filter accepts the following options:\n\nlistvoices\nIf set to 1, list the names of the available voices and exit immediately. Default value\nis 0.\n\nnbsamples, n\nSet the maximum number of samples per frame. Default value is 512.\n"
                },
                {
                    "name": "textfile",
                    "content": "Set the filename containing the text to speak.\n"
                },
                {
                    "name": "text",
                    "content": "Set the text to speak.\n"
                },
                {
                    "name": "voice, v",
                    "content": "Set the voice to use for the speech synthesis. Default value is \"kal\". See also the\nlistvoices option.\n\nExamples\n\n•   Read from file speech.txt, and synthesize the text using the standard flite voice:\n\nflite=textfile=speech.txt\n\n•   Read the specified text selecting the \"slt\" voice:\n\nflite=text='So fare thee well, poor devil of a Sub-Sub, whose commentator I am':voice=slt\n\n•   Input text to ffmpeg:\n\nffmpeg -f lavfi -i flite=text='So fare thee well, poor devil of a Sub-Sub, whose commentator I am':voice=slt\n\n•   Make ffplay speak the specified text, using \"flite\" and the \"lavfi\" device:\n\nffplay -f lavfi flite=text='No more be grieved for which that thou hast done.'\n\nFor more information about libflite, check: <http://www.festvox.org/flite/>\n"
                },
                {
                    "name": "anoisesrc",
                    "content": "Generate a noise audio signal.\n\nThe filter accepts the following options:\n\nsamplerate, r\nSpecify the sample rate. Default value is 48000 Hz.\n"
                },
                {
                    "name": "amplitude, a",
                    "content": "Specify the amplitude (0.0 - 1.0) of the generated audio stream. Default value is 1.0.\n"
                },
                {
                    "name": "duration, d",
                    "content": "Specify the duration of the generated audio stream. Not specifying this option results in\nnoise with an infinite length.\n"
                },
                {
                    "name": "color, colour, c",
                    "content": "Specify the color of noise. Available noise colors are white, pink, brown, blue, violet\nand velvet. Default color is white.\n"
                },
                {
                    "name": "seed, s",
                    "content": "Specify a value used to seed the PRNG.\n\nnbsamples, n\nSet the number of samples per each output frame, default is 1024.\n\nExamples\n\n•   Generate 60 seconds of pink noise, with a 44.1 kHz sampling rate and an amplitude of 0.5:\n\nanoisesrc=d=60:c=pink:r=44100:a=0.5\n"
                },
                {
                    "name": "hilbert",
                    "content": "Generate odd-tap Hilbert transform FIR coefficients.\n\nThe resulting stream can be used with afir filter for phase-shifting the signal by 90\ndegrees.\n\nThis is used in many matrix coding schemes and for analytic signal generation.  The process\nis often written as a multiplication by i (or j), the imaginary unit.\n\nThe filter accepts the following options:\n\nsamplerate, s\nSet sample rate, default is 44100.\n"
                },
                {
                    "name": "taps, t",
                    "content": "Set length of FIR filter, default is 22051.\n\nnbsamples, n\nSet number of samples per each frame.\n\nwinfunc, w\nSet window function to be used when generating FIR coefficients.\n"
                },
                {
                    "name": "sinc",
                    "content": "Generate a sinc kaiser-windowed low-pass, high-pass, band-pass, or band-reject FIR\ncoefficients.\n\nThe resulting stream can be used with afir filter for filtering the audio signal.\n\nThe filter accepts the following options:\n\nsamplerate, r\nSet sample rate, default is 44100.\n\nnbsamples, n\nSet number of samples per each frame. Default is 1024.\n\nhp  Set high-pass frequency. Default is 0.\n\nlp  Set low-pass frequency. Default is 0.  If high-pass frequency is lower than low-pass\nfrequency and low-pass frequency is higher than 0 then filter will create band-pass\nfilter coefficients, otherwise band-reject filter coefficients.\n"
                },
                {
                    "name": "phase",
                    "content": "Set filter phase response. Default is 50. Allowed range is from 0 to 100.\n"
                },
                {
                    "name": "beta",
                    "content": "Set Kaiser window beta.\n\natt Set stop-band attenuation. Default is 120dB, allowed range is from 40 to 180 dB.\n"
                },
                {
                    "name": "round",
                    "content": "Enable rounding, by default is disabled.\n"
                },
                {
                    "name": "hptaps",
                    "content": "Set number of taps for high-pass filter.\n"
                },
                {
                    "name": "lptaps",
                    "content": "Set number of taps for low-pass filter.\n"
                },
                {
                    "name": "sine",
                    "content": "Generate an audio signal made of a sine wave with amplitude 1/8.\n\nThe audio signal is bit-exact.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "frequency, f",
                    "content": "Set the carrier frequency. Default is 440 Hz.\n\nbeepfactor, b\nEnable a periodic beep every second with frequency beepfactor times the carrier\nfrequency. Default is 0, meaning the beep is disabled.\n\nsamplerate, r\nSpecify the sample rate, default is 44100.\n"
                },
                {
                    "name": "duration, d",
                    "content": "Specify the duration of the generated audio stream.\n\nsamplesperframe\nSet the number of samples per output frame.\n\nThe expression can contain the following constants:\n\nn   The (sequential) number of the output audio frame, starting from 0.\n\npts The PTS (Presentation TimeStamp) of the output audio frame, expressed in TB units.\n\nt   The PTS of the output audio frame, expressed in seconds.\n\nTB  The timebase of the output audio frames.\n\nDefault is 1024.\n\nExamples\n\n•   Generate a simple 440 Hz sine wave:\n\nsine\n\n•   Generate a 220 Hz sine wave with a 880 Hz beep each second, for 5 seconds:\n\nsine=220:4:d=5\nsine=f=220:b=4:d=5\nsine=frequency=220:beepfactor=4:duration=5\n\n•   Generate a 1 kHz sine wave following \"1602,1601,1602,1601,1602\" NTSC pattern:\n\nsine=1000:samplesperframe='st(0,mod(n,5)); 1602-not(not(eq(ld(0),1)+eq(ld(0),3)))'\n"
                }
            ]
        },
        "AUDIO SINKS": {
            "content": "Below is a description of the currently available audio sinks.\n",
            "subsections": [
                {
                    "name": "abuffersink",
                    "content": "Buffer audio frames, and make them available to the end of filter chain.\n\nThis sink is mainly intended for programmatic use, in particular through the interface\ndefined in libavfilter/buffersink.h or the options system.\n\nIt accepts a pointer to an AVABufferSinkContext structure, which defines the incoming\nbuffers' formats, to be passed as the opaque parameter to \"avfilterinitfilter\" for\ninitialization.\n"
                },
                {
                    "name": "anullsink",
                    "content": "Null audio sink; do absolutely nothing with the input audio. It is mainly useful as a\ntemplate and for use in analysis / debugging tools.\n"
                }
            ]
        },
        "VIDEO FILTERS": {
            "content": "When you configure your FFmpeg build, you can disable any of the existing filters using\n\"--disable-filters\".  The configure output will show the video filters included in your\nbuild.\n\nBelow is a description of the currently available video filters.\n",
            "subsections": [
                {
                    "name": "addroi",
                    "content": "Mark a region of interest in a video frame.\n\nThe frame data is passed through unchanged, but metadata is attached to the frame indicating\nregions of interest which can affect the behaviour of later encoding.  Multiple regions can\nbe marked by applying the filter multiple times.\n\nx   Region distance in pixels from the left edge of the frame.\n\ny   Region distance in pixels from the top edge of the frame.\n\nw   Region width in pixels.\n\nh   Region height in pixels.\n\nThe parameters x, y, w and h are expressions, and may contain the following variables:\n\niw  Width of the input frame.\n\nih  Height of the input frame.\n"
                },
                {
                    "name": "qoffset",
                    "content": "Quantisation offset to apply within the region.\n\nThis must be a real value in the range -1 to +1.  A value of zero indicates no quality\nchange.  A negative value asks for better quality (less quantisation), while a positive\nvalue asks for worse quality (greater quantisation).\n\nThe range is calibrated so that the extreme values indicate the largest possible offset -\nif the rest of the frame is encoded with the worst possible quality, an offset of -1\nindicates that this region should be encoded with the best possible quality anyway.\nIntermediate values are then interpolated in some codec-dependent way.\n\nFor example, in 10-bit H.264 the quantisation parameter varies between -12 and 51.  A\ntypical qoffset value of -1/10 therefore indicates that this region should be encoded\nwith a QP around one-tenth of the full range better than the rest of the frame.  So, if\nmost of the frame were to be encoded with a QP of around 30, this region would get a QP\nof around 24 (an offset of approximately -1/10 * (51 - -12) = -6.3).  An extreme value of\n-1 would indicate that this region should be encoded with the best possible quality\nregardless of the treatment of the rest of the frame - that is, should be encoded at a QP\nof -12.\n"
                },
                {
                    "name": "clear",
                    "content": "If set to true, remove any existing regions of interest marked on the frame before adding\nthe new one.\n\nExamples\n\n•   Mark the centre quarter of the frame as interesting.\n\naddroi=iw/4:ih/4:iw/2:ih/2:-1/10\n\n•   Mark the 100-pixel-wide region on the left edge of the frame as very uninteresting (to be\nencoded at much lower quality than the rest of the frame).\n\naddroi=0:0:100:ih:+1/5\n"
                },
                {
                    "name": "alphaextract",
                    "content": "Extract the alpha component from the input as a grayscale video. This is especially useful\nwith the alphamerge filter.\n"
                },
                {
                    "name": "alphamerge",
                    "content": "Add or replace the alpha component of the primary input with the grayscale value of a second\ninput. This is intended for use with alphaextract to allow the transmission or storage of\nframe sequences that have alpha in a format that doesn't support an alpha channel.\n\nFor example, to reconstruct full frames from a normal YUV-encoded video and a separate video\ncreated with alphaextract, you might use:\n\nmovie=inalpha.mkv [alpha]; [in][alpha] alphamerge [out]\n"
                },
                {
                    "name": "amplify",
                    "content": "Amplify differences between current pixel and pixels of adjacent frames in same pixel\nlocation.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "radius",
                    "content": "Set frame radius. Default is 2. Allowed range is from 1 to 63.  For example radius of 3\nwill instruct filter to calculate average of 7 frames.\n"
                },
                {
                    "name": "factor",
                    "content": "Set factor to amplify difference. Default is 2. Allowed range is from 0 to 65535.\n"
                },
                {
                    "name": "threshold",
                    "content": "Set threshold for difference amplification. Any difference greater or equal to this value\nwill not alter source pixel. Default is 10.  Allowed range is from 0 to 65535.\n"
                },
                {
                    "name": "tolerance",
                    "content": "Set tolerance for difference amplification. Any difference lower to this value will not\nalter source pixel. Default is 0.  Allowed range is from 0 to 65535.\n\nlow Set lower limit for changing source pixel. Default is 65535. Allowed range is from 0 to\n65535.  This option controls maximum possible value that will decrease source pixel\nvalue.\n"
                },
                {
                    "name": "high",
                    "content": "Set high limit for changing source pixel. Default is 65535. Allowed range is from 0 to\n65535.  This option controls maximum possible value that will increase source pixel\nvalue.\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to filter. Default is all. Allowed range is from 0 to 15.\n\nCommands\n\nThis filter supports the following commands that corresponds to option of same name:\n"
                },
                {
                    "name": "factor",
                    "content": ""
                },
                {
                    "name": "threshold",
                    "content": ""
                },
                {
                    "name": "tolerance",
                    "content": ""
                },
                {
                    "name": "low",
                    "content": ""
                },
                {
                    "name": "high",
                    "content": ""
                },
                {
                    "name": "planes",
                    "content": ""
                },
                {
                    "name": "ass",
                    "content": "Same as the subtitles filter, except that it doesn't require libavcodec and libavformat to\nwork. On the other hand, it is limited to ASS (Advanced Substation Alpha) subtitles files.\n\nThis filter accepts the following option in addition to the common options from the subtitles\nfilter:\n"
                },
                {
                    "name": "shaping",
                    "content": "Set the shaping engine\n\nAvailable values are:\n\nauto\nThe default libass shaping engine, which is the best available.\n\nsimple\nFast, font-agnostic shaper that can do only substitutions\n\ncomplex\nSlower shaper using OpenType for substitutions and positioning\n\nThe default is \"auto\".\n"
                },
                {
                    "name": "atadenoise",
                    "content": "Apply an Adaptive Temporal Averaging Denoiser to the video input.\n\nThe filter accepts the following options:\n\n0a  Set threshold A for 1st plane. Default is 0.02.  Valid range is 0 to 0.3.\n\n0b  Set threshold B for 1st plane. Default is 0.04.  Valid range is 0 to 5.\n\n1a  Set threshold A for 2nd plane. Default is 0.02.  Valid range is 0 to 0.3.\n\n1b  Set threshold B for 2nd plane. Default is 0.04.  Valid range is 0 to 5.\n\n2a  Set threshold A for 3rd plane. Default is 0.02.  Valid range is 0 to 0.3.\n\n2b  Set threshold B for 3rd plane. Default is 0.04.  Valid range is 0 to 5.\n\nThreshold A is designed to react on abrupt changes in the input signal and threshold B is\ndesigned to react on continuous changes in the input signal.\n\ns   Set number of frames filter will use for averaging. Default is 9. Must be odd number in\nrange [5, 129].\n\np   Set what planes of frame filter will use for averaging. Default is all.\n\na   Set what variant of algorithm filter will use for averaging. Default is \"p\" parallel.\nAlternatively can be set to \"s\" serial.\n\nParallel can be faster then serial, while other way around is never true.  Parallel will\nabort early on first change being greater then thresholds, while serial will continue\nprocessing other side of frames if they are equal or below thresholds.\n\n0s\n1s\n2s  Set sigma for 1st plane, 2nd plane or 3rd plane. Default is 32767.  Valid range is from 0\nto 32767.  This options controls weight for each pixel in radius defined by size.\nDefault value means every pixel have same weight.  Setting this option to 0 effectively\ndisables filtering.\n\nCommands\n\nThis filter supports same commands as options except option \"s\".  The command accepts the\nsame syntax of the corresponding option.\n"
                },
                {
                    "name": "avgblur",
                    "content": "Apply average blur filter.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "sizeX",
                    "content": "Set horizontal radius size.\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to filter. By default all planes are filtered.\n"
                },
                {
                    "name": "sizeY",
                    "content": "Set vertical radius size, if zero it will be same as \"sizeX\".  Default is 0.\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "bbox",
                    "content": "Compute the bounding box for the non-black pixels in the input frame luminance plane.\n\nThis filter computes the bounding box containing all the pixels with a luminance value\ngreater than the minimum allowed value.  The parameters describing the bounding box are\nprinted on the filter log.\n\nThe filter accepts the following option:\n\nminval\nSet the minimal luminance value. Default is 16.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "bilateral",
                    "content": "Apply bilateral filter, spatial smoothing while preserving edges.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "sigmaS",
                    "content": "Set sigma of gaussian function to calculate spatial weight.  Allowed range is 0 to 512.\nDefault is 0.1.\n"
                },
                {
                    "name": "sigmaR",
                    "content": "Set sigma of gaussian function to calculate range weight.  Allowed range is 0 to 1.\nDefault is 0.1.\n"
                },
                {
                    "name": "planes",
                    "content": "Set planes to filter. Default is first only.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "bitplanenoise",
                    "content": "Show and measure bit plane noise.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "bitplane",
                    "content": "Set which plane to analyze. Default is 1.\n"
                },
                {
                    "name": "filter",
                    "content": "Filter out noisy pixels from \"bitplane\" set above.  Default is disabled.\n"
                },
                {
                    "name": "blackdetect",
                    "content": "Detect video intervals that are (almost) completely black. Can be useful to detect chapter\ntransitions, commercials, or invalid recordings.\n\nThe filter outputs its detection analysis to both the log as well as frame metadata. If a\nblack segment of at least the specified minimum duration is found, a line with the start and\nend timestamps as well as duration is printed to the log with level \"info\". In addition, a\nlog line with level \"debug\" is printed per frame showing the black amount detected for that\nframe.\n\nThe filter also attaches metadata to the first frame of a black segment with key\n\"lavfi.blackstart\" and to the first frame after the black segment ends with key\n\"lavfi.blackend\". The value is the frame's timestamp. This metadata is added regardless of\nthe minimum duration specified.\n\nThe filter accepts the following options:\n\nblackminduration, d\nSet the minimum detected black duration expressed in seconds. It must be a non-negative\nfloating point number.\n\nDefault value is 2.0.\n\npictureblackratioth, picth\nSet the threshold for considering a picture \"black\".  Express the minimum value for the\nratio:\n\n<nbblackpixels> / <nbpixels>\n\nfor which a picture is considered black.  Default value is 0.98.\n\npixelblackth, pixth\nSet the threshold for considering a pixel \"black\".\n\nThe threshold expresses the maximum pixel luminance value for which a pixel is considered\n\"black\". The provided value is scaled according to the following equation:\n\n<absolutethreshold> = <luminanceminimumvalue> + <pixelblackth> * <luminancerangesize>\n\nluminancerangesize and luminanceminimumvalue depend on the input video format, the\nrange is [0-255] for YUV full-range formats and [16-235] for YUV non full-range formats.\n\nDefault value is 0.10.\n\nThe following example sets the maximum pixel threshold to the minimum value, and detects only\nblack intervals of 2 or more seconds:\n\nblackdetect=d=2:pixth=0.00\n"
                },
                {
                    "name": "blackframe",
                    "content": "Detect frames that are (almost) completely black. Can be useful to detect chapter transitions\nor commercials. Output lines consist of the frame number of the detected frame, the\npercentage of blackness, the position in the file if known or -1 and the timestamp in\nseconds.\n\nIn order to display the output lines, you need to set the loglevel at least to the\nAVLOGINFO value.\n\nThis filter exports frame metadata \"lavfi.blackframe.pblack\".  The value represents the\npercentage of pixels in the picture that are below the threshold value.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "amount",
                    "content": "The percentage of the pixels that have to be below the threshold; it defaults to 98.\n"
                },
                {
                    "name": "threshold, thresh",
                    "content": "The threshold below which a pixel value is considered black; it defaults to 32.\n"
                },
                {
                    "name": "blend",
                    "content": "Blend two video frames into each other.\n\nThe \"blend\" filter takes two input streams and outputs one stream, the first input is the\n\"top\" layer and second input is \"bottom\" layer.  By default, the output terminates when the\nlongest input terminates.\n\nThe \"tblend\" (time blend) filter takes two consecutive frames from one single stream, and\noutputs the result obtained by blending the new frame on top of the old frame.\n\nA description of the accepted options follows.\n\nc0mode\nc1mode\nc2mode\nc3mode\nallmode\nSet blend mode for specific pixel component or all pixel components in case of allmode.\nDefault value is \"normal\".\n\nAvailable values for component modes are:\n\naddition\ngrainmerge\nand\naverage\nburn\ndarken\ndifference\ngrainextract\ndivide\ndodge\nfreeze\nexclusion\nextremity\nglow\nhardlight\nhardmix\nheat\nlighten\nlinearlight\nmultiply\nmultiply128\nnegation\nnormal\nor\noverlay\nphoenix\npinlight\nreflect\nscreen\nsoftlight\nsubtract\nvividlight\nxor\nc0opacity\nc1opacity\nc2opacity\nc3opacity\nallopacity\nSet blend opacity for specific pixel component or all pixel components in case of\nallopacity. Only used in combination with pixel component blend modes.\n\nc0expr\nc1expr\nc2expr\nc3expr\nallexpr\nSet blend expression for specific pixel component or all pixel components in case of\nallexpr. Note that related mode options will be ignored if those are set.\n\nThe expressions can use the following variables:\n\nN   The sequential number of the filtered frame, starting from 0.\n\nX\nY   the coordinates of the current sample\n\nW\nH   the width and height of currently filtered plane\n\nSW\nSH  Width and height scale for the plane being filtered. It is the ratio between the\ndimensions of the current plane to the luma plane, e.g. for a \"yuv420p\" frame, the\nvalues are \"1,1\" for the luma plane and \"0.5,0.5\" for the chroma planes.\n\nT   Time of the current frame, expressed in seconds.\n\nTOP, A\nValue of pixel component at current location for first video frame (top layer).\n\nBOTTOM, B\nValue of pixel component at current location for second video frame (bottom layer).\n\nThe \"blend\" filter also supports the framesync options.\n\nExamples\n\n•   Apply transition from bottom layer to top layer in first 10 seconds:\n\nblend=allexpr='A*(if(gte(T,10),1,T/10))+B*(1-(if(gte(T,10),1,T/10)))'\n\n•   Apply linear horizontal transition from top layer to bottom layer:\n\nblend=allexpr='A*(X/W)+B*(1-X/W)'\n\n•   Apply 1x1 checkerboard effect:\n\nblend=allexpr='if(eq(mod(X,2),mod(Y,2)),A,B)'\n\n•   Apply uncover left effect:\n\nblend=allexpr='if(gte(N*SW+X,W),A,B)'\n\n•   Apply uncover down effect:\n\nblend=allexpr='if(gte(Y-N*SH,0),A,B)'\n\n•   Apply uncover up-left effect:\n\nblend=allexpr='if(gte(T*SH*40+Y,H)*gte((T*40*SW+X)*W/H,W),A,B)'\n\n•   Split diagonally video and shows top and bottom layer on each side:\n\nblend=allexpr='if(gt(X,Y*(W/H)),A,B)'\n\n•   Display differences between the current and the previous frame:\n\ntblend=allmode=grainextract\n\nCommands\n\nThis filter supports same commands as options.\n"
                },
                {
                    "name": "bm3d",
                    "content": "Denoise frames using Block-Matching 3D algorithm.\n\nThe filter accepts the following options.\n"
                },
                {
                    "name": "sigma",
                    "content": "Set denoising strength. Default value is 1.  Allowed range is from 0 to 999.9.  The\ndenoising algorithm is very sensitive to sigma, so adjust it according to the source.\n"
                },
                {
                    "name": "block",
                    "content": "Set local patch size. This sets dimensions in 2D.\n"
                },
                {
                    "name": "bstep",
                    "content": "Set sliding step for processing blocks. Default value is 4.  Allowed range is from 1 to\n64.  Smaller values allows processing more reference blocks and is slower.\n"
                },
                {
                    "name": "group",
                    "content": "Set maximal number of similar blocks for 3rd dimension. Default value is 1.  When set to\n1, no block matching is done. Larger values allows more blocks in single group.  Allowed\nrange is from 1 to 256.\n"
                },
                {
                    "name": "range",
                    "content": "Set radius for search block matching. Default is 9.  Allowed range is from 1 to\nINT32MAX.\n"
                },
                {
                    "name": "mstep",
                    "content": "Set step between two search locations for block matching. Default is 1.  Allowed range is\nfrom 1 to 64. Smaller is slower.\n"
                },
                {
                    "name": "thmse",
                    "content": "Set threshold of mean square error for block matching. Valid range is 0 to INT32MAX.\n"
                },
                {
                    "name": "hdthr",
                    "content": "Set thresholding parameter for hard thresholding in 3D transformed domain.  Larger values\nresults in stronger hard-thresholding filtering in frequency domain.\n"
                },
                {
                    "name": "estim",
                    "content": "Set filtering estimation mode. Can be \"basic\" or \"final\".  Default is \"basic\".\n\nref If enabled, filter will use 2nd stream for block matching.  Default is disabled for\n\"basic\" value of estim option, and always enabled if value of estim is \"final\".\n"
                },
                {
                    "name": "planes",
                    "content": "Set planes to filter. Default is all available except alpha.\n\nExamples\n\n•   Basic filtering with bm3d:\n\nbm3d=sigma=3:block=4:bstep=2:group=1:estim=basic\n\n•   Same as above, but filtering only luma:\n\nbm3d=sigma=3:block=4:bstep=2:group=1:estim=basic:planes=1\n\n•   Same as above, but with both estimation modes:\n\nsplit[a][b],[a]bm3d=sigma=3:block=4:bstep=2:group=1:estim=basic[a],[b][a]bm3d=sigma=3:block=4:bstep=2:group=16:estim=final:ref=1\n\n•   Same as above, but prefilter with nlmeans filter instead:\n\nsplit[a][b],[a]nlmeans=s=3:r=7:p=3[a],[b][a]bm3d=sigma=3:block=4:bstep=2:group=16:estim=final:ref=1\n"
                },
                {
                    "name": "boxblur",
                    "content": "Apply a boxblur algorithm to the input video.\n\nIt accepts the following parameters:\n\nlumaradius, lr\nlumapower, lp\nchromaradius, cr\nchromapower, cp\nalpharadius, ar\nalphapower, ap\n\nA description of the accepted options follows.\n\nlumaradius, lr\nchromaradius, cr\nalpharadius, ar\nSet an expression for the box radius in pixels used for blurring the corresponding input\nplane.\n\nThe radius value must be a non-negative number, and must not be greater than the value of\nthe expression \"min(w,h)/2\" for the luma and alpha planes, and of \"min(cw,ch)/2\" for the\nchroma planes.\n\nDefault value for lumaradius is \"2\". If not specified, chromaradius and alpharadius\ndefault to the corresponding value set for lumaradius.\n\nThe expressions can contain the following constants:\n\nw\nh   The input width and height in pixels.\n\ncw\nch  The input chroma image width and height in pixels.\n\nhsub\nvsub\nThe horizontal and vertical chroma subsample values. For example, for the pixel\nformat \"yuv422p\", hsub is 2 and vsub is 1.\n\nlumapower, lp\nchromapower, cp\nalphapower, ap\nSpecify how many times the boxblur filter is applied to the corresponding plane.\n\nDefault value for lumapower is 2. If not specified, chromapower and alphapower default\nto the corresponding value set for lumapower.\n\nA value of 0 will disable the effect.\n\nExamples\n\n•   Apply a boxblur filter with the luma, chroma, and alpha radii set to 2:\n\nboxblur=lumaradius=2:lumapower=1\nboxblur=2:1\n\n•   Set the luma radius to 2, and alpha and chroma radius to 0:\n\nboxblur=2:1:cr=0:ar=0\n\n•   Set the luma and chroma radii to a fraction of the video dimension:\n\nboxblur=lumaradius=min(h\\,w)/10:lumapower=1:chromaradius=min(cw\\,ch)/10:chromapower=1\n"
                },
                {
                    "name": "bwdif",
                    "content": "Deinterlace the input video (\"bwdif\" stands for \"Bob Weaver Deinterlacing Filter\").\n\nMotion adaptive deinterlacing based on yadif with the use of w3fdif and cubic interpolation\nalgorithms.  It accepts the following parameters:\n"
                },
                {
                    "name": "mode",
                    "content": "The interlacing mode to adopt. It accepts one of the following values:\n\n0, sendframe\nOutput one frame for each frame.\n\n1, sendfield\nOutput one frame for each field.\n\nThe default value is \"sendfield\".\n"
                },
                {
                    "name": "parity",
                    "content": "The picture field parity assumed for the input interlaced video. It accepts one of the\nfollowing values:\n\n0, tff\nAssume the top field is first.\n\n1, bff\nAssume the bottom field is first.\n\n-1, auto\nEnable automatic detection of field parity.\n\nThe default value is \"auto\".  If the interlacing is unknown or the decoder does not\nexport this information, top field first will be assumed.\n"
                },
                {
                    "name": "deint",
                    "content": "Specify which frames to deinterlace. Accepts one of the following values:\n\n0, all\nDeinterlace all frames.\n\n1, interlaced\nOnly deinterlace frames marked as interlaced.\n\nThe default value is \"all\".\n"
                },
                {
                    "name": "cas",
                    "content": "Apply Contrast Adaptive Sharpen filter to video stream.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "strength",
                    "content": "Set the sharpening strength. Default value is 0.\n"
                },
                {
                    "name": "planes",
                    "content": "Set planes to filter. Default value is to filter all planes except alpha plane.\n\nCommands\n\nThis filter supports same commands as options.\n"
                },
                {
                    "name": "chromahold",
                    "content": "Remove all color information for all colors except for certain one.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "color",
                    "content": "The color which will not be replaced with neutral chroma.\n"
                },
                {
                    "name": "similarity",
                    "content": "Similarity percentage with the above color.  0.01 matches only the exact key color, while\n1.0 matches everything.\n"
                },
                {
                    "name": "blend",
                    "content": "Blend percentage.  0.0 makes pixels either fully gray, or not gray at all.  Higher values\nresult in more preserved color.\n\nyuv Signals that the color passed is already in YUV instead of RGB.\n\nLiteral colors like \"green\" or \"red\" don't make sense with this enabled anymore.  This\ncan be used to pass exact YUV values as hexadecimal numbers.\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "chromakey",
                    "content": "YUV colorspace color/chroma keying.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "color",
                    "content": "The color which will be replaced with transparency.\n"
                },
                {
                    "name": "similarity",
                    "content": "Similarity percentage with the key color.\n\n0.01 matches only the exact key color, while 1.0 matches everything.\n"
                },
                {
                    "name": "blend",
                    "content": "Blend percentage.\n\n0.0 makes pixels either fully transparent, or not transparent at all.\n\nHigher values result in semi-transparent pixels, with a higher transparency the more\nsimilar the pixels color is to the key color.\n\nyuv Signals that the color passed is already in YUV instead of RGB.\n\nLiteral colors like \"green\" or \"red\" don't make sense with this enabled anymore.  This\ncan be used to pass exact YUV values as hexadecimal numbers.\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n\nExamples\n\n•   Make every green pixel in the input image transparent:\n\nffmpeg -i input.png -vf chromakey=green out.png\n\n•   Overlay a greenscreen-video on top of a static black background.\n\nffmpeg -f lavfi -i color=c=black:s=1280x720 -i video.mp4 -shortest -filtercomplex \"[1:v]chromakey=0x70de77:0.1:0.2[ckout];[0:v][ckout]overlay[out]\" -map \"[out]\" output.mkv\n"
                },
                {
                    "name": "chromanr",
                    "content": "Reduce chrominance noise.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "thres",
                    "content": "Set threshold for averaging chrominance values.  Sum of absolute difference of Y, U and V\npixel components of current pixel and neighbour pixels lower than this threshold will be\nused in averaging. Luma component is left unchanged and is copied to output.  Default\nvalue is 30. Allowed range is from 1 to 200.\n"
                },
                {
                    "name": "sizew",
                    "content": "Set horizontal radius of rectangle used for averaging.  Allowed range is from 1 to 100.\nDefault value is 5.\n"
                },
                {
                    "name": "sizeh",
                    "content": "Set vertical radius of rectangle used for averaging.  Allowed range is from 1 to 100.\nDefault value is 5.\n"
                },
                {
                    "name": "stepw",
                    "content": "Set horizontal step when averaging. Default value is 1.  Allowed range is from 1 to 50.\nMostly useful to speed-up filtering.\n"
                },
                {
                    "name": "steph",
                    "content": "Set vertical step when averaging. Default value is 1.  Allowed range is from 1 to 50.\nMostly useful to speed-up filtering.\n"
                },
                {
                    "name": "threy",
                    "content": "Set Y threshold for averaging chrominance values.  Set finer control for max allowed\ndifference between Y components of current pixel and neigbour pixels.  Default value is\n200. Allowed range is from 1 to 200.\n"
                },
                {
                    "name": "threu",
                    "content": "Set U threshold for averaging chrominance values.  Set finer control for max allowed\ndifference between U components of current pixel and neigbour pixels.  Default value is\n200. Allowed range is from 1 to 200.\n"
                },
                {
                    "name": "threv",
                    "content": "Set V threshold for averaging chrominance values.  Set finer control for max allowed\ndifference between V components of current pixel and neigbour pixels.  Default value is\n200. Allowed range is from 1 to 200.\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n"
                },
                {
                    "name": "chromashift",
                    "content": "Shift chroma pixels horizontally and/or vertically.\n\nThe filter accepts the following options:\n\ncbh Set amount to shift chroma-blue horizontally.\n\ncbv Set amount to shift chroma-blue vertically.\n\ncrh Set amount to shift chroma-red horizontally.\n\ncrv Set amount to shift chroma-red vertically.\n"
                },
                {
                    "name": "edge",
                    "content": "Set edge mode, can be smear, default, or warp.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "ciescope",
                    "content": "Display CIE color diagram with pixels overlaid onto it.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "system",
                    "content": "Set color system.\n\nntsc, 470m\nebu, 470bg\nsmpte\n240m\napple\nwidergb\ncie1931\nrec709, hdtv\nuhdtv, rec2020\ndcip3\ncie Set CIE system.\n\nxyy\nucs\nluv"
                },
                {
                    "name": "gamuts",
                    "content": "Set what gamuts to draw.\n\nSee \"system\" option for available values.\n"
                },
                {
                    "name": "size, s",
                    "content": "Set ciescope size, by default set to 512.\n"
                },
                {
                    "name": "intensity, i",
                    "content": "Set intensity used to map input pixel values to CIE diagram.\n"
                },
                {
                    "name": "contrast",
                    "content": "Set contrast used to draw tongue colors that are out of active color system gamut.\n"
                },
                {
                    "name": "corrgamma",
                    "content": "Correct gamma displayed on scope, by default enabled.\n"
                },
                {
                    "name": "showwhite",
                    "content": "Show white point on CIE diagram, by default disabled.\n"
                },
                {
                    "name": "gamma",
                    "content": "Set input gamma. Used only with XYZ input color space.\n"
                },
                {
                    "name": "codecview",
                    "content": "Visualize information exported by some codecs.\n\nSome codecs can export information through frames using side-data or other means. For\nexample, some MPEG based codecs export motion vectors through the exportmvs flag in the\ncodec flags2 option.\n\nThe filter accepts the following option:\n\nmv  Set motion vectors to visualize.\n\nAvailable flags for mv are:\n\npf  forward predicted MVs of P-frames\n\nbf  forward predicted MVs of B-frames\n\nbb  backward predicted MVs of B-frames\n\nqp  Display quantization parameters using the chroma planes.\n\nmvtype, mvt\nSet motion vectors type to visualize. Includes MVs from all frames unless specified by\nframetype option.\n\nAvailable flags for mvtype are:\n\nfp  forward predicted MVs\n\nbp  backward predicted MVs\n\nframetype, ft\nSet frame type to visualize motion vectors of.\n\nAvailable flags for frametype are:\n\nif  intra-coded frames (I-frames)\n\npf  predicted frames (P-frames)\n\nbf  bi-directionally predicted frames (B-frames)\n\nExamples\n\n•   Visualize forward predicted MVs of all frames using ffplay:\n\nffplay -flags2 +exportmvs input.mp4 -vf codecview=mvtype=fp\n\n•   Visualize multi-directionals MVs of P and B-Frames using ffplay:\n\nffplay -flags2 +exportmvs input.mp4 -vf codecview=mv=pf+bf+bb\n"
                },
                {
                    "name": "colorbalance",
                    "content": "Modify intensity of primary colors (red, green and blue) of input frames.\n\nThe filter allows an input frame to be adjusted in the shadows, midtones or highlights\nregions for the red-cyan, green-magenta or blue-yellow balance.\n\nA positive adjustment value shifts the balance towards the primary color, a negative value\ntowards the complementary color.\n\nThe filter accepts the following options:\n\nrs\ngs\nbs  Adjust red, green and blue shadows (darkest pixels).\n\nrm\ngm\nbm  Adjust red, green and blue midtones (medium pixels).\n\nrh\ngh\nbh  Adjust red, green and blue highlights (brightest pixels).\n\nAllowed ranges for options are \"[-1.0, 1.0]\". Defaults are 0.\n\npl  Preserve lightness when changing color balance. Default is disabled.\n\nExamples\n\n•   Add red color cast to shadows:\n\ncolorbalance=rs=.3\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "colorcontrast",
                    "content": "Adjust color contrast between RGB components.\n\nThe filter accepts the following options:\n\nrc  Set the red-cyan contrast. Defaults is 0.0. Allowed range is from -1.0 to 1.0.\n\ngm  Set the green-magenta contrast. Defaults is 0.0. Allowed range is from -1.0 to 1.0.\n\nby  Set the blue-yellow contrast. Defaults is 0.0. Allowed range is from -1.0 to 1.0.\n"
                },
                {
                    "name": "rcw",
                    "content": ""
                },
                {
                    "name": "gmw",
                    "content": "byw Set the weight of each \"rc\", \"gm\", \"by\" option value. Default value is 0.0.  Allowed\nrange is from 0.0 to 1.0. If all weights are 0.0 filtering is disabled.\n\npl  Set the amount of preserving lightness. Default value is 0.0. Allowed range is from 0.0\nto 1.0.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "colorcorrect",
                    "content": "Adjust color white balance selectively for blacks and whites.  This filter operates in YUV\ncolorspace.\n\nThe filter accepts the following options:\n\nrl  Set the red shadow spot. Allowed range is from -1.0 to 1.0.  Default value is 0.\n\nbl  Set the blue shadow spot. Allowed range is from -1.0 to 1.0.  Default value is 0.\n\nrh  Set the red highlight spot. Allowed range is from -1.0 to 1.0.  Default value is 0.\n\nbh  Set the red highlight spot. Allowed range is from -1.0 to 1.0.  Default value is 0.\n"
                },
                {
                    "name": "saturation",
                    "content": "Set the amount of saturation. Allowed range is from -3.0 to 3.0.  Default value is 1.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "colorchannelmixer",
                    "content": "Adjust video input frames by re-mixing color channels.\n\nThis filter modifies a color channel by adding the values associated to the other channels of\nthe same pixels. For example if the value to modify is red, the output value will be:\n\n<red>=<red>*<rr> + <blue>*<rb> + <green>*<rg> + <alpha>*<ra>\n\nThe filter accepts the following options:\n\nrr\nrg\nrb\nra  Adjust contribution of input red, green, blue and alpha channels for output red channel.\nDefault is 1 for rr, and 0 for rg, rb and ra.\n\ngr\ngg\ngb\nga  Adjust contribution of input red, green, blue and alpha channels for output green\nchannel.  Default is 1 for gg, and 0 for gr, gb and ga.\n\nbr\nbg\nbb\nba  Adjust contribution of input red, green, blue and alpha channels for output blue channel.\nDefault is 1 for bb, and 0 for br, bg and ba.\n\nar\nag\nab\naa  Adjust contribution of input red, green, blue and alpha channels for output alpha\nchannel.  Default is 1 for aa, and 0 for ar, ag and ab.\n\nAllowed ranges for options are \"[-2.0, 2.0]\".\n\npl  Preserve lightness when changing colors. Allowed range is from \"[0.0, 1.0]\".  Default is\n0.0, thus disabled.\n\nExamples\n\n•   Convert source to grayscale:\n\ncolorchannelmixer=.3:.4:.3:0:.3:.4:.3:0:.3:.4:.3\n\n•   Simulate sepia tones:\n\ncolorchannelmixer=.393:.769:.189:0:.349:.686:.168:0:.272:.534:.131\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "colorize",
                    "content": "Overlay a solid color on the video stream.\n\nThe filter accepts the following options:\n\nhue Set the color hue. Allowed range is from 0 to 360.  Default value is 0.\n"
                },
                {
                    "name": "saturation",
                    "content": "Set the color saturation. Allowed range is from 0 to 1.  Default value is 0.5.\n"
                },
                {
                    "name": "lightness",
                    "content": "Set the color lightness. Allowed range is from 0 to 1.  Default value is 0.5.\n\nmix Set the mix of source lightness. By default is set to 1.0.  Allowed range is from 0.0 to\n1.0.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "colorkey",
                    "content": "RGB colorspace color keying.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "color",
                    "content": "The color which will be replaced with transparency.\n"
                },
                {
                    "name": "similarity",
                    "content": "Similarity percentage with the key color.\n\n0.01 matches only the exact key color, while 1.0 matches everything.\n"
                },
                {
                    "name": "blend",
                    "content": "Blend percentage.\n\n0.0 makes pixels either fully transparent, or not transparent at all.\n\nHigher values result in semi-transparent pixels, with a higher transparency the more\nsimilar the pixels color is to the key color.\n\nExamples\n\n•   Make every green pixel in the input image transparent:\n\nffmpeg -i input.png -vf colorkey=green out.png\n\n•   Overlay a greenscreen-video on top of a static background image.\n\nffmpeg -i background.png -i video.mp4 -filtercomplex \"[1:v]colorkey=0x3BBD1E:0.3:0.2[ckout];[0:v][ckout]overlay[out]\" -map \"[out]\" output.flv\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "colorhold",
                    "content": "Remove all color information for all RGB colors except for certain one.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "color",
                    "content": "The color which will not be replaced with neutral gray.\n"
                },
                {
                    "name": "similarity",
                    "content": "Similarity percentage with the above color.  0.01 matches only the exact key color, while\n1.0 matches everything.\n"
                },
                {
                    "name": "blend",
                    "content": "Blend percentage. 0.0 makes pixels fully gray.  Higher values result in more preserved\ncolor.\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "colorlevels",
                    "content": "Adjust video input frames using levels.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "rimin",
                    "content": ""
                },
                {
                    "name": "gimin",
                    "content": ""
                },
                {
                    "name": "bimin",
                    "content": ""
                },
                {
                    "name": "aimin",
                    "content": "Adjust red, green, blue and alpha input black point.  Allowed ranges for options are\n\"[-1.0, 1.0]\". Defaults are 0.\n"
                },
                {
                    "name": "rimax",
                    "content": ""
                },
                {
                    "name": "gimax",
                    "content": ""
                },
                {
                    "name": "bimax",
                    "content": ""
                },
                {
                    "name": "aimax",
                    "content": "Adjust red, green, blue and alpha input white point.  Allowed ranges for options are\n\"[-1.0, 1.0]\". Defaults are 1.\n\nInput levels are used to lighten highlights (bright tones), darken shadows (dark tones),\nchange the balance of bright and dark tones.\n"
                },
                {
                    "name": "romin",
                    "content": ""
                },
                {
                    "name": "gomin",
                    "content": ""
                },
                {
                    "name": "bomin",
                    "content": ""
                },
                {
                    "name": "aomin",
                    "content": "Adjust red, green, blue and alpha output black point.  Allowed ranges for options are\n\"[0, 1.0]\". Defaults are 0.\n"
                },
                {
                    "name": "romax",
                    "content": ""
                },
                {
                    "name": "gomax",
                    "content": ""
                },
                {
                    "name": "bomax",
                    "content": ""
                },
                {
                    "name": "aomax",
                    "content": "Adjust red, green, blue and alpha output white point.  Allowed ranges for options are\n\"[0, 1.0]\". Defaults are 1.\n\nOutput levels allows manual selection of a constrained output level range.\n\nExamples\n\n•   Make video output darker:\n\ncolorlevels=rimin=0.058:gimin=0.058:bimin=0.058\n\n•   Increase contrast:\n\ncolorlevels=rimin=0.039:gimin=0.039:bimin=0.039:rimax=0.96:gimax=0.96:bimax=0.96\n\n•   Make video output lighter:\n\ncolorlevels=rimax=0.902:gimax=0.902:bimax=0.902\n\n•   Increase brightness:\n\ncolorlevels=romin=0.5:gomin=0.5:bomin=0.5\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "colormatrix",
                    "content": "Convert color matrix.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "src",
                    "content": "dst Specify the source and destination color matrix. Both values must be specified.\n\nThe accepted values are:\n\nbt709\nBT.709\n\nfcc FCC\n\nbt601\nBT.601\n\nbt470\nBT.470\n\nbt470bg\nBT.470BG\n\nsmpte170m\nSMPTE-170M\n\nsmpte240m\nSMPTE-240M\n\nbt2020\nBT.2020\n\nFor example to convert from BT.601 to SMPTE-240M, use the command:\n\ncolormatrix=bt601:smpte240m\n"
                },
                {
                    "name": "colorspace",
                    "content": "Convert colorspace, transfer characteristics or color primaries.  Input video needs to have\nan even size.\n\nThe filter accepts the following options:\n\nall Specify all color properties at once.\n\nThe accepted values are:\n\nbt470m\nBT.470M\n\nbt470bg\nBT.470BG\n\nbt601-6-525\nBT.601-6 525\n\nbt601-6-625\nBT.601-6 625\n\nbt709\nBT.709\n\nsmpte170m\nSMPTE-170M\n\nsmpte240m\nSMPTE-240M\n\nbt2020\nBT.2020\n"
                },
                {
                    "name": "space",
                    "content": "Specify output colorspace.\n\nThe accepted values are:\n\nbt709\nBT.709\n\nfcc FCC\n\nbt470bg\nBT.470BG or BT.601-6 625\n\nsmpte170m\nSMPTE-170M or BT.601-6 525\n\nsmpte240m\nSMPTE-240M\n\nycgco\nYCgCo\n\nbt2020ncl\nBT.2020 with non-constant luminance\n\ntrc Specify output transfer characteristics.\n\nThe accepted values are:\n\nbt709\nBT.709\n\nbt470m\nBT.470M\n\nbt470bg\nBT.470BG\n\ngamma22\nConstant gamma of 2.2\n\ngamma28\nConstant gamma of 2.8\n\nsmpte170m\nSMPTE-170M, BT.601-6 625 or BT.601-6 525\n\nsmpte240m\nSMPTE-240M\n\nsrgb\nSRGB\n\niec61966-2-1\niec61966-2-1\n\niec61966-2-4\niec61966-2-4\n\nxvycc\nxvycc\n\nbt2020-10\nBT.2020 for 10-bits content\n\nbt2020-12\nBT.2020 for 12-bits content\n"
                },
                {
                    "name": "primaries",
                    "content": "Specify output color primaries.\n\nThe accepted values are:\n\nbt709\nBT.709\n\nbt470m\nBT.470M\n\nbt470bg\nBT.470BG or BT.601-6 625\n\nsmpte170m\nSMPTE-170M or BT.601-6 525\n\nsmpte240m\nSMPTE-240M\n\nfilm\nfilm\n\nsmpte431\nSMPTE-431\n\nsmpte432\nSMPTE-432\n\nbt2020\nBT.2020\n\njedec-p22\nJEDEC P22 phosphors\n"
                },
                {
                    "name": "range",
                    "content": "Specify output color range.\n\nThe accepted values are:\n\ntv  TV (restricted) range\n\nmpeg\nMPEG (restricted) range\n\npc  PC (full) range\n\njpeg\nJPEG (full) range\n"
                },
                {
                    "name": "format",
                    "content": "Specify output color format.\n\nThe accepted values are:\n\nyuv420p\nYUV 4:2:0 planar 8-bits\n\nyuv420p10\nYUV 4:2:0 planar 10-bits\n\nyuv420p12\nYUV 4:2:0 planar 12-bits\n\nyuv422p\nYUV 4:2:2 planar 8-bits\n\nyuv422p10\nYUV 4:2:2 planar 10-bits\n\nyuv422p12\nYUV 4:2:2 planar 12-bits\n\nyuv444p\nYUV 4:4:4 planar 8-bits\n\nyuv444p10\nYUV 4:4:4 planar 10-bits\n\nyuv444p12\nYUV 4:4:4 planar 12-bits\n"
                },
                {
                    "name": "fast",
                    "content": "Do a fast conversion, which skips gamma/primary correction. This will take significantly\nless CPU, but will be mathematically incorrect. To get output compatible with that\nproduced by the colormatrix filter, use fast=1.\n"
                },
                {
                    "name": "dither",
                    "content": "Specify dithering mode.\n\nThe accepted values are:\n\nnone\nNo dithering\n\nfsb Floyd-Steinberg dithering\n"
                },
                {
                    "name": "wpadapt",
                    "content": "Whitepoint adaptation mode.\n\nThe accepted values are:\n\nbradford\nBradford whitepoint adaptation\n\nvonkries\nvon Kries whitepoint adaptation\n\nidentity\nidentity whitepoint adaptation (i.e. no whitepoint adaptation)\n"
                },
                {
                    "name": "iall",
                    "content": "Override all input properties at once. Same accepted values as all.\n"
                },
                {
                    "name": "ispace",
                    "content": "Override input colorspace. Same accepted values as space.\n"
                },
                {
                    "name": "iprimaries",
                    "content": "Override input color primaries. Same accepted values as primaries.\n"
                },
                {
                    "name": "itrc",
                    "content": "Override input transfer characteristics. Same accepted values as trc.\n"
                },
                {
                    "name": "irange",
                    "content": "Override input color range. Same accepted values as range.\n\nThe filter converts the transfer characteristics, color space and color primaries to the\nspecified user values. The output value, if not specified, is set to a default value based on\nthe \"all\" property. If that property is also not specified, the filter will log an error. The\noutput color range and format default to the same value as the input color range and format.\nThe input transfer characteristics, color space, color primaries and color range should be\nset on the input data. If any of these are missing, the filter will log an error and no\nconversion will take place.\n\nFor example to convert the input to SMPTE-240M, use the command:\n\ncolorspace=smpte240m\n"
                },
                {
                    "name": "colortemperature",
                    "content": "Adjust color temperature in video to simulate variations in ambient color temperature.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "temperature",
                    "content": "Set the temperature in Kelvin. Allowed range is from 1000 to 40000.  Default value is\n6500 K.\n\nmix Set mixing with filtered output. Allowed range is from 0 to 1.  Default value is 1.\n\npl  Set the amount of preserving lightness. Allowed range is from 0 to 1.  Default value is\n0.\n\nCommands\n\nThis filter supports same commands as options.\n"
                },
                {
                    "name": "convolution",
                    "content": "Apply convolution of 3x3, 5x5, 7x7 or horizontal/vertical up to 49 elements.\n\nThe filter accepts the following options:\n\n0m\n1m\n2m\n3m  Set matrix for each plane.  Matrix is sequence of 9, 25 or 49 signed integers in square\nmode, and from 1 to 49 odd number of signed integers in row mode.\n"
                },
                {
                    "name": "0rdiv",
                    "content": ""
                },
                {
                    "name": "1rdiv",
                    "content": ""
                },
                {
                    "name": "2rdiv",
                    "content": ""
                },
                {
                    "name": "3rdiv",
                    "content": "Set multiplier for calculated value for each plane.  If unset or 0, it will be sum of all\nmatrix elements.\n"
                },
                {
                    "name": "0bias",
                    "content": ""
                },
                {
                    "name": "1bias",
                    "content": ""
                },
                {
                    "name": "2bias",
                    "content": ""
                },
                {
                    "name": "3bias",
                    "content": "Set bias for each plane. This value is added to the result of the multiplication.  Useful\nfor making the overall image brighter or darker. Default is 0.0.\n"
                },
                {
                    "name": "0mode",
                    "content": ""
                },
                {
                    "name": "1mode",
                    "content": ""
                },
                {
                    "name": "2mode",
                    "content": ""
                },
                {
                    "name": "3mode",
                    "content": "Set matrix mode for each plane. Can be square, row or column.  Default is square.\n\nCommands\n\nThis filter supports the all above options as commands.\n\nExamples\n\n•   Apply sharpen:\n\nconvolution=\"0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1 0 -1 0\"\n\n•   Apply blur:\n\nconvolution=\"1 1 1 1 1 1 1 1 1:1 1 1 1 1 1 1 1 1:1 1 1 1 1 1 1 1 1:1 1 1 1 1 1 1 1 1:1/9:1/9:1/9:1/9\"\n\n•   Apply edge enhance:\n\nconvolution=\"0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:5:1:1:1:0:128:128:128\"\n\n•   Apply edge detect:\n\nconvolution=\"0 1 0 1 -4 1 0 1 0:0 1 0 1 -4 1 0 1 0:0 1 0 1 -4 1 0 1 0:0 1 0 1 -4 1 0 1 0:5:5:5:1:0:128:128:128\"\n\n•   Apply laplacian edge detector which includes diagonals:\n\nconvolution=\"1 1 1 1 -8 1 1 1 1:1 1 1 1 -8 1 1 1 1:1 1 1 1 -8 1 1 1 1:1 1 1 1 -8 1 1 1 1:5:5:5:1:0:128:128:0\"\n\n•   Apply emboss:\n\nconvolution=\"-2 -1 0 -1 1 1 0 1 2:-2 -1 0 -1 1 1 0 1 2:-2 -1 0 -1 1 1 0 1 2:-2 -1 0 -1 1 1 0 1 2\"\n"
                },
                {
                    "name": "convolve",
                    "content": "Apply 2D convolution of video stream in frequency domain using second stream as impulse.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to process.\n"
                },
                {
                    "name": "impulse",
                    "content": "Set which impulse video frames will be processed, can be first or all. Default is all.\n\nThe \"convolve\" filter also supports the framesync options.\n"
                },
                {
                    "name": "copy",
                    "content": "Copy the input video source unchanged to the output. This is mainly useful for testing\npurposes.\n"
                },
                {
                    "name": "coreimage",
                    "content": "Video filtering on GPU using Apple's CoreImage API on OSX.\n\nHardware acceleration is based on an OpenGL context. Usually, this means it is processed by\nvideo hardware. However, software-based OpenGL implementations exist which means there is no\nguarantee for hardware processing. It depends on the respective OSX.\n\nThere are many filters and image generators provided by Apple that come with a large variety\nof options. The filter has to be referenced by its name along with its options.\n\nThe coreimage filter accepts the following options:\n\nlistfilters\nList all available filters and generators along with all their respective options as well\nas possible minimum and maximum values along with the default values.\n\nlistfilters=true\n"
                },
                {
                    "name": "filter",
                    "content": "Specify all filters by their respective name and options.  Use listfilters to determine\nall valid filter names and options.  Numerical options are specified by a float value and\nare automatically clamped to their respective value range.  Vector and color options have\nto be specified by a list of space separated float values. Character escaping has to be\ndone.  A special option name \"default\" is available to use default options for a filter.\n\nIt is required to specify either \"default\" or at least one of the filter options.  All\nomitted options are used with their default values.  The syntax of the filter string is\nas follows:\n\nfilter=<NAME>@<OPTION>=<VALUE>[@<OPTION>=<VALUE>][@...][#<NAME>@<OPTION>=<VALUE>[@<OPTION>=<VALUE>][@...]][#...]\n\noutputrect\nSpecify a rectangle where the output of the filter chain is copied into the input image.\nIt is given by a list of space separated float values:\n\noutputrect=x\\ y\\ width\\ height\n\nIf not given, the output rectangle equals the dimensions of the input image.  The output\nrectangle is automatically cropped at the borders of the input image. Negative values are\nvalid for each component.\n\noutputrect=25\\ 25\\ 100\\ 100\n\nSeveral filters can be chained for successive processing without GPU-HOST transfers allowing\nfor fast processing of complex filter chains.  Currently, only filters with zero (generators)\nor exactly one (filters) input image and one output image are supported. Also, transition\nfilters are not yet usable as intended.\n\nSome filters generate output images with additional padding depending on the respective\nfilter kernel. The padding is automatically removed to ensure the filter output has the same\nsize as the input image.\n\nFor image generators, the size of the output image is determined by the previous output image\nof the filter chain or the input image of the whole filterchain, respectively. The generators\ndo not use the pixel information of this image to generate their output. However, the\ngenerated output is blended onto this image, resulting in partial or complete coverage of the\noutput image.\n\nThe coreimagesrc video source can be used for generating input images which are directly fed\ninto the filter chain. By using it, providing input images by another video source or an\ninput video is not required.\n\nExamples\n\n•   List all filters available:\n\ncoreimage=listfilters=true\n\n•   Use the CIBoxBlur filter with default options to blur an image:\n\ncoreimage=filter=CIBoxBlur@default\n\n•   Use a filter chain with CISepiaTone at default values and CIVignetteEffect with its\ncenter at 100x100 and a radius of 50 pixels:\n\ncoreimage=filter=CIBoxBlur@default#CIVignetteEffect@inputCenter=100\\ 100@inputRadius=50\n\n•   Use nullsrc and CIQRCodeGenerator to create a QR code for the FFmpeg homepage, given as\ncomplete and escaped command-line for Apple's standard bash shell:\n\nffmpeg -f lavfi -i nullsrc=s=100x100,coreimage=filter=CIQRCodeGenerator@inputMessage=https\\\\\\\\\\://FFmpeg.org/@inputCorrectionLevel=H -frames:v 1 QRCode.png\n\ncoverrect\nCover a rectangular object\n\nIt accepts the following options:\n"
                },
                {
                    "name": "cover",
                    "content": "Filepath of the optional cover image, needs to be in yuv420.\n"
                },
                {
                    "name": "mode",
                    "content": "Set covering mode.\n\nIt accepts the following values:\n\ncover\ncover it by the supplied image\n\nblur\ncover it by interpolating the surrounding pixels\n\nDefault value is blur.\n\nExamples\n\n•   Cover a rectangular object by the supplied image of a given video using ffmpeg:\n\nffmpeg -i file.ts -vf findrect=newref.pgm,coverrect=cover.jpg:mode=cover new.mkv\n"
                },
                {
                    "name": "crop",
                    "content": "Crop the input video to given dimensions.\n\nIt accepts the following parameters:\n\nw, outw\nThe width of the output video. It defaults to \"iw\".  This expression is evaluated only\nonce during the filter configuration, or when the w or outw command is sent.\n\nh, outh\nThe height of the output video. It defaults to \"ih\".  This expression is evaluated only\nonce during the filter configuration, or when the h or outh command is sent.\n\nx   The horizontal position, in the input video, of the left edge of the output video. It\ndefaults to \"(inw-outw)/2\".  This expression is evaluated per-frame.\n\ny   The vertical position, in the input video, of the top edge of the output video.  It\ndefaults to \"(inh-outh)/2\".  This expression is evaluated per-frame.\n\nkeepaspect\nIf set to 1 will force the output display aspect ratio to be the same of the input, by\nchanging the output sample aspect ratio. It defaults to 0.\n"
                },
                {
                    "name": "exact",
                    "content": "Enable exact cropping. If enabled, subsampled videos will be cropped at exact\nwidth/height/x/y as specified and will not be rounded to nearest smaller value.  It\ndefaults to 0.\n\nThe outw, outh, x, y parameters are expressions containing the following constants:\n\nx\ny   The computed values for x and y. They are evaluated for each new frame.\n\ninw\ninh\nThe input width and height.\n\niw\nih  These are the same as inw and inh.\n\noutw\nouth\nThe output (cropped) width and height.\n\now\noh  These are the same as outw and outh.\n\na   same as iw / ih\n\nsar input sample aspect ratio\n\ndar input display aspect ratio, it is the same as (iw / ih) * sar\n"
                },
                {
                    "name": "hsub",
                    "content": ""
                },
                {
                    "name": "vsub",
                    "content": "horizontal and vertical chroma subsample values. For example for the pixel format\n\"yuv422p\" hsub is 2 and vsub is 1.\n\nn   The number of the input frame, starting from 0.\n\npos the position in the file of the input frame, NAN if unknown\n\nt   The timestamp expressed in seconds. It's NAN if the input timestamp is unknown.\n\nThe expression for outw may depend on the value of outh, and the expression for outh may\ndepend on outw, but they cannot depend on x and y, as x and y are evaluated after outw and\nouth.\n\nThe x and y parameters specify the expressions for the position of the top-left corner of the\noutput (non-cropped) area. They are evaluated for each frame. If the evaluated value is not\nvalid, it is approximated to the nearest valid value.\n\nThe expression for x may depend on y, and the expression for y may depend on x.\n\nExamples\n\n•   Crop area with size 100x100 at position (12,34).\n\ncrop=100:100:12:34\n\nUsing named options, the example above becomes:\n\ncrop=w=100:h=100:x=12:y=34\n\n•   Crop the central input area with size 100x100:\n\ncrop=100:100\n\n•   Crop the central input area with size 2/3 of the input video:\n\ncrop=2/3*inw:2/3*inh\n\n•   Crop the input video central square:\n\ncrop=outw=inh\ncrop=inh\n\n•   Delimit the rectangle with the top-left corner placed at position 100:100 and the right-\nbottom corner corresponding to the right-bottom corner of the input image.\n\ncrop=inw-100:inh-100:100:100\n\n•   Crop 10 pixels from the left and right borders, and 20 pixels from the top and bottom\nborders\n\ncrop=inw-2*10:inh-2*20\n\n•   Keep only the bottom right quarter of the input image:\n\ncrop=inw/2:inh/2:inw/2:inh/2\n\n•   Crop height for getting Greek harmony:\n\ncrop=inw:1/PHI*inw\n\n•   Apply trembling effect:\n\ncrop=inw/2:inh/2:(inw-outw)/2+((inw-outw)/2)*sin(n/10):(inh-outh)/2 +((inh-outh)/2)*sin(n/7)\n\n•   Apply erratic camera effect depending on timestamp:\n\ncrop=inw/2:inh/2:(inw-outw)/2+((inw-outw)/2)*sin(t*10):(inh-outh)/2 +((inh-outh)/2)*sin(t*13)\"\n\n•   Set x depending on the value of y:\n\ncrop=inw/2:inh/2:y:10+10*sin(n/10)\n\nCommands\n\nThis filter supports the following commands:\n\nw, outw\nh, outh\nx\ny   Set width/height of the output video and the horizontal/vertical position in the input\nvideo.  The command accepts the same syntax of the corresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "cropdetect",
                    "content": "Auto-detect the crop size.\n\nIt calculates the necessary cropping parameters and prints the recommended parameters via the\nlogging system. The detected dimensions correspond to the non-black area of the input video.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "limit",
                    "content": "Set higher black value threshold, which can be optionally specified from nothing (0) to\neverything (255 for 8-bit based formats). An intensity value greater to the set value is\nconsidered non-black. It defaults to 24.  You can also specify a value between 0.0 and\n1.0 which will be scaled depending on the bitdepth of the pixel format.\n"
                },
                {
                    "name": "round",
                    "content": "The value which the width/height should be divisible by. It defaults to 16. The offset is\nautomatically adjusted to center the video. Use 2 to get only even dimensions (needed for\n4:2:2 video). 16 is best when encoding to most video codecs.\n"
                },
                {
                    "name": "skip",
                    "content": "Set the number of initial frames for which evaluation is skipped.  Default is 2. Range is\n0 to INTMAX.\n\nresetcount, reset\nSet the counter that determines after how many frames cropdetect will reset the\npreviously detected largest video area and start over to detect the current optimal crop\narea. Default value is 0.\n\nThis can be useful when channel logos distort the video area. 0 indicates 'never reset',\nand returns the largest area encountered during playback.\n"
                },
                {
                    "name": "cue",
                    "content": "Delay video filtering until a given wallclock timestamp. The filter first passes on preroll\namount of frames, then it buffers at most buffer amount of frames and waits for the cue.\nAfter reaching the cue it forwards the buffered frames and also any subsequent frames coming\nin its input.\n\nThe filter can be used synchronize the output of multiple ffmpeg processes for realtime\noutput devices like decklink. By putting the delay in the filtering chain and pre-buffering\nframes the process can pass on data to output almost immediately after the target wallclock\ntimestamp is reached.\n\nPerfect frame accuracy cannot be guaranteed, but the result is good enough for some use\ncases.\n\ncue The cue timestamp expressed in a UNIX timestamp in microseconds. Default is 0.\n"
                },
                {
                    "name": "preroll",
                    "content": "The duration of content to pass on as preroll expressed in seconds. Default is 0.\n"
                },
                {
                    "name": "buffer",
                    "content": "The maximum duration of content to buffer before waiting for the cue expressed in\nseconds. Default is 0.\n"
                },
                {
                    "name": "curves",
                    "content": "Apply color adjustments using curves.\n\nThis filter is similar to the Adobe Photoshop and GIMP curves tools. Each component (red,\ngreen and blue) has its values defined by N key points tied from each other using a smooth\ncurve. The x-axis represents the pixel values from the input frame, and the y-axis the new\npixel values to be set for the output frame.\n\nBy default, a component curve is defined by the two points (0;0) and (1;1). This creates a\nstraight line where each original pixel value is \"adjusted\" to its own value, which means no\nchange to the image.\n\nThe filter allows you to redefine these two points and add some more. A new curve (using a\nnatural cubic spline interpolation) will be define to pass smoothly through all these new\ncoordinates. The new defined points needs to be strictly increasing over the x-axis, and\ntheir x and y values must be in the [0;1] interval.  If the computed curves happened to go\noutside the vector spaces, the values will be clipped accordingly.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "preset",
                    "content": "Select one of the available color presets. This option can be used in addition to the r,\ng, b parameters; in this case, the later options takes priority on the preset values.\nAvailable presets are:\n\nnone\ncolornegative\ncrossprocess\ndarker\nincreasecontrast\nlighter\nlinearcontrast\nmediumcontrast\nnegative\nstrongcontrast\nvintage\n\nDefault is \"none\".\n"
                },
                {
                    "name": "master, m",
                    "content": "Set the master key points. These points will define a second pass mapping. It is\nsometimes called a \"luminance\" or \"value\" mapping. It can be used with r, g, b or all\nsince it acts like a post-processing LUT.\n"
                },
                {
                    "name": "red, r",
                    "content": "Set the key points for the red component.\n"
                },
                {
                    "name": "green, g",
                    "content": "Set the key points for the green component.\n"
                },
                {
                    "name": "blue, b",
                    "content": "Set the key points for the blue component.\n\nall Set the key points for all components (not including master).  Can be used in addition to\nthe other key points component options. In this case, the unset component(s) will\nfallback on this all setting.\n"
                },
                {
                    "name": "psfile",
                    "content": "Specify a Photoshop curves file (\".acv\") to import the settings from.\n"
                },
                {
                    "name": "plot",
                    "content": "Save Gnuplot script of the curves in specified file.\n\nTo avoid some filtergraph syntax conflicts, each key points list need to be defined using the\nfollowing syntax: \"x0/y0 x1/y1 x2/y2 ...\".\n\nCommands\n\nThis filter supports same commands as options.\n\nExamples\n\n•   Increase slightly the middle level of blue:\n\ncurves=blue='0/0 0.5/0.58 1/1'\n\n•   Vintage effect:\n\ncurves=r='0/0.11 .42/.51 1/0.95':g='0/0 0.50/0.48 1/1':b='0/0.22 .49/.44 1/0.8'\n\nHere we obtain the following coordinates for each components:\n\nred \"(0;0.11) (0.42;0.51) (1;0.95)\"\n\ngreen\n\"(0;0) (0.50;0.48) (1;1)\"\n\nblue\n\"(0;0.22) (0.49;0.44) (1;0.80)\"\n\n•   The previous example can also be achieved with the associated built-in preset:\n\ncurves=preset=vintage\n\n•   Or simply:\n\ncurves=vintage\n\n•   Use a Photoshop preset and redefine the points of the green component:\n\ncurves=psfile='MyCurvesPresets/purple.acv':green='0/0 0.45/0.53 1/1'\n\n•   Check out the curves of the \"crossprocess\" profile using ffmpeg and gnuplot:\n\nffmpeg -f lavfi -i color -vf curves=crossprocess:plot=/tmp/curves.plt -frames:v 1 -f null -\ngnuplot -p /tmp/curves.plt\n"
                },
                {
                    "name": "datascope",
                    "content": "Video data analysis filter.\n\nThis filter shows hexadecimal pixel values of part of video.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "size, s",
                    "content": "Set output video size.\n\nx   Set x offset from where to pick pixels.\n\ny   Set y offset from where to pick pixels.\n"
                },
                {
                    "name": "mode",
                    "content": "Set scope mode, can be one of the following:\n\nmono\nDraw hexadecimal pixel values with white color on black background.\n\ncolor\nDraw hexadecimal pixel values with input video pixel color on black background.\n\ncolor2\nDraw hexadecimal pixel values on color background picked from input video, the text\ncolor is picked in such way so its always visible.\n"
                },
                {
                    "name": "axis",
                    "content": "Draw rows and columns numbers on left and top of video.\n"
                },
                {
                    "name": "opacity",
                    "content": "Set background opacity.\n"
                },
                {
                    "name": "format",
                    "content": "Set display number format. Can be \"hex\", or \"dec\". Default is \"hex\".\n"
                },
                {
                    "name": "components",
                    "content": "Set pixel components to display. By default all pixel components are displayed.\n\nCommands\n\nThis filter supports same commands as options excluding \"size\" option.\n"
                },
                {
                    "name": "dblur",
                    "content": "Apply Directional blur filter.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "angle",
                    "content": "Set angle of directional blur. Default is 45.\n"
                },
                {
                    "name": "radius",
                    "content": "Set radius of directional blur. Default is 5.\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to filter. By default all planes are filtered.\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "dctdnoiz",
                    "content": "Denoise frames using 2D DCT (frequency domain filtering).\n\nThis filter is not designed for real time.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "sigma, s",
                    "content": "Set the noise sigma constant.\n\nThis sigma defines a hard threshold of \"3 * sigma\"; every DCT coefficient (absolute\nvalue) below this threshold with be dropped.\n\nIf you need a more advanced filtering, see expr.\n\nDefault is 0.\n"
                },
                {
                    "name": "overlap",
                    "content": "Set number overlapping pixels for each block. Since the filter can be slow, you may want\nto reduce this value, at the cost of a less effective filter and the risk of various\nartefacts.\n\nIf the overlapping value doesn't permit processing the whole input width or height, a\nwarning will be displayed and according borders won't be denoised.\n\nDefault value is blocksize-1, which is the best possible setting.\n"
                },
                {
                    "name": "expr, e",
                    "content": "Set the coefficient factor expression.\n\nFor each coefficient of a DCT block, this expression will be evaluated as a multiplier\nvalue for the coefficient.\n\nIf this is option is set, the sigma option will be ignored.\n\nThe absolute value of the coefficient can be accessed through the c variable.\n\nn   Set the blocksize using the number of bits. \"1<<n\" defines the blocksize, which is the\nwidth and height of the processed blocks.\n\nThe default value is 3 (8x8) and can be raised to 4 for a blocksize of 16x16. Note that\nchanging this setting has huge consequences on the speed processing. Also, a larger block\nsize does not necessarily means a better de-noising.\n\nExamples\n\nApply a denoise with a sigma of 4.5:\n\ndctdnoiz=4.5\n\nThe same operation can be achieved using the expression system:\n\ndctdnoiz=e='gte(c, 4.5*3)'\n\nViolent denoise using a block size of \"16x16\":\n\ndctdnoiz=15:n=4\n"
                },
                {
                    "name": "deband",
                    "content": "Remove banding artifacts from input video.  It works by replacing banded pixels with average\nvalue of referenced pixels.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "1thr",
                    "content": ""
                },
                {
                    "name": "2thr",
                    "content": ""
                },
                {
                    "name": "3thr",
                    "content": ""
                },
                {
                    "name": "4thr",
                    "content": "Set banding detection threshold for each plane. Default is 0.02.  Valid range is 0.00003\nto 0.5.  If difference between current pixel and reference pixel is less than threshold,\nit will be considered as banded.\n"
                },
                {
                    "name": "range, r",
                    "content": "Banding detection range in pixels. Default is 16. If positive, random number in range 0\nto set value will be used. If negative, exact absolute value will be used.  The range\ndefines square of four pixels around current pixel.\n"
                },
                {
                    "name": "direction, d",
                    "content": "Set direction in radians from which four pixel will be compared. If positive, random\ndirection from 0 to set direction will be picked. If negative, exact of absolute value\nwill be picked. For example direction 0, -PI or -2*PI radians will pick only pixels on\nsame row and -PI/2 will pick only pixels on same column.\n"
                },
                {
                    "name": "blur, b",
                    "content": "If enabled, current pixel is compared with average value of all four surrounding pixels.\nThe default is enabled. If disabled current pixel is compared with all four surrounding\npixels. The pixel is considered banded if only all four differences with surrounding\npixels are less than threshold.\n"
                },
                {
                    "name": "coupling, c",
                    "content": "If enabled, current pixel is changed if and only if all pixel components are banded, e.g.\nbanding detection threshold is triggered for all color components.  The default is\ndisabled.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "deblock",
                    "content": "Remove blocking artifacts from input video.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "filter",
                    "content": "Set filter type, can be weak or strong. Default is strong.  This controls what kind of\ndeblocking is applied.\n"
                },
                {
                    "name": "block",
                    "content": "Set size of block, allowed range is from 4 to 512. Default is 8.\n"
                },
                {
                    "name": "alpha",
                    "content": ""
                },
                {
                    "name": "beta",
                    "content": ""
                },
                {
                    "name": "gamma",
                    "content": ""
                },
                {
                    "name": "delta",
                    "content": "Set blocking detection thresholds. Allowed range is 0 to 1.  Defaults are: 0.098 for\nalpha and 0.05 for the rest.  Using higher threshold gives more deblocking strength.\nSetting alpha controls threshold detection at exact edge of block.  Remaining options\ncontrols threshold detection near the edge. Each one for below/above or left/right.\nSetting any of those to 0 disables deblocking.\n"
                },
                {
                    "name": "planes",
                    "content": "Set planes to filter. Default is to filter all available planes.\n\nExamples\n\n•   Deblock using weak filter and block size of 4 pixels.\n\ndeblock=filter=weak:block=4\n\n•   Deblock using strong filter, block size of 4 pixels and custom thresholds for deblocking\nmore edges.\n\ndeblock=filter=strong:block=4:alpha=0.12:beta=0.07:gamma=0.06:delta=0.05\n\n•   Similar as above, but filter only first plane.\n\ndeblock=filter=strong:block=4:alpha=0.12:beta=0.07:gamma=0.06:delta=0.05:planes=1\n\n•   Similar as above, but filter only second and third plane.\n\ndeblock=filter=strong:block=4:alpha=0.12:beta=0.07:gamma=0.06:delta=0.05:planes=6\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "decimate",
                    "content": "Drop duplicated frames at regular intervals.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "cycle",
                    "content": "Set the number of frames from which one will be dropped. Setting this to N means one\nframe in every batch of N frames will be dropped.  Default is 5.\n"
                },
                {
                    "name": "dupthresh",
                    "content": "Set the threshold for duplicate detection. If the difference metric for a frame is less\nthan or equal to this value, then it is declared as duplicate. Default is 1.1\n"
                },
                {
                    "name": "scthresh",
                    "content": "Set scene change threshold. Default is 15.\n"
                },
                {
                    "name": "blockx",
                    "content": ""
                },
                {
                    "name": "blocky",
                    "content": "Set the size of the x and y-axis blocks used during metric calculations.  Larger blocks\ngive better noise suppression, but also give worse detection of small movements. Must be\na power of two. Default is 32.\n"
                },
                {
                    "name": "ppsrc",
                    "content": "Mark main input as a pre-processed input and activate clean source input stream. This\nallows the input to be pre-processed with various filters to help the metrics calculation\nwhile keeping the frame selection lossless. When set to 1, the first stream is for the\npre-processed input, and the second stream is the clean source from where the kept frames\nare chosen. Default is 0.\n"
                },
                {
                    "name": "chroma",
                    "content": "Set whether or not chroma is considered in the metric calculations. Default is 1.\n"
                },
                {
                    "name": "deconvolve",
                    "content": "Apply 2D deconvolution of video stream in frequency domain using second stream as impulse.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to process.\n"
                },
                {
                    "name": "impulse",
                    "content": "Set which impulse video frames will be processed, can be first or all. Default is all.\n"
                },
                {
                    "name": "noise",
                    "content": "Set noise when doing divisions. Default is 0.0000001. Useful when width and height are\nnot same and not power of 2 or if stream prior to convolving had noise.\n\nThe \"deconvolve\" filter also supports the framesync options.\n"
                },
                {
                    "name": "dedot",
                    "content": "Reduce cross-luminance (dot-crawl) and cross-color (rainbows) from video.\n\nIt accepts the following options:\n\nm   Set mode of operation. Can be combination of dotcrawl for cross-luminance reduction\nand/or rainbows for cross-color reduction.\n\nlt  Set spatial luma threshold. Lower values increases reduction of cross-luminance.\n\ntl  Set tolerance for temporal luma. Higher values increases reduction of cross-luminance.\n\ntc  Set tolerance for chroma temporal variation. Higher values increases reduction of cross-\ncolor.\n\nct  Set temporal chroma threshold. Lower values increases reduction of cross-color.\n"
                },
                {
                    "name": "deflate",
                    "content": "Apply deflate effect to the video.\n\nThis filter replaces the pixel by the local(3x3) average by taking into account only values\nlower than the pixel.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "threshold0",
                    "content": ""
                },
                {
                    "name": "threshold1",
                    "content": ""
                },
                {
                    "name": "threshold2",
                    "content": ""
                },
                {
                    "name": "threshold3",
                    "content": "Limit the maximum change for each plane, default is 65535.  If 0, plane will remain\nunchanged.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "deflicker",
                    "content": "Remove temporal frame luminance variations.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "size, s",
                    "content": "Set moving-average filter size in frames. Default is 5. Allowed range is 2 - 129.\n"
                },
                {
                    "name": "mode, m",
                    "content": "Set averaging mode to smooth temporal luminance variations.\n\nAvailable values are:\n\nam  Arithmetic mean\n\ngm  Geometric mean\n\nhm  Harmonic mean\n\nqm  Quadratic mean\n\ncm  Cubic mean\n\npm  Power mean\n\nmedian\nMedian\n"
                },
                {
                    "name": "bypass",
                    "content": "Do not actually modify frame. Useful when one only wants metadata.\n"
                },
                {
                    "name": "dejudder",
                    "content": "Remove judder produced by partially interlaced telecined content.\n\nJudder can be introduced, for instance, by pullup filter. If the original source was\npartially telecined content then the output of \"pullup,dejudder\" will have a variable frame\nrate. May change the recorded frame rate of the container. Aside from that change, this\nfilter will not affect constant frame rate video.\n\nThe option available in this filter is:\n"
                },
                {
                    "name": "cycle",
                    "content": "Specify the length of the window over which the judder repeats.\n\nAccepts any integer greater than 1. Useful values are:\n\n4   If the original was telecined from 24 to 30 fps (Film to NTSC).\n\n5   If the original was telecined from 25 to 30 fps (PAL to NTSC).\n\n20  If a mixture of the two.\n\nThe default is 4.\n"
                },
                {
                    "name": "delogo",
                    "content": "Suppress a TV station logo by a simple interpolation of the surrounding pixels. Just set a\nrectangle covering the logo and watch it disappear (and sometimes something even uglier\nappear - your mileage may vary).\n\nIt accepts the following parameters:\n\nx\ny   Specify the top left corner coordinates of the logo. They must be specified.\n\nw\nh   Specify the width and height of the logo to clear. They must be specified.\n"
                },
                {
                    "name": "show",
                    "content": "When set to 1, a green rectangle is drawn on the screen to simplify finding the right x,\ny, w, and h parameters.  The default value is 0.\n\nThe rectangle is drawn on the outermost pixels which will be (partly) replaced with\ninterpolated values. The values of the next pixels immediately outside this rectangle in\neach direction will be used to compute the interpolated pixel values inside the\nrectangle.\n\nExamples\n\n•   Set a rectangle covering the area with top left corner coordinates 0,0 and size 100x77:\n\ndelogo=x=0:y=0:w=100:h=77\n"
                },
                {
                    "name": "derain",
                    "content": "Remove the rain in the input image/video by applying the derain methods based on\nconvolutional neural networks. Supported models:\n\n•   Recurrent Squeeze-and-Excitation Context Aggregation Net (RESCAN).  See\n<http://openaccess.thecvf.com/contentECCV2018/papers/XiaLiRecurrentSqueeze-and-ExcitationContextECCV2018paper.pdf>.\n\nTraining as well as model generation scripts are provided in the repository at\n<https://github.com/XueweiMeng/derainfilter.git>.\n\nNative model files (.model) can be generated from TensorFlow model files (.pb) by using\ntools/python/convert.py\n\nThe filter accepts the following options:\n\nfiltertype\nSpecify which filter to use. This option accepts the following values:\n\nderain\nDerain filter. To conduct derain filter, you need to use a derain model.\n\ndehaze\nDehaze filter. To conduct dehaze filter, you need to use a dehaze model.\n\nDefault value is derain.\n\ndnnbackend\nSpecify which DNN backend to use for model loading and execution. This option accepts the\nfollowing values:\n\nnative\nNative implementation of DNN loading and execution.\n\ntensorflow\nTensorFlow backend. To enable this backend you need to install the TensorFlow for C\nlibrary (see <https://www.tensorflow.org/install/installc>) and configure FFmpeg\nwith \"--enable-libtensorflow\"\n\nDefault value is native.\n"
                },
                {
                    "name": "model",
                    "content": "Set path to model file specifying network architecture and its parameters.  Note that\ndifferent backends use different file formats. TensorFlow and native backend can load\nfiles for only its format.\n\nIt can also be finished with dnnprocessing filter.\n"
                },
                {
                    "name": "deshake",
                    "content": "Attempt to fix small changes in horizontal and/or vertical shift. This filter helps remove\ncamera shake from hand-holding a camera, bumping a tripod, moving on a vehicle, etc.\n\nThe filter accepts the following options:\n\nx\ny\nw\nh   Specify a rectangular area where to limit the search for motion vectors.  If desired the\nsearch for motion vectors can be limited to a rectangular area of the frame defined by\nits top left corner, width and height. These parameters have the same meaning as the\ndrawbox filter which can be used to visualise the position of the bounding box.\n\nThis is useful when simultaneous movement of subjects within the frame might be confused\nfor camera motion by the motion vector search.\n\nIf any or all of x, y, w and h are set to -1 then the full frame is used. This allows\nlater options to be set without specifying the bounding box for the motion vector search.\n\nDefault - search the whole frame.\n\nrx\nry  Specify the maximum extent of movement in x and y directions in the range 0-64 pixels.\nDefault 16.\n"
                },
                {
                    "name": "edge",
                    "content": "Specify how to generate pixels to fill blanks at the edge of the frame. Available values\nare:\n\nblank, 0\nFill zeroes at blank locations\n\noriginal, 1\nOriginal image at blank locations\n\nclamp, 2\nExtruded edge value at blank locations\n\nmirror, 3\nMirrored edge at blank locations\n\nDefault value is mirror.\n"
                },
                {
                    "name": "blocksize",
                    "content": "Specify the blocksize to use for motion search. Range 4-128 pixels, default 8.\n"
                },
                {
                    "name": "contrast",
                    "content": "Specify the contrast threshold for blocks. Only blocks with more than the specified\ncontrast (difference between darkest and lightest pixels) will be considered. Range\n1-255, default 125.\n"
                },
                {
                    "name": "search",
                    "content": "Specify the search strategy. Available values are:\n\nexhaustive, 0\nSet exhaustive search\n\nless, 1\nSet less exhaustive search.\n\nDefault value is exhaustive.\n"
                },
                {
                    "name": "filename",
                    "content": "If set then a detailed log of the motion search is written to the specified file.\n"
                },
                {
                    "name": "despill",
                    "content": "Remove unwanted contamination of foreground colors, caused by reflected color of greenscreen\nor bluescreen.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "type",
                    "content": "Set what type of despill to use.\n\nmix Set how spillmap will be generated.\n"
                },
                {
                    "name": "expand",
                    "content": "Set how much to get rid of still remaining spill.\n\nred Controls amount of red in spill area.\n"
                },
                {
                    "name": "green",
                    "content": "Controls amount of green in spill area.  Should be -1 for greenscreen.\n"
                },
                {
                    "name": "blue",
                    "content": "Controls amount of blue in spill area.  Should be -1 for bluescreen.\n"
                },
                {
                    "name": "brightness",
                    "content": "Controls brightness of spill area, preserving colors.\n"
                },
                {
                    "name": "alpha",
                    "content": "Modify alpha from generated spillmap.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "detelecine",
                    "content": "Apply an exact inverse of the telecine operation. It requires a predefined pattern specified\nusing the pattern option which must be the same as that passed to the telecine filter.\n\nThis filter accepts the following options:\n\nfirstfield\ntop, t\ntop field first\n\nbottom, b\nbottom field first The default value is \"top\".\n"
                },
                {
                    "name": "pattern",
                    "content": "A string of numbers representing the pulldown pattern you wish to apply.  The default\nvalue is 23.\n\nstartframe\nA number representing position of the first frame with respect to the telecine pattern.\nThis is to be used if the stream is cut. The default value is 0.\n"
                },
                {
                    "name": "dilation",
                    "content": "Apply dilation effect to the video.\n\nThis filter replaces the pixel by the local(3x3) maximum.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "threshold0",
                    "content": ""
                },
                {
                    "name": "threshold1",
                    "content": ""
                },
                {
                    "name": "threshold2",
                    "content": ""
                },
                {
                    "name": "threshold3",
                    "content": "Limit the maximum change for each plane, default is 65535.  If 0, plane will remain\nunchanged.\n"
                },
                {
                    "name": "coordinates",
                    "content": "Flag which specifies the pixel to refer to. Default is 255 i.e. all eight pixels are\nused.\n\nFlags to local 3x3 coordinates maps like this:\n\n1 2 3\n4   5\n6 7 8\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "displace",
                    "content": "Displace pixels as indicated by second and third input stream.\n\nIt takes three input streams and outputs one stream, the first input is the source, and\nsecond and third input are displacement maps.\n\nThe second input specifies how much to displace pixels along the x-axis, while the third\ninput specifies how much to displace pixels along the y-axis.  If one of displacement map\nstreams terminates, last frame from that displacement map will be used.\n\nNote that once generated, displacements maps can be reused over and over again.\n\nA description of the accepted options follows.\n"
                },
                {
                    "name": "edge",
                    "content": "Set displace behavior for pixels that are out of range.\n\nAvailable values are:\n\nblank\nMissing pixels are replaced by black pixels.\n\nsmear\nAdjacent pixels will spread out to replace missing pixels.\n\nwrap\nOut of range pixels are wrapped so they point to pixels of other side.\n\nmirror\nOut of range pixels will be replaced with mirrored pixels.\n\nDefault is smear.\n\nExamples\n\n•   Add ripple effect to rgb input of video size hd720:\n\nffmpeg -i INPUT -f lavfi -i nullsrc=s=hd720,lutrgb=128:128:128 -f lavfi -i nullsrc=s=hd720,geq='r=128+30*sin(2*PI*X/400+T):g=128+30*sin(2*PI*X/400+T):b=128+30*sin(2*PI*X/400+T)' -lavfi '[0][1][2]displace' OUTPUT\n\n•   Add wave effect to rgb input of video size hd720:\n\nffmpeg -i INPUT -f lavfi -i nullsrc=hd720,geq='r=128+80*(sin(sqrt((X-W/2)*(X-W/2)+(Y-H/2)*(Y-H/2))/220*2*PI+T)):g=128+80*(sin(sqrt((X-W/2)*(X-W/2)+(Y-H/2)*(Y-H/2))/220*2*PI+T)):b=128+80*(sin(sqrt((X-W/2)*(X-W/2)+(Y-H/2)*(Y-H/2))/220*2*PI+T))' -lavfi '[1]split[x][y],[0][x][y]displace' OUTPUT\n\ndnnprocessing\nDo image processing with deep neural networks. It works together with another filter which\nconverts the pixel format of the Frame to what the dnn network requires.\n\nThe filter accepts the following options:\n\ndnnbackend\nSpecify which DNN backend to use for model loading and execution. This option accepts the\nfollowing values:\n\nnative\nNative implementation of DNN loading and execution.\n\ntensorflow\nTensorFlow backend. To enable this backend you need to install the TensorFlow for C\nlibrary (see <https://www.tensorflow.org/install/installc>) and configure FFmpeg\nwith \"--enable-libtensorflow\"\n\nopenvino\nOpenVINO backend. To enable this backend you need to build and install the OpenVINO\nfor C library (see\n<https://github.com/openvinotoolkit/openvino/blob/master/build-instruction.md>) and\nconfigure FFmpeg with \"--enable-libopenvino\" (--extra-cflags=-I...\n--extra-ldflags=-L... might be needed if the header files and libraries are not\ninstalled into system path)\n\nDefault value is native.\n"
                },
                {
                    "name": "model",
                    "content": "Set path to model file specifying network architecture and its parameters.  Note that\ndifferent backends use different file formats. TensorFlow, OpenVINO and native backend\ncan load files for only its format.\n\nNative model file (.model) can be generated from TensorFlow model file (.pb) by using\ntools/python/convert.py\n"
                },
                {
                    "name": "input",
                    "content": "Set the input name of the dnn network.\n"
                },
                {
                    "name": "output",
                    "content": "Set the output name of the dnn network.\n"
                },
                {
                    "name": "async",
                    "content": "use DNN async execution if set (default: set), roll back to sync execution if the backend\ndoes not support async.\n\nExamples\n\n•   Remove rain in rgb24 frame with can.pb (see derain filter):\n\n./ffmpeg -i rain.jpg -vf format=rgb24,dnnprocessing=dnnbackend=tensorflow:model=can.pb:input=x:output=y derain.jpg\n\n•   Halve the pixel value of the frame with format gray32f:\n\nffmpeg -i input.jpg -vf format=grayf32,dnnprocessing=model=halvegrayfloat.model:input=dnnin:output=dnnout:dnnbackend=native -y out.native.png\n\n•   Handle the Y channel with srcnn.pb (see sr filter) for frame with yuv420p (planar YUV\nformats supported):\n\n./ffmpeg -i 480p.jpg -vf format=yuv420p,scale=w=iw*2:h=ih*2,dnnprocessing=dnnbackend=tensorflow:model=srcnn.pb:input=x:output=y -y srcnn.jpg\n\n•   Handle the Y channel with espcn.pb (see sr filter), which changes frame size, for format\nyuv420p (planar YUV formats supported):\n\n./ffmpeg -i 480p.jpg -vf format=yuv420p,dnnprocessing=dnnbackend=tensorflow:model=espcn.pb:input=x:output=y -y tmp.espcn.jpg\n"
                },
                {
                    "name": "drawbox",
                    "content": "Draw a colored box on the input image.\n\nIt accepts the following parameters:\n\nx\ny   The expressions which specify the top left corner coordinates of the box. It defaults to\n0.\n"
                },
                {
                    "name": "width, w",
                    "content": ""
                },
                {
                    "name": "height, h",
                    "content": "The expressions which specify the width and height of the box; if 0 they are interpreted\nas the input width and height. It defaults to 0.\n"
                },
                {
                    "name": "color, c",
                    "content": "Specify the color of the box to write. For the general syntax of this option, check the\n\"Color\" section in the ffmpeg-utils manual. If the special value \"invert\" is used, the\nbox edge color is the same as the video with inverted luma.\n"
                },
                {
                    "name": "thickness, t",
                    "content": "The expression which sets the thickness of the box edge.  A value of \"fill\" will create a\nfilled box. Default value is 3.\n\nSee below for the list of accepted constants.\n"
                },
                {
                    "name": "replace",
                    "content": "Applicable if the input has alpha. With value 1, the pixels of the painted box will\noverwrite the video's color and alpha pixels.  Default is 0, which composites the box\nonto the input, leaving the video's alpha intact.\n\nThe parameters for x, y, w and h and t are expressions containing the following constants:\n\ndar The input display aspect ratio, it is the same as (w / h) * sar.\n"
                },
                {
                    "name": "hsub",
                    "content": ""
                },
                {
                    "name": "vsub",
                    "content": "horizontal and vertical chroma subsample values. For example for the pixel format\n\"yuv422p\" hsub is 2 and vsub is 1.\n\ninh, ih\ninw, iw\nThe input width and height.\n\nsar The input sample aspect ratio.\n\nx\ny   The x and y offset coordinates where the box is drawn.\n\nw\nh   The width and height of the drawn box.\n\nt   The thickness of the drawn box.\n\nThese constants allow the x, y, w, h and t expressions to refer to each other, so you may\nfor example specify \"y=x/dar\" or \"h=w/dar\".\n\nExamples\n\n•   Draw a black box around the edge of the input image:\n\ndrawbox\n\n•   Draw a box with color red and an opacity of 50%:\n\ndrawbox=10:20:200:60:red@0.5\n\nThe previous example can be specified as:\n\ndrawbox=x=10:y=20:w=200:h=60:color=red@0.5\n\n•   Fill the box with pink color:\n\ndrawbox=x=10:y=10:w=100:h=100:color=pink@0.5:t=fill\n\n•   Draw a 2-pixel red 2.40:1 mask:\n\ndrawbox=x=-t:y=0.5*(ih-iw/2.4)-t:w=iw+t*2:h=iw/2.4+t*2:t=2:c=red\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "drawgraph",
                    "content": "Draw a graph using input video metadata.\n\nIt accepts the following parameters:\n\nm1  Set 1st frame metadata key from which metadata values will be used to draw a graph.\n\nfg1 Set 1st foreground color expression.\n\nm2  Set 2nd frame metadata key from which metadata values will be used to draw a graph.\n\nfg2 Set 2nd foreground color expression.\n\nm3  Set 3rd frame metadata key from which metadata values will be used to draw a graph.\n\nfg3 Set 3rd foreground color expression.\n\nm4  Set 4th frame metadata key from which metadata values will be used to draw a graph.\n\nfg4 Set 4th foreground color expression.\n\nmin Set minimal value of metadata value.\n\nmax Set maximal value of metadata value.\n\nbg  Set graph background color. Default is white.\n"
                },
                {
                    "name": "mode",
                    "content": "Set graph mode.\n\nAvailable values for mode is:\n\nbar\ndot\nline\n\nDefault is \"line\".\n"
                },
                {
                    "name": "slide",
                    "content": "Set slide mode.\n\nAvailable values for slide is:\n\nframe\nDraw new frame when right border is reached.\n\nreplace\nReplace old columns with new ones.\n\nscroll\nScroll from right to left.\n\nrscroll\nScroll from left to right.\n\npicture\nDraw single picture.\n\nDefault is \"frame\".\n"
                },
                {
                    "name": "size",
                    "content": "Set size of graph video. For the syntax of this option, check the \"Video size\" section in\nthe ffmpeg-utils manual.  The default value is \"900x256\".\n"
                },
                {
                    "name": "rate, r",
                    "content": "Set the output frame rate. Default value is 25.\n\nThe foreground color expressions can use the following variables:\n\nMIN Minimal value of metadata value.\n\nMAX Maximal value of metadata value.\n\nVAL Current metadata key value.\n\nThe color is defined as 0xAABBGGRR.\n\nExample using metadata from signalstats filter:\n\nsignalstats,drawgraph=lavfi.signalstats.YAVG:min=0:max=255\n\nExample using metadata from ebur128 filter:\n\nebur128=metadata=1,adrawgraph=lavfi.r128.M:min=-120:max=5\n"
                },
                {
                    "name": "drawgrid",
                    "content": "Draw a grid on the input image.\n\nIt accepts the following parameters:\n\nx\ny   The expressions which specify the coordinates of some point of grid intersection (meant\nto configure offset). Both default to 0.\n"
                },
                {
                    "name": "width, w",
                    "content": ""
                },
                {
                    "name": "height, h",
                    "content": "The expressions which specify the width and height of the grid cell, if 0 they are\ninterpreted as the input width and height, respectively, minus \"thickness\", so image gets\nframed. Default to 0.\n"
                },
                {
                    "name": "color, c",
                    "content": "Specify the color of the grid. For the general syntax of this option, check the \"Color\"\nsection in the ffmpeg-utils manual. If the special value \"invert\" is used, the grid color\nis the same as the video with inverted luma.\n"
                },
                {
                    "name": "thickness, t",
                    "content": "The expression which sets the thickness of the grid line. Default value is 1.\n\nSee below for the list of accepted constants.\n"
                },
                {
                    "name": "replace",
                    "content": "Applicable if the input has alpha. With 1 the pixels of the painted grid will overwrite\nthe video's color and alpha pixels.  Default is 0, which composites the grid onto the\ninput, leaving the video's alpha intact.\n\nThe parameters for x, y, w and h and t are expressions containing the following constants:\n\ndar The input display aspect ratio, it is the same as (w / h) * sar.\n"
                },
                {
                    "name": "hsub",
                    "content": ""
                },
                {
                    "name": "vsub",
                    "content": "horizontal and vertical chroma subsample values. For example for the pixel format\n\"yuv422p\" hsub is 2 and vsub is 1.\n\ninh, ih\ninw, iw\nThe input grid cell width and height.\n\nsar The input sample aspect ratio.\n\nx\ny   The x and y coordinates of some point of grid intersection (meant to configure offset).\n\nw\nh   The width and height of the drawn cell.\n\nt   The thickness of the drawn cell.\n\nThese constants allow the x, y, w, h and t expressions to refer to each other, so you may\nfor example specify \"y=x/dar\" or \"h=w/dar\".\n\nExamples\n\n•   Draw a grid with cell 100x100 pixels, thickness 2 pixels, with color red and an opacity\nof 50%:\n\ndrawgrid=width=100:height=100:thickness=2:color=red@0.5\n\n•   Draw a white 3x3 grid with an opacity of 50%:\n\ndrawgrid=w=iw/3:h=ih/3:t=2:c=white@0.5\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "drawtext",
                    "content": "Draw a text string or text from a specified file on top of a video, using the libfreetype\nlibrary.\n\nTo enable compilation of this filter, you need to configure FFmpeg with\n\"--enable-libfreetype\".  To enable default font fallback and the font option you need to\nconfigure FFmpeg with \"--enable-libfontconfig\".  To enable the textshaping option, you need\nto configure FFmpeg with \"--enable-libfribidi\".\n\nSyntax\n\nIt accepts the following parameters:\n\nbox Used to draw a box around text using the background color.  The value must be either 1\n(enable) or 0 (disable).  The default value of box is 0.\n"
                },
                {
                    "name": "boxborderw",
                    "content": "Set the width of the border to be drawn around the box using boxcolor.  The default value\nof boxborderw is 0.\n"
                },
                {
                    "name": "boxcolor",
                    "content": "The color to be used for drawing box around text. For the syntax of this option, check\nthe \"Color\" section in the ffmpeg-utils manual.\n\nThe default value of boxcolor is \"white\".\n\nlinespacing\nSet the line spacing in pixels of the border to be drawn around the box using box.  The\ndefault value of linespacing is 0.\n"
                },
                {
                    "name": "borderw",
                    "content": "Set the width of the border to be drawn around the text using bordercolor.  The default\nvalue of borderw is 0.\n"
                },
                {
                    "name": "bordercolor",
                    "content": "Set the color to be used for drawing border around text. For the syntax of this option,\ncheck the \"Color\" section in the ffmpeg-utils manual.\n\nThe default value of bordercolor is \"black\".\n"
                },
                {
                    "name": "expansion",
                    "content": "Select how the text is expanded. Can be either \"none\", \"strftime\" (deprecated) or\n\"normal\" (default). See the drawtextexpansion, Text expansion section below for details.\n"
                },
                {
                    "name": "basetime",
                    "content": "Set a start time for the count. Value is in microseconds. Only applied in the deprecated\nstrftime expansion mode. To emulate in normal expansion mode use the \"pts\" function,\nsupplying the start time (in seconds) as the second argument.\n\nfixbounds\nIf true, check and fix text coords to avoid clipping.\n"
                },
                {
                    "name": "fontcolor",
                    "content": "The color to be used for drawing fonts. For the syntax of this option, check the \"Color\"\nsection in the ffmpeg-utils manual.\n\nThe default value of fontcolor is \"black\".\n\nfontcolorexpr\nString which is expanded the same way as text to obtain dynamic fontcolor value. By\ndefault this option has empty value and is not processed. When this option is set, it\noverrides fontcolor option.\n"
                },
                {
                    "name": "font",
                    "content": "The font family to be used for drawing text. By default Sans.\n"
                },
                {
                    "name": "fontfile",
                    "content": "The font file to be used for drawing text. The path must be included.  This parameter is\nmandatory if the fontconfig support is disabled.\n"
                },
                {
                    "name": "alpha",
                    "content": "Draw the text applying alpha blending. The value can be a number between 0.0 and 1.0.\nThe expression accepts the same variables x, y as well.  The default value is 1.  Please\nsee fontcolorexpr.\n"
                },
                {
                    "name": "fontsize",
                    "content": "The font size to be used for drawing text.  The default value of fontsize is 16.\n\ntextshaping\nIf set to 1, attempt to shape the text (for example, reverse the order of right-to-left\ntext and join Arabic characters) before drawing it.  Otherwise, just draw the text\nexactly as given.  By default 1 (if supported).\n\nftloadflags\nThe flags to be used for loading the fonts.\n\nThe flags map the corresponding flags supported by libfreetype, and are a combination of\nthe following values:\n\ndefault\nnoscale\nnohinting\nrender\nnobitmap\nverticallayout\nforceautohint\ncropbitmap\npedantic\nignoreglobaladvancewidth\nnorecurse\nignoretransform\nmonochrome\nlineardesign\nnoautohint\n\nDefault value is \"default\".\n\nFor more information consult the documentation for the FTLOAD* libfreetype flags.\n"
                },
                {
                    "name": "shadowcolor",
                    "content": "The color to be used for drawing a shadow behind the drawn text. For the syntax of this\noption, check the \"Color\" section in the ffmpeg-utils manual.\n\nThe default value of shadowcolor is \"black\".\n"
                },
                {
                    "name": "shadowx",
                    "content": ""
                },
                {
                    "name": "shadowy",
                    "content": "The x and y offsets for the text shadow position with respect to the position of the\ntext. They can be either positive or negative values. The default value for both is \"0\".\n\nstartnumber\nThe starting frame number for the n/framenum variable. The default value is \"0\".\n"
                },
                {
                    "name": "tabsize",
                    "content": "The size in number of spaces to use for rendering the tab.  Default value is 4.\n"
                },
                {
                    "name": "timecode",
                    "content": "Set the initial timecode representation in \"hh:mm:ss[:;.]ff\" format. It can be used with\nor without text parameter. timecoderate option must be specified.\n\ntimecoderate, rate, r\nSet the timecode frame rate (timecode only). Value will be rounded to nearest integer.\nMinimum value is \"1\".  Drop-frame timecode is supported for frame rates 30 & 60.\n"
                },
                {
                    "name": "tc24hmax",
                    "content": "If set to 1, the output of the timecode option will wrap around at 24 hours.  Default is\n0 (disabled).\n"
                },
                {
                    "name": "text",
                    "content": "The text string to be drawn. The text must be a sequence of UTF-8 encoded characters.\nThis parameter is mandatory if no file is specified with the parameter textfile.\n"
                },
                {
                    "name": "textfile",
                    "content": "A text file containing text to be drawn. The text must be a sequence of UTF-8 encoded\ncharacters.\n\nThis parameter is mandatory if no text string is specified with the parameter text.\n\nIf both text and textfile are specified, an error is thrown.\n"
                },
                {
                    "name": "reload",
                    "content": "If set to 1, the textfile will be reloaded before each frame.  Be sure to update it\natomically, or it may be read partially, or even fail.\n\nx\ny   The expressions which specify the offsets where text will be drawn within the video\nframe. They are relative to the top/left border of the output image.\n\nThe default value of x and y is \"0\".\n\nSee below for the list of accepted constants and functions.\n\nThe parameters for x and y are expressions containing the following constants and functions:\n\ndar input display aspect ratio, it is the same as (w / h) * sar\n"
                },
                {
                    "name": "hsub",
                    "content": ""
                },
                {
                    "name": "vsub",
                    "content": "horizontal and vertical chroma subsample values. For example for the pixel format\n\"yuv422p\" hsub is 2 and vsub is 1.\n\nlineh, lh\nthe height of each text line\n\nmainh, h, H\nthe input height\n\nmainw, w, W\nthe input width\n\nmaxglypha, ascent\nthe maximum distance from the baseline to the highest/upper grid coordinate used to place\na glyph outline point, for all the rendered glyphs.  It is a positive value, due to the\ngrid's orientation with the Y axis upwards.\n\nmaxglyphd, descent\nthe maximum distance from the baseline to the lowest grid coordinate used to place a\nglyph outline point, for all the rendered glyphs.  This is a negative value, due to the\ngrid's orientation, with the Y axis upwards.\n\nmaxglyphh\nmaximum glyph height, that is the maximum height for all the glyphs contained in the\nrendered text, it is equivalent to ascent - descent.\n\nmaxglyphw\nmaximum glyph width, that is the maximum width for all the glyphs contained in the\nrendered text\n\nn   the number of input frame, starting from 0\n"
                },
                {
                    "name": "rand(min, max)",
                    "content": "return a random number included between min and max\n\nsar The input sample aspect ratio.\n\nt   timestamp expressed in seconds, NAN if the input timestamp is unknown\n\ntexth, th\nthe height of the rendered text\n\ntextw, tw\nthe width of the rendered text\n\nx\ny   the x and y offset coordinates where the text is drawn.\n\nThese parameters allow the x and y expressions to refer to each other, so you can for\nexample specify \"y=x/dar\".\n\npicttype\nA one character description of the current frame's picture type.\n\npktpos\nThe current packet's position in the input file or stream (in bytes, from the start of\nthe input). A value of -1 indicates this info is not available.\n\npktduration\nThe current packet's duration, in seconds.\n\npktsize\nThe current packet's size (in bytes).\n\nText expansion\n\nIf expansion is set to \"strftime\", the filter recognizes strftime() sequences in the provided\ntext and expands them accordingly. Check the documentation of strftime(). This feature is\ndeprecated.\n\nIf expansion is set to \"none\", the text is printed verbatim.\n\nIf expansion is set to \"normal\" (which is the default), the following expansion mechanism is\nused.\n\nThe backslash character \\, followed by any character, always expands to the second character.\n\nSequences of the form \"%{...}\" are expanded. The text between the braces is a function name,\npossibly followed by arguments separated by ':'.  If the arguments contain special characters\nor delimiters (':' or '}'), they should be escaped.\n\nNote that they probably must also be escaped as the value for the text option in the filter\nargument string and as the filter argument in the filtergraph description, and possibly also\nfor the shell, that makes up to four levels of escaping; using a text file avoids these\nproblems.\n\nThe following functions are available:\n"
                },
                {
                    "name": "expr, e",
                    "content": "The expression evaluation result.\n\nIt must take one argument specifying the expression to be evaluated, which accepts the\nsame constants and functions as the x and y values. Note that not all constants should be\nused, for example the text size is not known when evaluating the expression, so the\nconstants textw and texth will have an undefined value.\n\nexprintformat, eif\nEvaluate the expression's value and output as formatted integer.\n\nThe first argument is the expression to be evaluated, just as for the expr function.  The\nsecond argument specifies the output format. Allowed values are x, X, d and u. They are\ntreated exactly as in the \"printf\" function.  The third parameter is optional and sets\nthe number of positions taken by the output.  It can be used to add padding with zeros\nfrom the left.\n"
                },
                {
                    "name": "gmtime",
                    "content": "The time at which the filter is running, expressed in UTC.  It can accept an argument: a\nstrftime() format string.\n"
                },
                {
                    "name": "localtime",
                    "content": "The time at which the filter is running, expressed in the local time zone.  It can accept\nan argument: a strftime() format string.\n"
                },
                {
                    "name": "metadata",
                    "content": "Frame metadata. Takes one or two arguments.\n\nThe first argument is mandatory and specifies the metadata key.\n\nThe second argument is optional and specifies a default value, used when the metadata key\nis not found or empty.\n\nAvailable metadata can be identified by inspecting entries starting with TAG included\nwithin each frame section printed by running \"ffprobe -showframes\".\n\nString metadata generated in filters leading to the drawtext filter are also available.\n\nn, framenum\nThe frame number, starting from 0.\n\npicttype\nA one character description of the current picture type.\n\npts The timestamp of the current frame.  It can take up to three arguments.\n\nThe first argument is the format of the timestamp; it defaults to \"flt\" for seconds as a\ndecimal number with microsecond accuracy; \"hms\" stands for a formatted [-]HH:MM:SS.mmm\ntimestamp with millisecond accuracy.  \"gmtime\" stands for the timestamp of the frame\nformatted as UTC time; \"localtime\" stands for the timestamp of the frame formatted as\nlocal time zone time.\n\nThe second argument is an offset added to the timestamp.\n\nIf the format is set to \"hms\", a third argument \"24HH\" may be supplied to present the\nhour part of the formatted timestamp in 24h format (00-23).\n\nIf the format is set to \"localtime\" or \"gmtime\", a third argument may be supplied: a\nstrftime() format string.  By default, YYYY-MM-DD HH:MM:SS format will be used.\n\nCommands\n\nThis filter supports altering parameters via commands:\n"
                },
                {
                    "name": "reinit",
                    "content": "Alter existing filter parameters.\n\nSyntax for the argument is the same as for filter invocation, e.g.\n\nfontsize=56:fontcolor=green:text='Hello World'\n\nFull filter invocation with sendcmd would look like this:\n\nsendcmd=c='56.0 drawtext reinit fontsize=56\\:fontcolor=green\\:text=Hello\\\\ World'\n\nIf the entire argument can't be parsed or applied as valid values then the filter will\ncontinue with its existing parameters.\n\nExamples\n\n•   Draw \"Test Text\" with font FreeSerif, using the default values for the optional\nparameters.\n\ndrawtext=\"fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf: text='Test Text'\"\n\n•   Draw 'Test Text' with font FreeSerif of size 24 at position x=100 and y=50 (counting from\nthe top-left corner of the screen), text is yellow with a red box around it. Both the\ntext and the box have an opacity of 20%.\n\ndrawtext=\"fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf: text='Test Text':\\\nx=100: y=50: fontsize=24: fontcolor=yellow@0.2: box=1: boxcolor=red@0.2\"\n\nNote that the double quotes are not necessary if spaces are not used within the parameter\nlist.\n\n•   Show the text at the center of the video frame:\n\ndrawtext=\"fontsize=30:fontfile=FreeSerif.ttf:text='hello world':x=(w-textw)/2:y=(h-texth)/2\"\n\n•   Show the text at a random position, switching to a new position every 30 seconds:\n\ndrawtext=\"fontsize=30:fontfile=FreeSerif.ttf:text='hello world':x=if(eq(mod(t\\,30)\\,0)\\,rand(0\\,(w-textw))\\,x):y=if(eq(mod(t\\,30)\\,0)\\,rand(0\\,(h-texth))\\,y)\"\n\n•   Show a text line sliding from right to left in the last row of the video frame. The file\nLONGLINE is assumed to contain a single line with no newlines.\n\ndrawtext=\"fontsize=15:fontfile=FreeSerif.ttf:text=LONGLINE:y=h-lineh:x=-50*t\"\n\n•   Show the content of file CREDITS off the bottom of the frame and scroll up.\n\ndrawtext=\"fontsize=20:fontfile=FreeSerif.ttf:textfile=CREDITS:y=h-20*t\"\n\n•   Draw a single green letter \"g\", at the center of the input video.  The glyph baseline is\nplaced at half screen height.\n\ndrawtext=\"fontsize=60:fontfile=FreeSerif.ttf:fontcolor=green:text=g:x=(w-maxglyphw)/2:y=h/2-ascent\"\n\n•   Show text for 1 second every 3 seconds:\n\ndrawtext=\"fontfile=FreeSerif.ttf:fontcolor=white:x=100:y=x/dar:enable=lt(mod(t\\,3)\\,1):text='blink'\"\n\n•   Use fontconfig to set the font. Note that the colons need to be escaped.\n\ndrawtext='fontfile=Linux Libertine O-40\\:style=Semibold:text=FFmpeg'\n\n•   Draw \"Test Text\" with font size dependent on height of the video.\n\ndrawtext=\"text='Test Text': fontsize=h/30: x=(w-textw)/2: y=(h-texth*2)\"\n\n•   Print the date of a real-time encoding (see strftime(3)):\n\ndrawtext='fontfile=FreeSans.ttf:text=%{localtime\\:%a %b %d %Y}'\n\n•   Show text fading in and out (appearing/disappearing):\n\n#!/bin/sh\nDS=1.0 # display start\nDE=10.0 # display end\nFID=1.5 # fade in duration\nFOD=5 # fade out duration\nffplay -f lavfi \"color,drawtext=text=TEST:fontsize=50:fontfile=FreeSerif.ttf:fontcolorexpr=ff0000%{eif\\\\\\\\: clip(255*(1*between(t\\\\, $DS + $FID\\\\, $DE - $FOD) + ((t - $DS)/$FID)*between(t\\\\, $DS\\\\, $DS + $FID) + (-(t - $DE)/$FOD)*between(t\\\\, $DE - $FOD\\\\, $DE) )\\\\, 0\\\\, 255) \\\\\\\\: x\\\\\\\\: 2 }\"\n\n•   Horizontally align multiple separate texts. Note that maxglypha and the fontsize value\nare included in the y offset.\n\ndrawtext=fontfile=FreeSans.ttf:text=DOG:fontsize=24:x=10:y=20+24-maxglypha,\ndrawtext=fontfile=FreeSans.ttf:text=cow:fontsize=24:x=80:y=20+24-maxglypha\n\n•   Plot special lavf.image2dec.sourcebasename metadata onto each frame if such metadata\nexists. Otherwise, plot the string \"NA\". Note that image2 demuxer must have option\n-exportpathmetadata 1 for the special metadata fields to be available for filters.\n\ndrawtext=\"fontsize=20:fontcolor=white:fontfile=FreeSans.ttf:text='%{metadata\\:lavf.image2dec.sourcebasename\\:NA}':x=10:y=10\"\n\nFor more information about libfreetype, check: <http://www.freetype.org/>.\n\nFor more information about fontconfig, check:\n<http://freedesktop.org/software/fontconfig/fontconfig-user.html>.\n\nFor more information about libfribidi, check: <http://fribidi.org/>.\n"
                },
                {
                    "name": "edgedetect",
                    "content": "Detect and draw edges. The filter uses the Canny Edge Detection algorithm.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "low",
                    "content": ""
                },
                {
                    "name": "high",
                    "content": "Set low and high threshold values used by the Canny thresholding algorithm.\n\nThe high threshold selects the \"strong\" edge pixels, which are then connected through\n8-connectivity with the \"weak\" edge pixels selected by the low threshold.\n\nlow and high threshold values must be chosen in the range [0,1], and low should be lesser\nor equal to high.\n\nDefault value for low is \"20/255\", and default value for high is \"50/255\".\n"
                },
                {
                    "name": "mode",
                    "content": "Define the drawing mode.\n\nwires\nDraw white/gray wires on black background.\n\ncolormix\nMix the colors to create a paint/cartoon effect.\n\ncanny\nApply Canny edge detector on all selected planes.\n\nDefault value is wires.\n"
                },
                {
                    "name": "planes",
                    "content": "Select planes for filtering. By default all available planes are filtered.\n\nExamples\n\n•   Standard edge detection with custom values for the hysteresis thresholding:\n\nedgedetect=low=0.1:high=0.4\n\n•   Painting effect without thresholding:\n\nedgedetect=mode=colormix:high=0\n"
                },
                {
                    "name": "elbg",
                    "content": "Apply a posterize effect using the ELBG (Enhanced LBG) algorithm.\n\nFor each input image, the filter will compute the optimal mapping from the input to the\noutput given the codebook length, that is the number of distinct output colors.\n\nThis filter accepts the following options.\n\ncodebooklength, l\nSet codebook length. The value must be a positive integer, and represents the number of\ndistinct output colors. Default value is 256.\n\nnbsteps, n\nSet the maximum number of iterations to apply for computing the optimal mapping. The\nhigher the value the better the result and the higher the computation time. Default value\nis 1.\n"
                },
                {
                    "name": "seed, s",
                    "content": "Set a random seed, must be an integer included between 0 and UINT32MAX. If not\nspecified, or if explicitly set to -1, the filter will try to use a good random seed on a\nbest effort basis.\n"
                },
                {
                    "name": "pal8",
                    "content": "Set pal8 output pixel format. This option does not work with codebook length greater than\n256.\n"
                },
                {
                    "name": "entropy",
                    "content": "Measure graylevel entropy in histogram of color channels of video frames.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "mode",
                    "content": "Can be either normal or diff. Default is normal.\n\ndiff mode measures entropy of histogram delta values, absolute differences between\nneighbour histogram values.\n"
                },
                {
                    "name": "epx",
                    "content": "Apply the EPX magnification filter which is designed for pixel art.\n\nIt accepts the following option:\n\nn   Set the scaling dimension: 2 for \"2xEPX\", 3 for \"3xEPX\".  Default is 3.\n\neq\nSet brightness, contrast, saturation and approximate gamma adjustment.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "contrast",
                    "content": "Set the contrast expression. The value must be a float value in range \"-1000.0\" to\n1000.0. The default value is \"1\".\n"
                },
                {
                    "name": "brightness",
                    "content": "Set the brightness expression. The value must be a float value in range \"-1.0\" to 1.0.\nThe default value is \"0\".\n"
                },
                {
                    "name": "saturation",
                    "content": "Set the saturation expression. The value must be a float in range 0.0 to 3.0. The default\nvalue is \"1\".\n"
                },
                {
                    "name": "gamma",
                    "content": "Set the gamma expression. The value must be a float in range 0.1 to 10.0.  The default\nvalue is \"1\".\n\ngammar\nSet the gamma expression for red. The value must be a float in range 0.1 to 10.0. The\ndefault value is \"1\".\n\ngammag\nSet the gamma expression for green. The value must be a float in range 0.1 to 10.0. The\ndefault value is \"1\".\n\ngammab\nSet the gamma expression for blue. The value must be a float in range 0.1 to 10.0. The\ndefault value is \"1\".\n\ngammaweight\nSet the gamma weight expression. It can be used to reduce the effect of a high gamma\nvalue on bright image areas, e.g. keep them from getting overamplified and just plain\nwhite. The value must be a float in range 0.0 to 1.0. A value of 0.0 turns the gamma\ncorrection all the way down while 1.0 leaves it at its full strength. Default is \"1\".\n"
                },
                {
                    "name": "eval",
                    "content": "Set when the expressions for brightness, contrast, saturation and gamma expressions are\nevaluated.\n\nIt accepts the following values:\n\ninit\nonly evaluate expressions once during the filter initialization or when a command is\nprocessed\n\nframe\nevaluate expressions for each incoming frame\n\nDefault value is init.\n\nThe expressions accept the following parameters:\n\nn   frame count of the input frame starting from 0\n\npos byte position of the corresponding packet in the input file, NAN if unspecified\n\nr   frame rate of the input video, NAN if the input frame rate is unknown\n\nt   timestamp expressed in seconds, NAN if the input timestamp is unknown\n\nCommands\n\nThe filter supports the following commands:\n"
                },
                {
                    "name": "contrast",
                    "content": "Set the contrast expression.\n"
                },
                {
                    "name": "brightness",
                    "content": "Set the brightness expression.\n"
                },
                {
                    "name": "saturation",
                    "content": "Set the saturation expression.\n"
                },
                {
                    "name": "gamma",
                    "content": "Set the gamma expression.\n\ngammar\nSet the gammar expression.\n\ngammag\nSet gammag expression.\n\ngammab\nSet gammab expression.\n\ngammaweight\nSet gammaweight expression.\n\nThe command accepts the same syntax of the corresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "erosion",
                    "content": "Apply erosion effect to the video.\n\nThis filter replaces the pixel by the local(3x3) minimum.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "threshold0",
                    "content": ""
                },
                {
                    "name": "threshold1",
                    "content": ""
                },
                {
                    "name": "threshold2",
                    "content": ""
                },
                {
                    "name": "threshold3",
                    "content": "Limit the maximum change for each plane, default is 65535.  If 0, plane will remain\nunchanged.\n"
                },
                {
                    "name": "coordinates",
                    "content": "Flag which specifies the pixel to refer to. Default is 255 i.e. all eight pixels are\nused.\n\nFlags to local 3x3 coordinates maps like this:\n\n1 2 3\n4   5\n6 7 8\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "estdif",
                    "content": "Deinterlace the input video (\"estdif\" stands for \"Edge Slope Tracing Deinterlacing Filter\").\n\nSpatial only filter that uses edge slope tracing algorithm to interpolate missing lines.  It\naccepts the following parameters:\n"
                },
                {
                    "name": "mode",
                    "content": "The interlacing mode to adopt. It accepts one of the following values:\n\nframe\nOutput one frame for each frame.\n\nfield\nOutput one frame for each field.\n\nThe default value is \"field\".\n"
                },
                {
                    "name": "parity",
                    "content": "The picture field parity assumed for the input interlaced video. It accepts one of the\nfollowing values:\n\ntff Assume the top field is first.\n\nbff Assume the bottom field is first.\n\nauto\nEnable automatic detection of field parity.\n\nThe default value is \"auto\".  If the interlacing is unknown or the decoder does not\nexport this information, top field first will be assumed.\n"
                },
                {
                    "name": "deint",
                    "content": "Specify which frames to deinterlace. Accepts one of the following values:\n\nall Deinterlace all frames.\n\ninterlaced\nOnly deinterlace frames marked as interlaced.\n\nThe default value is \"all\".\n"
                },
                {
                    "name": "rslope",
                    "content": "Specify the search radius for edge slope tracing. Default value is 1.  Allowed range is\nfrom 1 to 15.\n"
                },
                {
                    "name": "redge",
                    "content": "Specify the search radius for best edge matching. Default value is 2.  Allowed range is\nfrom 0 to 15.\n"
                },
                {
                    "name": "interp",
                    "content": "Specify the interpolation used. Default is 4-point interpolation. It accepts one of the\nfollowing values:\n\n2p  Two-point interpolation.\n\n4p  Four-point interpolation.\n\n6p  Six-point interpolation.\n\nCommands\n\nThis filter supports same commands as options.\n"
                },
                {
                    "name": "exposure",
                    "content": "Adjust exposure of the video stream.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "exposure",
                    "content": "Set the exposure correction in EV. Allowed range is from -3.0 to 3.0 EV Default value is\n0 EV.\n"
                },
                {
                    "name": "black",
                    "content": "Set the black level correction. Allowed range is from -1.0 to 1.0.  Default value is 0.\n\nCommands\n\nThis filter supports same commands as options.\n"
                },
                {
                    "name": "extractplanes",
                    "content": "Extract color channel components from input video stream into separate grayscale video\nstreams.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "planes",
                    "content": "Set plane(s) to extract.\n\nAvailable values for planes are:\n\ny\nu\nv\na\nr\ng\nb\n\nChoosing planes not available in the input will result in an error.  That means you\ncannot select \"r\", \"g\", \"b\" planes with \"y\", \"u\", \"v\" planes at same time.\n\nExamples\n\n•   Extract luma, u and v color channel component from input video frame into 3 grayscale\noutputs:\n\nffmpeg -i video.avi -filtercomplex 'extractplanes=y+u+v[y][u][v]' -map '[y]' y.avi -map '[u]' u.avi -map '[v]' v.avi\n"
                },
                {
                    "name": "fade",
                    "content": "Apply a fade-in/out effect to the input video.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "type, t",
                    "content": "The effect type can be either \"in\" for a fade-in, or \"out\" for a fade-out effect.\nDefault is \"in\".\n\nstartframe, s\nSpecify the number of the frame to start applying the fade effect at. Default is 0.\n\nnbframes, n\nThe number of frames that the fade effect lasts. At the end of the fade-in effect, the\noutput video will have the same intensity as the input video.  At the end of the fade-out\ntransition, the output video will be filled with the selected color.  Default is 25.\n"
                },
                {
                    "name": "alpha",
                    "content": "If set to 1, fade only alpha channel, if one exists on the input.  Default value is 0.\n\nstarttime, st\nSpecify the timestamp (in seconds) of the frame to start to apply the fade effect. If\nboth startframe and starttime are specified, the fade will start at whichever comes\nlast.  Default is 0.\n"
                },
                {
                    "name": "duration, d",
                    "content": "The number of seconds for which the fade effect has to last. At the end of the fade-in\neffect the output video will have the same intensity as the input video, at the end of\nthe fade-out transition the output video will be filled with the selected color.  If both\nduration and nbframes are specified, duration is used. Default is 0 (nbframes is used\nby default).\n"
                },
                {
                    "name": "color, c",
                    "content": "Specify the color of the fade. Default is \"black\".\n\nExamples\n\n•   Fade in the first 30 frames of video:\n\nfade=in:0:30\n\nThe command above is equivalent to:\n\nfade=t=in:s=0:n=30\n\n•   Fade out the last 45 frames of a 200-frame video:\n\nfade=out:155:45\nfade=type=out:startframe=155:nbframes=45\n\n•   Fade in the first 25 frames and fade out the last 25 frames of a 1000-frame video:\n\nfade=in:0:25, fade=out:975:25\n\n•   Make the first 5 frames yellow, then fade in from frame 5-24:\n\nfade=in:5:20:color=yellow\n\n•   Fade in alpha over first 25 frames of video:\n\nfade=in:0:25:alpha=1\n\n•   Make the first 5.5 seconds black, then fade in for 0.5 seconds:\n\nfade=t=in:st=5.5:d=0.5\n"
                },
                {
                    "name": "fftdnoiz",
                    "content": "Denoise frames using 3D FFT (frequency domain filtering).\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "sigma",
                    "content": "Set the noise sigma constant. This sets denoising strength.  Default value is 1. Allowed\nrange is from 0 to 30.  Using very high sigma with low overlap may give blocking\nartifacts.\n"
                },
                {
                    "name": "amount",
                    "content": "Set amount of denoising. By default all detected noise is reduced.  Default value is 1.\nAllowed range is from 0 to 1.\n"
                },
                {
                    "name": "block",
                    "content": "Set size of block, Default is 4, can be 3, 4, 5 or 6.  Actual size of block in pixels is\n2 to power of block, so by default block size in pixels is 2^4 which is 16.\n"
                },
                {
                    "name": "overlap",
                    "content": "Set block overlap. Default is 0.5. Allowed range is from 0.2 to 0.8.\n"
                },
                {
                    "name": "prev",
                    "content": "Set number of previous frames to use for denoising. By default is set to 0.\n"
                },
                {
                    "name": "next",
                    "content": "Set number of next frames to to use for denoising. By default is set to 0.\n"
                },
                {
                    "name": "planes",
                    "content": "Set planes which will be filtered, by default are all available filtered except alpha.\n"
                },
                {
                    "name": "fftfilt",
                    "content": "Apply arbitrary expressions to samples in frequency domain\n\ndcY\nAdjust the dc value (gain) of the luma plane of the image. The filter accepts an integer\nvalue in range 0 to 1000. The default value is set to 0.\n\ndcU\nAdjust the dc value (gain) of the 1st chroma plane of the image. The filter accepts an\ninteger value in range 0 to 1000. The default value is set to 0.\n\ndcV\nAdjust the dc value (gain) of the 2nd chroma plane of the image. The filter accepts an\ninteger value in range 0 to 1000. The default value is set to 0.\n\nweightY\nSet the frequency domain weight expression for the luma plane.\n\nweightU\nSet the frequency domain weight expression for the 1st chroma plane.\n\nweightV\nSet the frequency domain weight expression for the 2nd chroma plane.\n"
                },
                {
                    "name": "eval",
                    "content": "Set when the expressions are evaluated.\n\nIt accepts the following values:\n\ninit\nOnly evaluate expressions once during the filter initialization.\n\nframe\nEvaluate expressions for each incoming frame.\n\nDefault value is init.\n\nThe filter accepts the following variables:\n\nX\nY   The coordinates of the current sample.\n\nW\nH   The width and height of the image.\n\nN   The number of input frame, starting from 0.\n\nExamples\n\n•   High-pass:\n\nfftfilt=dcY=128:weightY='squish(1-(Y+X)/100)'\n\n•   Low-pass:\n\nfftfilt=dcY=0:weightY='squish((Y+X)/100-1)'\n\n•   Sharpen:\n\nfftfilt=dcY=0:weightY='1+squish(1-(Y+X)/100)'\n\n•   Blur:\n\nfftfilt=dcY=0:weightY='exp(-4 * ((Y+X)/(W+H)))'\n"
                },
                {
                    "name": "field",
                    "content": "Extract a single field from an interlaced image using stride arithmetic to avoid wasting CPU\ntime. The output frames are marked as non-interlaced.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "type",
                    "content": "Specify whether to extract the top (if the value is 0 or \"top\") or the bottom field (if\nthe value is 1 or \"bottom\").\n"
                },
                {
                    "name": "fieldhint",
                    "content": "Create new frames by copying the top and bottom fields from surrounding frames supplied as\nnumbers by the hint file.\n"
                },
                {
                    "name": "hint",
                    "content": "Set file containing hints: absolute/relative frame numbers.\n\nThere must be one line for each frame in a clip. Each line must contain two numbers\nseparated by the comma, optionally followed by \"-\" or \"+\".  Numbers supplied on each line\nof file can not be out of [N-1,N+1] where N is current frame number for \"absolute\" mode\nor out of [-1, 1] range for \"relative\" mode. First number tells from which frame to pick\nup top field and second number tells from which frame to pick up bottom field.\n\nIf optionally followed by \"+\" output frame will be marked as interlaced, else if followed\nby \"-\" output frame will be marked as progressive, else it will be marked same as input\nframe.  If optionally followed by \"t\" output frame will use only top field, or in case of\n\"b\" it will use only bottom field.  If line starts with \"#\" or \";\" that line is skipped.\n"
                },
                {
                    "name": "mode",
                    "content": "Can be item \"absolute\" or \"relative\". Default is \"absolute\".\n\nExample of first several lines of \"hint\" file for \"relative\" mode:\n\n0,0 - # first frame\n1,0 - # second frame, use third's frame top field and second's frame bottom field\n1,0 - # third frame, use fourth's frame top field and third's frame bottom field\n1,0 -\n0,0 -\n0,0 -\n1,0 -\n1,0 -\n1,0 -\n0,0 -\n0,0 -\n1,0 -\n1,0 -\n1,0 -\n0,0 -\n"
                },
                {
                    "name": "fieldmatch",
                    "content": "Field matching filter for inverse telecine. It is meant to reconstruct the progressive frames\nfrom a telecined stream. The filter does not drop duplicated frames, so to achieve a complete\ninverse telecine \"fieldmatch\" needs to be followed by a decimation filter such as decimate in\nthe filtergraph.\n\nThe separation of the field matching and the decimation is notably motivated by the\npossibility of inserting a de-interlacing filter fallback between the two.  If the source has\nmixed telecined and real interlaced content, \"fieldmatch\" will not be able to match fields\nfor the interlaced parts.  But these remaining combed frames will be marked as interlaced,\nand thus can be de-interlaced by a later filter such as yadif before decimation.\n\nIn addition to the various configuration options, \"fieldmatch\" can take an optional second\nstream, activated through the ppsrc option. If enabled, the frames reconstruction will be\nbased on the fields and frames from this second stream. This allows the first input to be\npre-processed in order to help the various algorithms of the filter, while keeping the output\nlossless (assuming the fields are matched properly). Typically, a field-aware denoiser, or\nbrightness/contrast adjustments can help.\n\nNote that this filter uses the same algorithms as TIVTC/TFM (AviSynth project) and VIVTC/VFM\n(VapourSynth project). The later is a light clone of TFM from which \"fieldmatch\" is based on.\nWhile the semantic and usage are very close, some behaviour and options names can differ.\n\nThe decimate filter currently only works for constant frame rate input.  If your input has\nmixed telecined (30fps) and progressive content with a lower framerate like 24fps use the\nfollowing filterchain to produce the necessary cfr stream:\n\"dejudder,fps=30000/1001,fieldmatch,decimate\".\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "order",
                    "content": "Specify the assumed field order of the input stream. Available values are:\n\nauto\nAuto detect parity (use FFmpeg's internal parity value).\n\nbff Assume bottom field first.\n\ntff Assume top field first.\n\nNote that it is sometimes recommended not to trust the parity announced by the stream.\n\nDefault value is auto.\n"
                },
                {
                    "name": "mode",
                    "content": "Set the matching mode or strategy to use. pc mode is the safest in the sense that it\nwon't risk creating jerkiness due to duplicate frames when possible, but if there are bad\nedits or blended fields it will end up outputting combed frames when a good match might\nactually exist. On the other hand, pcnub mode is the most risky in terms of creating\njerkiness, but will almost always find a good frame if there is one. The other values are\nall somewhere in between pc and pcnub in terms of risking jerkiness and creating\nduplicate frames versus finding good matches in sections with bad edits, orphaned fields,\nblended fields, etc.\n\nMore details about p/c/n/u/b are available in p/c/n/u/b meaning section.\n\nAvailable values are:\n\npc  2-way matching (p/c)\n\npcn\n2-way matching, and trying 3rd match if still combed (p/c + n)\n\npcu\n2-way matching, and trying 3rd match (same order) if still combed (p/c + u)\n\npcnub\n2-way matching, trying 3rd match if still combed, and trying 4th/5th matches if still\ncombed (p/c + n + u/b)\n\npcn 3-way matching (p/c/n)\n\npcnub\n3-way matching, and trying 4th/5th matches if all 3 of the original matches are\ndetected as combed (p/c/n + u/b)\n\nThe parenthesis at the end indicate the matches that would be used for that mode assuming\norder=tff (and field on auto or top).\n\nIn terms of speed pc mode is by far the fastest and pcnub is the slowest.\n\nDefault value is pcn.\n"
                },
                {
                    "name": "ppsrc",
                    "content": "Mark the main input stream as a pre-processed input, and enable the secondary input\nstream as the clean source to pick the fields from. See the filter introduction for more\ndetails. It is similar to the clip2 feature from VFM/TFM.\n\nDefault value is 0 (disabled).\n"
                },
                {
                    "name": "field",
                    "content": "Set the field to match from. It is recommended to set this to the same value as order\nunless you experience matching failures with that setting. In certain circumstances\nchanging the field that is used to match from can have a large impact on matching\nperformance. Available values are:\n\nauto\nAutomatic (same value as order).\n\nbottom\nMatch from the bottom field.\n\ntop Match from the top field.\n\nDefault value is auto.\n"
                },
                {
                    "name": "mchroma",
                    "content": "Set whether or not chroma is included during the match comparisons. In most cases it is\nrecommended to leave this enabled. You should set this to 0 only if your clip has bad\nchroma problems such as heavy rainbowing or other artifacts. Setting this to 0 could also\nbe used to speed things up at the cost of some accuracy.\n\nDefault value is 1.\n\ny0\ny1  These define an exclusion band which excludes the lines between y0 and y1 from being\nincluded in the field matching decision. An exclusion band can be used to ignore\nsubtitles, a logo, or other things that may interfere with the matching. y0 sets the\nstarting scan line and y1 sets the ending line; all lines in between y0 and y1 (including\ny0 and y1) will be ignored. Setting y0 and y1 to the same value will disable the feature.\ny0 and y1 defaults to 0.\n"
                },
                {
                    "name": "scthresh",
                    "content": "Set the scene change detection threshold as a percentage of maximum change on the luma\nplane. Good values are in the \"[8.0, 14.0]\" range. Scene change detection is only\nrelevant in case combmatch=sc.  The range for scthresh is \"[0.0, 100.0]\".\n\nDefault value is 12.0.\n"
                },
                {
                    "name": "combmatch",
                    "content": "When combatch is not none, \"fieldmatch\" will take into account the combed scores of\nmatches when deciding what match to use as the final match. Available values are:\n\nnone\nNo final matching based on combed scores.\n\nsc  Combed scores are only used when a scene change is detected.\n\nfull\nUse combed scores all the time.\n\nDefault is sc.\n"
                },
                {
                    "name": "combdbg",
                    "content": "Force \"fieldmatch\" to calculate the combed metrics for certain matches and print them.\nThis setting is known as micout in TFM/VFM vocabulary.  Available values are:\n\nnone\nNo forced calculation.\n\npcn Force p/c/n calculations.\n\npcnub\nForce p/c/n/u/b calculations.\n\nDefault value is none.\n"
                },
                {
                    "name": "cthresh",
                    "content": "This is the area combing threshold used for combed frame detection. This essentially\ncontrols how \"strong\" or \"visible\" combing must be to be detected.  Larger values mean\ncombing must be more visible and smaller values mean combing can be less visible or\nstrong and still be detected. Valid settings are from \"-1\" (every pixel will be detected\nas combed) to 255 (no pixel will be detected as combed). This is basically a pixel\ndifference value. A good range is \"[8, 12]\".\n\nDefault value is 9.\n"
                },
                {
                    "name": "chroma",
                    "content": "Sets whether or not chroma is considered in the combed frame decision.  Only disable this\nif your source has chroma problems (rainbowing, etc.) that are causing problems for the\ncombed frame detection with chroma enabled. Actually, using chroma=0 is usually more\nreliable, except for the case where there is chroma only combing in the source.\n\nDefault value is 0.\n"
                },
                {
                    "name": "blockx",
                    "content": ""
                },
                {
                    "name": "blocky",
                    "content": "Respectively set the x-axis and y-axis size of the window used during combed frame\ndetection. This has to do with the size of the area in which combpel pixels are required\nto be detected as combed for a frame to be declared combed. See the combpel parameter\ndescription for more info.  Possible values are any number that is a power of 2 starting\nat 4 and going up to 512.\n\nDefault value is 16.\n"
                },
                {
                    "name": "combpel",
                    "content": "The number of combed pixels inside any of the blocky by blockx size blocks on the frame\nfor the frame to be detected as combed. While cthresh controls how \"visible\" the combing\nmust be, this setting controls \"how much\" combing there must be in any localized area (a\nwindow defined by the blockx and blocky settings) on the frame. Minimum value is 0 and\nmaximum is \"blocky x blockx\" (at which point no frames will ever be detected as combed).\nThis setting is known as MI in TFM/VFM vocabulary.\n\nDefault value is 80.\n\np/c/n/u/b meaning\n\np/c/n\n\nWe assume the following telecined stream:\n\nTop fields:     1 2 2 3 4\nBottom fields:  1 2 3 4 4\n\nThe numbers correspond to the progressive frame the fields relate to. Here, the first two\nframes are progressive, the 3rd and 4th are combed, and so on.\n\nWhen \"fieldmatch\" is configured to run a matching from bottom (field=bottom) this is how this\ninput stream get transformed:\n\nInput stream:\nT     1 2 2 3 4\nB     1 2 3 4 4   <-- matching reference\n\nMatches:              c c n n c\n\nOutput stream:\nT     1 2 3 4 4\nB     1 2 3 4 4\n\nAs a result of the field matching, we can see that some frames get duplicated.  To perform a\ncomplete inverse telecine, you need to rely on a decimation filter after this operation. See\nfor instance the decimate filter.\n\nThe same operation now matching from top fields (field=top) looks like this:\n\nInput stream:\nT     1 2 2 3 4   <-- matching reference\nB     1 2 3 4 4\n\nMatches:              c c p p c\n\nOutput stream:\nT     1 2 2 3 4\nB     1 2 2 3 4\n\nIn these examples, we can see what p, c and n mean; basically, they refer to the frame and\nfield of the opposite parity:\n\n*<p matches the field of the opposite parity in the previous frame>\n*<c matches the field of the opposite parity in the current frame>\n*<n matches the field of the opposite parity in the next frame>\n\nu/b\n\nThe u and b matching are a bit special in the sense that they match from the opposite parity\nflag. In the following examples, we assume that we are currently matching the 2nd frame\n(Top:2, bottom:2). According to the match, a 'x' is placed above and below each matched\nfields.\n\nWith bottom matching (field=bottom):\n\nMatch:           c         p           n          b          u\n\nx       x               x        x          x\nTop          1 2 2     1 2 2       1 2 2      1 2 2      1 2 2\nBottom       1 2 3     1 2 3       1 2 3      1 2 3      1 2 3\nx         x           x        x              x\n\nOutput frames:\n2          1          2          2          2\n2          2          2          1          3\n\nWith top matching (field=top):\n\nMatch:           c         p           n          b          u\n\nx         x           x        x              x\nTop          1 2 2     1 2 2       1 2 2      1 2 2      1 2 2\nBottom       1 2 3     1 2 3       1 2 3      1 2 3      1 2 3\nx       x               x        x          x\n\nOutput frames:\n2          2          2          1          2\n2          1          3          2          2\n\nExamples\n\nSimple IVTC of a top field first telecined stream:\n\nfieldmatch=order=tff:combmatch=none, decimate\n\nAdvanced IVTC, with fallback on yadif for still combed frames:\n\nfieldmatch=order=tff:combmatch=full, yadif=deint=interlaced, decimate\n"
                },
                {
                    "name": "fieldorder",
                    "content": "Transform the field order of the input video.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "order",
                    "content": "The output field order. Valid values are tff for top field first or bff for bottom field\nfirst.\n\nThe default value is tff.\n\nThe transformation is done by shifting the picture content up or down by one line, and\nfilling the remaining line with appropriate picture content.  This method is consistent with\nmost broadcast field order converters.\n\nIf the input video is not flagged as being interlaced, or it is already flagged as being of\nthe required output field order, then this filter does not alter the incoming video.\n\nIt is very useful when converting to or from PAL DV material, which is bottom field first.\n\nFor example:\n\nffmpeg -i in.vob -vf \"fieldorder=bff\" out.dv\n"
                },
                {
                    "name": "fifo, afifo",
                    "content": "Buffer input images and send them when they are requested.\n\nIt is mainly useful when auto-inserted by the libavfilter framework.\n\nIt does not take parameters.\n"
                },
                {
                    "name": "fillborders",
                    "content": "Fill borders of the input video, without changing video stream dimensions.  Sometimes video\ncan have garbage at the four edges and you may not want to crop video input to keep size\nmultiple of some number.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "left",
                    "content": "Number of pixels to fill from left border.\n"
                },
                {
                    "name": "right",
                    "content": "Number of pixels to fill from right border.\n\ntop Number of pixels to fill from top border.\n"
                },
                {
                    "name": "bottom",
                    "content": "Number of pixels to fill from bottom border.\n"
                },
                {
                    "name": "mode",
                    "content": "Set fill mode.\n\nIt accepts the following values:\n\nsmear\nfill pixels using outermost pixels\n\nmirror\nfill pixels using mirroring (half sample symmetric)\n\nfixed\nfill pixels with constant value\n\nreflect\nfill pixels using reflecting (whole sample symmetric)\n\nwrap\nfill pixels using wrapping\n\nfade\nfade pixels to constant value\n\nDefault is smear.\n"
                },
                {
                    "name": "color",
                    "content": "Set color for pixels in fixed or fade mode. Default is black.\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n\nfindrect\nFind a rectangular object\n\nIt accepts the following options:\n"
                },
                {
                    "name": "object",
                    "content": "Filepath of the object image, needs to be in gray8.\n"
                },
                {
                    "name": "threshold",
                    "content": "Detection threshold, default is 0.5.\n"
                },
                {
                    "name": "mipmaps",
                    "content": "Number of mipmaps, default is 3.\n"
                },
                {
                    "name": "xmin, ymin, xmax, ymax",
                    "content": "Specifies the rectangle in which to search.\n\nExamples\n\n•   Cover a rectangular object by the supplied image of a given video using ffmpeg:\n\nffmpeg -i file.ts -vf findrect=newref.pgm,coverrect=cover.jpg:mode=cover new.mkv\n"
                },
                {
                    "name": "floodfill",
                    "content": "Flood area with values of same pixel components with another values.\n\nIt accepts the following options:\n\nx   Set pixel x coordinate.\n\ny   Set pixel y coordinate.\n\ns0  Set source #0 component value.\n\ns1  Set source #1 component value.\n\ns2  Set source #2 component value.\n\ns3  Set source #3 component value.\n\nd0  Set destination #0 component value.\n\nd1  Set destination #1 component value.\n\nd2  Set destination #2 component value.\n\nd3  Set destination #3 component value.\n"
                },
                {
                    "name": "format",
                    "content": "Convert the input video to one of the specified pixel formats.  Libavfilter will try to pick\none that is suitable as input to the next filter.\n\nIt accepts the following parameters:\n\npixfmts\nA '|'-separated list of pixel format names, such as \"pixfmts=yuv420p|monow|rgb24\".\n\nExamples\n\n•   Convert the input video to the yuv420p format\n\nformat=pixfmts=yuv420p\n\nConvert the input video to any of the formats in the list\n\nformat=pixfmts=yuv420p|yuv444p|yuv410p\n"
                },
                {
                    "name": "fps",
                    "content": "Convert the video to specified constant frame rate by duplicating or dropping frames as\nnecessary.\n\nIt accepts the following parameters:\n\nfps The desired output frame rate. The default is 25.\n\nstarttime\nAssume the first PTS should be the given value, in seconds. This allows for\npadding/trimming at the start of stream. By default, no assumption is made about the\nfirst frame's expected PTS, so no padding or trimming is done.  For example, this could\nbe set to 0 to pad the beginning with duplicates of the first frame if a video stream\nstarts after the audio stream or to trim any frames with a negative PTS.\n"
                },
                {
                    "name": "round",
                    "content": "Timestamp (PTS) rounding method.\n\nPossible values are:\n\nzero\nround towards 0\n\ninf round away from 0\n\ndown\nround towards -infinity\n\nup  round towards +infinity\n\nnear\nround to nearest\n\nThe default is \"near\".\n\neofaction\nAction performed when reading the last frame.\n\nPossible values are:\n\nround\nUse same timestamp rounding method as used for other frames.\n\npass\nPass through last frame if input duration has not been reached yet.\n\nThe default is \"round\".\n\nAlternatively, the options can be specified as a flat string: fps[:starttime[:round]].\n\nSee also the setpts filter.\n\nExamples\n\n•   A typical usage in order to set the fps to 25:\n\nfps=fps=25\n\n•   Sets the fps to 24, using abbreviation and rounding method to round to nearest:\n\nfps=fps=film:round=near\n"
                },
                {
                    "name": "framepack",
                    "content": "Pack two different video streams into a stereoscopic video, setting proper metadata on\nsupported codecs. The two views should have the same size and framerate and processing will\nstop when the shorter video ends. Please note that you may conveniently adjust view\nproperties with the scale and fps filters.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "format",
                    "content": "The desired packing format. Supported values are:\n\nsbs The views are next to each other (default).\n\ntab The views are on top of each other.\n\nlines\nThe views are packed by line.\n\ncolumns\nThe views are packed by column.\n\nframeseq\nThe views are temporally interleaved.\n\nSome examples:\n\n# Convert left and right views into a frame-sequential video\nffmpeg -i LEFT -i RIGHT -filtercomplex framepack=frameseq OUTPUT\n\n# Convert views into a side-by-side video with the same output resolution as the input\nffmpeg -i LEFT -i RIGHT -filtercomplex [0:v]scale=w=iw/2[left],[1:v]scale=w=iw/2[right],[left][right]framepack=sbs OUTPUT\n"
                },
                {
                    "name": "framerate",
                    "content": "Change the frame rate by interpolating new video output frames from the source frames.\n\nThis filter is not designed to function correctly with interlaced media. If you wish to\nchange the frame rate of interlaced media then you are required to deinterlace before this\nfilter and re-interlace after this filter.\n\nA description of the accepted options follows.\n\nfps Specify the output frames per second. This option can also be specified as a value alone.\nThe default is 50.\n\ninterpstart\nSpecify the start of a range where the output frame will be created as a linear\ninterpolation of two frames. The range is [0-255], the default is 15.\n\ninterpend\nSpecify the end of a range where the output frame will be created as a linear\ninterpolation of two frames. The range is [0-255], the default is 240.\n"
                },
                {
                    "name": "scene",
                    "content": "Specify the level at which a scene change is detected as a value between 0 and 100 to\nindicate a new scene; a low value reflects a low probability for the current frame to\nintroduce a new scene, while a higher value means the current frame is more likely to be\none.  The default is 8.2.\n"
                },
                {
                    "name": "flags",
                    "content": "Specify flags influencing the filter process.\n\nAvailable value for flags is:\n\nscenechangedetect, scd\nEnable scene change detection using the value of the option scene.  This flag is\nenabled by default.\n"
                },
                {
                    "name": "framestep",
                    "content": "Select one frame every N-th frame.\n\nThis filter accepts the following option:\n"
                },
                {
                    "name": "step",
                    "content": "Select frame after every \"step\" frames.  Allowed values are positive integers higher than\n0. Default value is 1.\n"
                },
                {
                    "name": "freezedetect",
                    "content": "Detect frozen video.\n\nThis filter logs a message and sets frame metadata when it detects that the input video has\nno significant change in content during a specified duration.  Video freeze detection\ncalculates the mean average absolute difference of all the components of video frames and\ncompares it to a noise floor.\n\nThe printed times and duration are expressed in seconds. The\n\"lavfi.freezedetect.freezestart\" metadata key is set on the first frame whose timestamp\nequals or exceeds the detection duration and it contains the timestamp of the first frame of\nthe freeze. The \"lavfi.freezedetect.freezeduration\" and \"lavfi.freezedetect.freezeend\"\nmetadata keys are set on the first frame after the freeze.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "noise, n",
                    "content": "Set noise tolerance. Can be specified in dB (in case \"dB\" is appended to the specified\nvalue) or as a difference ratio between 0 and 1. Default is -60dB, or 0.001.\n"
                },
                {
                    "name": "duration, d",
                    "content": "Set freeze duration until notification (default is 2 seconds).\n"
                },
                {
                    "name": "freezeframes",
                    "content": "Freeze video frames.\n\nThis filter freezes video frames using frame from 2nd input.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "first",
                    "content": "Set number of first frame from which to start freeze.\n"
                },
                {
                    "name": "last",
                    "content": "Set number of last frame from which to end freeze.\n"
                },
                {
                    "name": "replace",
                    "content": "Set number of frame from 2nd input which will be used instead of replaced frames.\n"
                },
                {
                    "name": "frei0r",
                    "content": "Apply a frei0r effect to the input video.\n\nTo enable the compilation of this filter, you need to install the frei0r header and configure\nFFmpeg with \"--enable-frei0r\".\n\nIt accepts the following parameters:\n\nfiltername\nThe name of the frei0r effect to load. If the environment variable FREI0RPATH is\ndefined, the frei0r effect is searched for in each of the directories specified by the\ncolon-separated list in FREI0RPATH.  Otherwise, the standard frei0r paths are searched,\nin this order: HOME/.frei0r-1/lib/, /usr/local/lib/frei0r-1/, /usr/lib/frei0r-1/.\n\nfilterparams\nA '|'-separated list of parameters to pass to the frei0r effect.\n\nA frei0r effect parameter can be a boolean (its value is either \"y\" or \"n\"), a double, a\ncolor (specified as R/G/B, where R, G, and B are floating point numbers between 0.0 and 1.0,\ninclusive) or a color description as specified in the \"Color\" section in the ffmpeg-utils\nmanual, a position (specified as X/Y, where X and Y are floating point numbers) and/or a\nstring.\n\nThe number and types of parameters depend on the loaded effect. If an effect parameter is not\nspecified, the default value is set.\n\nExamples\n\n•   Apply the distort0r effect, setting the first two double parameters:\n\nfrei0r=filtername=distort0r:filterparams=0.5|0.01\n\n•   Apply the colordistance effect, taking a color as the first parameter:\n\nfrei0r=colordistance:0.2/0.3/0.4\nfrei0r=colordistance:violet\nfrei0r=colordistance:0x112233\n\n•   Apply the perspective effect, specifying the top left and top right image positions:\n\nfrei0r=perspective:0.2/0.2|0.8/0.2\n\nFor more information, see <http://frei0r.dyne.org>\n\nCommands\n\nThis filter supports the filterparams option as commands.\n"
                },
                {
                    "name": "fspp",
                    "content": "Apply fast and simple postprocessing. It is a faster version of spp.\n\nIt splits (I)DCT into horizontal/vertical passes. Unlike the simple post- processing filter,\none of them is performed once per block, not per pixel.  This allows for much higher speed.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "quality",
                    "content": "Set quality. This option defines the number of levels for averaging. It accepts an\ninteger in the range 4-5. Default value is 4.\n\nqp  Force a constant quantization parameter. It accepts an integer in range 0-63.  If not\nset, the filter will use the QP from the video stream (if available).\n"
                },
                {
                    "name": "strength",
                    "content": "Set filter strength. It accepts an integer in range -15 to 32. Lower values mean more\ndetails but also more artifacts, while higher values make the image smoother but also\nblurrier. Default value is 0 X PSNR optimal.\n\nusebframeqp\nEnable the use of the QP from the B-Frames if set to 1. Using this option may cause\nflicker since the B-Frames have often larger QP. Default is 0 (not enabled).\n"
                },
                {
                    "name": "gblur",
                    "content": "Apply Gaussian blur filter.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "sigma",
                    "content": "Set horizontal sigma, standard deviation of Gaussian blur. Default is 0.5.\n"
                },
                {
                    "name": "steps",
                    "content": "Set number of steps for Gaussian approximation. Default is 1.\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to filter. By default all planes are filtered.\n"
                },
                {
                    "name": "sigmaV",
                    "content": "Set vertical sigma, if negative it will be same as \"sigma\".  Default is \"-1\".\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "geq",
                    "content": "Apply generic equation to each pixel.\n\nThe filter accepts the following options:\n\nlumexpr, lum\nSet the luminance expression.\n\ncbexpr, cb\nSet the chrominance blue expression.\n\ncrexpr, cr\nSet the chrominance red expression.\n\nalphaexpr, a\nSet the alpha expression.\n\nredexpr, r\nSet the red expression.\n\ngreenexpr, g\nSet the green expression.\n\nblueexpr, b\nSet the blue expression.\n\nThe colorspace is selected according to the specified options. If one of the lumexpr,\ncbexpr, or crexpr options is specified, the filter will automatically select a YCbCr\ncolorspace. If one of the redexpr, greenexpr, or blueexpr options is specified, it will\nselect an RGB colorspace.\n\nIf one of the chrominance expression is not defined, it falls back on the other one. If no\nalpha expression is specified it will evaluate to opaque value.  If none of chrominance\nexpressions are specified, they will evaluate to the luminance expression.\n\nThe expressions can use the following variables and functions:\n\nN   The sequential number of the filtered frame, starting from 0.\n\nX\nY   The coordinates of the current sample.\n\nW\nH   The width and height of the image.\n\nSW\nSH  Width and height scale depending on the currently filtered plane. It is the ratio between\nthe corresponding luma plane number of pixels and the current plane ones. E.g. for\nYUV4:2:0 the values are \"1,1\" for the luma plane, and \"0.5,0.5\" for chroma planes.\n\nT   Time of the current frame, expressed in seconds.\n"
                },
                {
                    "name": "p(x, y)",
                    "content": "Return the value of the pixel at location (x,y) of the current plane.\n"
                },
                {
                    "name": "lum(x, y)",
                    "content": "Return the value of the pixel at location (x,y) of the luminance plane.\n"
                },
                {
                    "name": "cb(x, y)",
                    "content": "Return the value of the pixel at location (x,y) of the blue-difference chroma plane.\nReturn 0 if there is no such plane.\n"
                },
                {
                    "name": "cr(x, y)",
                    "content": "Return the value of the pixel at location (x,y) of the red-difference chroma plane.\nReturn 0 if there is no such plane.\n"
                },
                {
                    "name": "r(x, y)",
                    "content": ""
                },
                {
                    "name": "g(x, y)",
                    "content": ""
                },
                {
                    "name": "b(x, y)",
                    "content": "Return the value of the pixel at location (x,y) of the red/green/blue component. Return 0\nif there is no such component.\n"
                },
                {
                    "name": "alpha(x, y)",
                    "content": "Return the value of the pixel at location (x,y) of the alpha plane. Return 0 if there is\nno such plane.\n"
                },
                {
                    "name": "psum(x,y), lumsum(x, y), cbsum(x,y), crsum(x,y), rsum(x,y), gsum(x,y), bsum(x,y),",
                    "content": ""
                },
                {
                    "name": "alphasum(x,y)",
                    "content": "Sum of sample values in the rectangle from (0,0) to (x,y), this allows obtaining sums of\nsamples within a rectangle. See the functions without the sum postfix.\n"
                },
                {
                    "name": "interpolation",
                    "content": "Set one of interpolation methods:\n\nnearest, n\nbilinear, b\n\nDefault is bilinear.\n\nFor functions, if x and y are outside the area, the value will be automatically clipped to\nthe closer edge.\n\nPlease note that this filter can use multiple threads in which case each slice will have its\nown expression state. If you want to use only a single expression state because your\nexpressions depend on previous state then you should limit the number of filter threads to 1.\n\nExamples\n\n•   Flip the image horizontally:\n\ngeq=p(W-X\\,Y)\n\n•   Generate a bidimensional sine wave, with angle \"PI/3\" and a wavelength of 100 pixels:\n\ngeq=128 + 100*sin(2*(PI/100)*(cos(PI/3)*(X-50*T) + sin(PI/3)*Y)):128:128\n\n•   Generate a fancy enigmatic moving light:\n\nnullsrc=s=256x256,geq=random(1)/hypot(X-cos(N*0.07)*W/2-W/2\\,Y-sin(N*0.09)*H/2-H/2)^2*1000000*sin(N*0.02):128:128\n\n•   Generate a quick emboss effect:\n\nformat=gray,geq=lumexpr='(p(X,Y)+(256-p(X-4,Y-4)))/2'\n\n•   Modify RGB components depending on pixel position:\n\ngeq=r='X/W*r(X,Y)':g='(1-X/W)*g(X,Y)':b='(H-Y)/H*b(X,Y)'\n\n•   Create a radial gradient that is the same size as the input (also see the vignette\nfilter):\n\ngeq=lum=255*gauss((X/W-0.5)*3)*gauss((Y/H-0.5)*3)/gauss(0)/gauss(0),format=gray\n"
                },
                {
                    "name": "gradfun",
                    "content": "Fix the banding artifacts that are sometimes introduced into nearly flat regions by\ntruncation to 8-bit color depth.  Interpolate the gradients that should go where the bands\nare, and dither them.\n\nIt is designed for playback only.  Do not use it prior to lossy compression, because\ncompression tends to lose the dither and bring back the bands.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "strength",
                    "content": "The maximum amount by which the filter will change any one pixel. This is also the\nthreshold for detecting nearly flat regions. Acceptable values range from .51 to 64; the\ndefault value is 1.2. Out-of-range values will be clipped to the valid range.\n"
                },
                {
                    "name": "radius",
                    "content": "The neighborhood to fit the gradient to. A larger radius makes for smoother gradients,\nbut also prevents the filter from modifying the pixels near detailed regions. Acceptable\nvalues are 8-32; the default value is 16. Out-of-range values will be clipped to the\nvalid range.\n\nAlternatively, the options can be specified as a flat string: strength[:radius]\n\nExamples\n\n•   Apply the filter with a 3.5 strength and radius of 8:\n\ngradfun=3.5:8\n\n•   Specify radius, omitting the strength (which will fall-back to the default value):\n\ngradfun=radius=8\n"
                },
                {
                    "name": "graphmonitor",
                    "content": "Show various filtergraph stats.\n\nWith this filter one can debug complete filtergraph.  Especially issues with links filling\nwith queued frames.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "size, s",
                    "content": "Set video output size. Default is hd720.\n"
                },
                {
                    "name": "opacity, o",
                    "content": "Set video opacity. Default is 0.9. Allowed range is from 0 to 1.\n"
                },
                {
                    "name": "mode, m",
                    "content": "Set output mode, can be fulll or compact.  In compact mode only filters with some queued\nframes have displayed stats.\n"
                },
                {
                    "name": "flags, f",
                    "content": "Set flags which enable which stats are shown in video.\n\nAvailable values for flags are:\n\nqueue\nDisplay number of queued frames in each link.\n\nframecountin\nDisplay number of frames taken from filter.\n\nframecountout\nDisplay number of frames given out from filter.\n\npts Display current filtered frame pts.\n\ntime\nDisplay current filtered frame time.\n\ntimebase\nDisplay time base for filter link.\n\nformat\nDisplay used format for filter link.\n\nsize\nDisplay video size or number of audio channels in case of audio used by filter link.\n\nrate\nDisplay video frame rate or sample rate in case of audio used by filter link.\n\neof Display link output status.\n"
                },
                {
                    "name": "rate, r",
                    "content": "Set upper limit for video rate of output stream, Default value is 25.  This guarantee\nthat output video frame rate will not be higher than this value.\n"
                },
                {
                    "name": "greyedge",
                    "content": "A color constancy variation filter which estimates scene illumination via grey edge algorithm\nand corrects the scene colors accordingly.\n\nSee: <https://staff.science.uva.nl/th.gevers/pub/GeversTIP07.pdf>\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "difford",
                    "content": "The order of differentiation to be applied on the scene. Must be chosen in the range\n[0,2] and default value is 1.\n"
                },
                {
                    "name": "minknorm",
                    "content": "The Minkowski parameter to be used for calculating the Minkowski distance. Must be chosen\nin the range [0,20] and default value is 1. Set to 0 for getting max value instead of\ncalculating Minkowski distance.\n"
                },
                {
                    "name": "sigma",
                    "content": "The standard deviation of Gaussian blur to be applied on the scene. Must be chosen in the\nrange [0,1024.0] and default value = 1. floor( sigma * breakoffsigma(3) ) can't be\nequal to 0 if difford is greater than 0.\n\nExamples\n\n•   Grey Edge:\n\ngreyedge=difford=1:minknorm=5:sigma=2\n\n•   Max Edge:\n\ngreyedge=difford=1:minknorm=0:sigma=2\n"
                },
                {
                    "name": "haldclut",
                    "content": "Apply a Hald CLUT to a video stream.\n\nFirst input is the video stream to process, and second one is the Hald CLUT.  The Hald CLUT\ninput can be a simple picture or a complete video stream.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "shortest",
                    "content": "Force termination when the shortest input terminates. Default is 0.\n"
                },
                {
                    "name": "repeatlast",
                    "content": "Continue applying the last CLUT after the end of the stream. A value of 0 disable the\nfilter after the last frame of the CLUT is reached.  Default is 1.\n\n\"haldclut\" also has the same interpolation options as lut3d (both filters share the same\ninternals).\n\nThis filter also supports the framesync options.\n\nMore information about the Hald CLUT can be found on Eskil Steenberg's website (Hald CLUT\nauthor) at <http://www.quelsolaar.com/technology/clut.html>.\n\nCommands\n\nThis filter supports the \"interp\" option as commands.\n\nWorkflow examples\n\nHald CLUT video stream\n\nGenerate an identity Hald CLUT stream altered with various effects:\n\nffmpeg -f lavfi -i B<haldclutsrc>=8 -vf \"hue=H=2*PI*t:s=sin(2*PI*t)+1, curves=crossprocess\" -t 10 -c:v ffv1 clut.nut\n\nNote: make sure you use a lossless codec.\n\nThen use it with \"haldclut\" to apply it on some random stream:\n\nffmpeg -f lavfi -i mandelbrot -i clut.nut -filtercomplex '[0][1] haldclut' -t 20 mandelclut.mkv\n\nThe Hald CLUT will be applied to the 10 first seconds (duration of clut.nut), then the latest\npicture of that CLUT stream will be applied to the remaining frames of the \"mandelbrot\"\nstream.\n\nHald CLUT with preview\n\nA Hald CLUT is supposed to be a squared image of \"Level*Level*Level\" by \"Level*Level*Level\"\npixels. For a given Hald CLUT, FFmpeg will select the biggest possible square starting at the\ntop left of the picture. The remaining padding pixels (bottom or right) will be ignored. This\narea can be used to add a preview of the Hald CLUT.\n\nTypically, the following generated Hald CLUT will be supported by the \"haldclut\" filter:\n\nffmpeg -f lavfi -i B<haldclutsrc>=8 -vf \"\npad=iw+320 [paddedclut];\nsmptebars=s=320x256, split [a][b];\n[paddedclut][a] overlay=W-320:h, curves=colornegative [main];\n[main][b] overlay=W-320\" -frames:v 1 clut.png\n\nIt contains the original and a preview of the effect of the CLUT: SMPTE color bars are\ndisplayed on the right-top, and below the same color bars processed by the color changes.\n\nThen, the effect of this Hald CLUT can be visualized with:\n\nffplay input.mkv -vf \"movie=clut.png, [in] haldclut\"\n"
                },
                {
                    "name": "hflip",
                    "content": "Flip the input video horizontally.\n\nFor example, to horizontally flip the input video with ffmpeg:\n\nffmpeg -i in.avi -vf \"hflip\" out.avi\n"
                },
                {
                    "name": "histeq",
                    "content": "This filter applies a global color histogram equalization on a per-frame basis.\n\nIt can be used to correct video that has a compressed range of pixel intensities.  The filter\nredistributes the pixel intensities to equalize their distribution across the intensity\nrange. It may be viewed as an \"automatically adjusting contrast filter\". This filter is\nuseful only for correcting degraded or poorly captured source video.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "strength",
                    "content": "Determine the amount of equalization to be applied.  As the strength is reduced, the\ndistribution of pixel intensities more-and-more approaches that of the input frame. The\nvalue must be a float number in the range [0,1] and defaults to 0.200.\n"
                },
                {
                    "name": "intensity",
                    "content": "Set the maximum intensity that can generated and scale the output values appropriately.\nThe strength should be set as desired and then the intensity can be limited if needed to\navoid washing-out. The value must be a float number in the range [0,1] and defaults to\n0.210.\n"
                },
                {
                    "name": "antibanding",
                    "content": "Set the antibanding level. If enabled the filter will randomly vary the luminance of\noutput pixels by a small amount to avoid banding of the histogram. Possible values are\n\"none\", \"weak\" or \"strong\". It defaults to \"none\".\n"
                },
                {
                    "name": "histogram",
                    "content": "Compute and draw a color distribution histogram for the input video.\n\nThe computed histogram is a representation of the color component distribution in an image.\n\nStandard histogram displays the color components distribution in an image.  Displays color\ngraph for each color component. Shows distribution of the Y, U, V, A or R, G, B components,\ndepending on input format, in the current frame. Below each graph a color component scale\nmeter is shown.\n\nThe filter accepts the following options:\n\nlevelheight\nSet height of level. Default value is 200.  Allowed range is [50, 2048].\n\nscaleheight\nSet height of color scale. Default value is 12.  Allowed range is [0, 40].\n\ndisplaymode\nSet display mode.  It accepts the following values:\n\nstack\nPer color component graphs are placed below each other.\n\nparade\nPer color component graphs are placed side by side.\n\noverlay\nPresents information identical to that in the \"parade\", except that the graphs\nrepresenting color components are superimposed directly over one another.\n\nDefault is \"stack\".\n\nlevelsmode\nSet mode. Can be either \"linear\", or \"logarithmic\".  Default is \"linear\".\n"
                },
                {
                    "name": "components",
                    "content": "Set what color components to display.  Default is 7.\n"
                },
                {
                    "name": "fgopacity",
                    "content": "Set foreground opacity. Default is 0.7.\n"
                },
                {
                    "name": "bgopacity",
                    "content": "Set background opacity. Default is 0.5.\n\nExamples\n\n•   Calculate and draw histogram:\n\nffplay -i input -vf histogram\n"
                },
                {
                    "name": "hqdn3d",
                    "content": "This is a high precision/quality 3d denoise filter. It aims to reduce image noise, producing\nsmooth images and making still images really still. It should enhance compressibility.\n\nIt accepts the following optional parameters:\n\nlumaspatial\nA non-negative floating point number which specifies spatial luma strength.  It defaults\nto 4.0.\n\nchromaspatial\nA non-negative floating point number which specifies spatial chroma strength.  It\ndefaults to 3.0*lumaspatial/4.0.\n\nlumatmp\nA floating point number which specifies luma temporal strength. It defaults to\n6.0*lumaspatial/4.0.\n\nchromatmp\nA floating point number which specifies chroma temporal strength. It defaults to\nlumatmp*chromaspatial/lumaspatial.\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "hwdownload",
                    "content": "Download hardware frames to system memory.\n\nThe input must be in hardware frames, and the output a non-hardware format.  Not all formats\nwill be supported on the output - it may be necessary to insert an additional format filter\nimmediately following in the graph to get the output in a supported format.\n"
                },
                {
                    "name": "hwmap",
                    "content": "Map hardware frames to system memory or to another device.\n\nThis filter has several different modes of operation; which one is used depends on the input\nand output formats:\n\n•   Hardware frame input, normal frame output\n\nMap the input frames to system memory and pass them to the output.  If the original\nhardware frame is later required (for example, after overlaying something else on part of\nit), the hwmap filter can be used again in the next mode to retrieve it.\n\n•   Normal frame input, hardware frame output\n\nIf the input is actually a software-mapped hardware frame, then unmap it - that is,\nreturn the original hardware frame.\n\nOtherwise, a device must be provided.  Create new hardware surfaces on that device for\nthe output, then map them back to the software format at the input and give those frames\nto the preceding filter.  This will then act like the hwupload filter, but may be able to\navoid an additional copy when the input is already in a compatible format.\n\n•   Hardware frame input and output\n\nA device must be supplied for the output, either directly or with the derivedevice\noption.  The input and output devices must be of different types and compatible - the\nexact meaning of this is system-dependent, but typically it means that they must refer to\nthe same underlying hardware context (for example, refer to the same graphics card).\n\nIf the input frames were originally created on the output device, then unmap to retrieve\nthe original frames.\n\nOtherwise, map the frames to the output device - create new hardware frames on the output\ncorresponding to the frames on the input.\n\nThe following additional parameters are accepted:\n"
                },
                {
                    "name": "mode",
                    "content": "Set the frame mapping mode.  Some combination of:\n\nread\nThe mapped frame should be readable.\n\nwrite\nThe mapped frame should be writeable.\n\noverwrite\nThe mapping will always overwrite the entire frame.\n\nThis may improve performance in some cases, as the original contents of the frame\nneed not be loaded.\n\ndirect\nThe mapping must not involve any copying.\n\nIndirect mappings to copies of frames are created in some cases where either direct\nmapping is not possible or it would have unexpected properties.  Setting this flag\nensures that the mapping is direct and will fail if that is not possible.\n\nDefaults to read+write if not specified.\n\nderivedevice type\nRather than using the device supplied at initialisation, instead derive a new device of\ntype type from the device the input frames exist on.\n"
                },
                {
                    "name": "reverse",
                    "content": "In a hardware to hardware mapping, map in reverse - create frames in the sink and map\nthem back to the source.  This may be necessary in some cases where a mapping in one\ndirection is required but only the opposite direction is supported by the devices being\nused.\n\nThis option is dangerous - it may break the preceding filter in undefined ways if there\nare any additional constraints on that filter's output.  Do not use it without fully\nunderstanding the implications of its use.\n"
                },
                {
                    "name": "hwupload",
                    "content": "Upload system memory frames to hardware surfaces.\n\nThe device to upload to must be supplied when the filter is initialised.  If using ffmpeg,\nselect the appropriate device with the -filterhwdevice option or with the derivedevice\noption.  The input and output devices must be of different types and compatible - the exact\nmeaning of this is system-dependent, but typically it means that they must refer to the same\nunderlying hardware context (for example, refer to the same graphics card).\n\nThe following additional parameters are accepted:\n\nderivedevice type\nRather than using the device supplied at initialisation, instead derive a new device of\ntype type from the device the input frames exist on.\n\nhwuploadcuda\nUpload system memory frames to a CUDA device.\n\nIt accepts the following optional parameters:\n"
                },
                {
                    "name": "device",
                    "content": "The number of the CUDA device to use\n"
                },
                {
                    "name": "hqx",
                    "content": "Apply a high-quality magnification filter designed for pixel art. This filter was originally\ncreated by Maxim Stepin.\n\nIt accepts the following option:\n\nn   Set the scaling dimension: 2 for \"hq2x\", 3 for \"hq3x\" and 4 for \"hq4x\".  Default is 3.\n"
                },
                {
                    "name": "hstack",
                    "content": "Stack input videos horizontally.\n\nAll streams must be of same pixel format and of same height.\n\nNote that this filter is faster than using overlay and pad filter to create same output.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "inputs",
                    "content": "Set number of input streams. Default is 2.\n"
                },
                {
                    "name": "shortest",
                    "content": "If set to 1, force the output to terminate when the shortest input terminates. Default\nvalue is 0.\n"
                },
                {
                    "name": "hue",
                    "content": "Modify the hue and/or the saturation of the input.\n\nIt accepts the following parameters:\n\nh   Specify the hue angle as a number of degrees. It accepts an expression, and defaults to\n\"0\".\n\ns   Specify the saturation in the [-10,10] range. It accepts an expression and defaults to\n\"1\".\n\nH   Specify the hue angle as a number of radians. It accepts an expression, and defaults to\n\"0\".\n\nb   Specify the brightness in the [-10,10] range. It accepts an expression and defaults to\n\"0\".\n\nh and H are mutually exclusive, and can't be specified at the same time.\n\nThe b, h, H and s option values are expressions containing the following constants:\n\nn   frame count of the input frame starting from 0\n\npts presentation timestamp of the input frame expressed in time base units\n\nr   frame rate of the input video, NAN if the input frame rate is unknown\n\nt   timestamp expressed in seconds, NAN if the input timestamp is unknown\n\ntb  time base of the input video\n\nExamples\n\n•   Set the hue to 90 degrees and the saturation to 1.0:\n\nhue=h=90:s=1\n\n•   Same command but expressing the hue in radians:\n\nhue=H=PI/2:s=1\n\n•   Rotate hue and make the saturation swing between 0 and 2 over a period of 1 second:\n\nhue=\"H=2*PI*t: s=sin(2*PI*t)+1\"\n\n•   Apply a 3 seconds saturation fade-in effect starting at 0:\n\nhue=\"s=min(t/3\\,1)\"\n\nThe general fade-in expression can be written as:\n\nhue=\"s=min(0\\, max((t-START)/DURATION\\, 1))\"\n\n•   Apply a 3 seconds saturation fade-out effect starting at 5 seconds:\n\nhue=\"s=max(0\\, min(1\\, (8-t)/3))\"\n\nThe general fade-out expression can be written as:\n\nhue=\"s=max(0\\, min(1\\, (START+DURATION-t)/DURATION))\"\n\nCommands\n\nThis filter supports the following commands:\n\nb\ns\nh\nH   Modify the hue and/or the saturation and/or brightness of the input video.  The command\naccepts the same syntax of the corresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "hysteresis",
                    "content": "Grow first stream into second stream by connecting components.  This makes it possible to\nbuild more robust edge masks.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes will be processed as bitmap, unprocessed planes will be copied from\nfirst stream.  By default value 0xf, all planes will be processed.\n"
                },
                {
                    "name": "threshold",
                    "content": "Set threshold which is used in filtering. If pixel component value is higher than this\nvalue filter algorithm for connecting components is activated.  By default value is 0.\n\nThe \"hysteresis\" filter also supports the framesync options.\n"
                },
                {
                    "name": "identity",
                    "content": "Obtain the identity score between two input videos.\n\nThis filter takes two input videos.\n\nBoth input videos must have the same resolution and pixel format for this filter to work\ncorrectly. Also it assumes that both inputs have the same number of frames, which are\ncompared one by one.\n\nThe obtained per component, average, min and max identity score is printed through the\nlogging system.\n\nThe filter stores the calculated identity scores of each frame in frame metadata.\n\nIn the below example the input file main.mpg being processed is compared with the reference\nfile ref.mpg.\n\nffmpeg -i main.mpg -i ref.mpg -lavfi identity -f null -\n"
                },
                {
                    "name": "idet",
                    "content": "Detect video interlacing type.\n\nThis filter tries to detect if the input frames are interlaced, progressive, top or bottom\nfield first. It will also try to detect fields that are repeated between adjacent frames (a\nsign of telecine).\n\nSingle frame detection considers only immediately adjacent frames when classifying each\nframe.  Multiple frame detection incorporates the classification history of previous frames.\n\nThe filter will log these metadata values:\n\nsingle.currentframe\nDetected type of current frame using single-frame detection. One of: ``tff'' (top field\nfirst), ``bff'' (bottom field first), ``progressive'', or ``undetermined''\n"
                },
                {
                    "name": "single.tff",
                    "content": "Cumulative number of frames detected as top field first using single-frame detection.\n"
                },
                {
                    "name": "multiple.tff",
                    "content": "Cumulative number of frames detected as top field first using multiple-frame detection.\n"
                },
                {
                    "name": "single.bff",
                    "content": "Cumulative number of frames detected as bottom field first using single-frame detection.\n\nmultiple.currentframe\nDetected type of current frame using multiple-frame detection. One of: ``tff'' (top field\nfirst), ``bff'' (bottom field first), ``progressive'', or ``undetermined''\n"
                },
                {
                    "name": "multiple.bff",
                    "content": "Cumulative number of frames detected as bottom field first using multiple-frame\ndetection.\n"
                },
                {
                    "name": "single.progressive",
                    "content": "Cumulative number of frames detected as progressive using single-frame detection.\n"
                },
                {
                    "name": "multiple.progressive",
                    "content": "Cumulative number of frames detected as progressive using multiple-frame detection.\n"
                },
                {
                    "name": "single.undetermined",
                    "content": "Cumulative number of frames that could not be classified using single-frame detection.\n"
                },
                {
                    "name": "multiple.undetermined",
                    "content": "Cumulative number of frames that could not be classified using multiple-frame detection.\n\nrepeated.currentframe\nWhich field in the current frame is repeated from the last. One of ``neither'', ``top'',\nor ``bottom''.\n"
                },
                {
                    "name": "repeated.neither",
                    "content": "Cumulative number of frames with no repeated field.\n"
                },
                {
                    "name": "repeated.top",
                    "content": "Cumulative number of frames with the top field repeated from the previous frame's top\nfield.\n"
                },
                {
                    "name": "repeated.bottom",
                    "content": "Cumulative number of frames with the bottom field repeated from the previous frame's\nbottom field.\n\nThe filter accepts the following options:\n\nintlthres\nSet interlacing threshold.\n\nprogthres\nSet progressive threshold.\n\nrepthres\nThreshold for repeated field detection.\n\nhalflife\nNumber of frames after which a given frame's contribution to the statistics is halved\n(i.e., it contributes only 0.5 to its classification). The default of 0 means that all\nframes seen are given full weight of 1.0 forever.\n\nanalyzeinterlacedflag\nWhen this is not 0 then idet will use the specified number of frames to determine if the\ninterlaced flag is accurate, it will not count undetermined frames.  If the flag is found\nto be accurate it will be used without any further computations, if it is found to be\ninaccurate it will be cleared without any further computations. This allows inserting the\nidet filter as a low computational method to clean up the interlaced flag\n\nil\nDeinterleave or interleave fields.\n\nThis filter allows one to process interlaced images fields without deinterlacing them.\nDeinterleaving splits the input frame into 2 fields (so called half pictures). Odd lines are\nmoved to the top half of the output image, even lines to the bottom half.  You can process\n(filter) them independently and then re-interleave them.\n\nThe filter accepts the following options:\n\nlumamode, l\nchromamode, c\nalphamode, a\nAvailable values for lumamode, chromamode and alphamode are:\n\nnone\nDo nothing.\n\ndeinterleave, d\nDeinterleave fields, placing one above the other.\n\ninterleave, i\nInterleave fields. Reverse the effect of deinterleaving.\n\nDefault value is \"none\".\n\nlumaswap, ls\nchromaswap, cs\nalphaswap, as\nSwap luma/chroma/alpha fields. Exchange even & odd lines. Default value is 0.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "inflate",
                    "content": "Apply inflate effect to the video.\n\nThis filter replaces the pixel by the local(3x3) average by taking into account only values\nhigher than the pixel.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "threshold0",
                    "content": ""
                },
                {
                    "name": "threshold1",
                    "content": ""
                },
                {
                    "name": "threshold2",
                    "content": ""
                },
                {
                    "name": "threshold3",
                    "content": "Limit the maximum change for each plane, default is 65535.  If 0, plane will remain\nunchanged.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "interlace",
                    "content": "Simple interlacing filter from progressive contents. This interleaves upper (or lower) lines\nfrom odd frames with lower (or upper) lines from even frames, halving the frame rate and\npreserving image height.\n\nOriginal        Original             New Frame\nFrame 'j'      Frame 'j+1'             (tff)\n==========      ===========       ==================\nLine 0  -------------------->    Frame 'j' Line 0\nLine 1          Line 1  ---->   Frame 'j+1' Line 1\nLine 2 --------------------->    Frame 'j' Line 2\nLine 3          Line 3  ---->   Frame 'j+1' Line 3\n...             ...                   ...\nNew Frame + 1 will be generated by Frame 'j+2' and Frame 'j+3' and so on\n\nIt accepts the following optional parameters:\n"
                },
                {
                    "name": "scan",
                    "content": "This determines whether the interlaced frame is taken from the even (tff - default) or\nodd (bff) lines of the progressive frame.\n"
                },
                {
                    "name": "lowpass",
                    "content": "Vertical lowpass filter to avoid twitter interlacing and reduce moire patterns.\n\n0, off\nDisable vertical lowpass filter\n\n1, linear\nEnable linear filter (default)\n\n2, complex\nEnable complex filter. This will slightly less reduce twitter and moire but better\nretain detail and subjective sharpness impression.\n"
                },
                {
                    "name": "kerndeint",
                    "content": "Deinterlace input video by applying Donald Graft's adaptive kernel deinterling. Work on\ninterlaced parts of a video to produce progressive frames.\n\nThe description of the accepted parameters follows.\n"
                },
                {
                    "name": "thresh",
                    "content": "Set the threshold which affects the filter's tolerance when determining if a pixel line\nmust be processed. It must be an integer in the range [0,255] and defaults to 10. A value\nof 0 will result in applying the process on every pixels.\n\nmap Paint pixels exceeding the threshold value to white if set to 1.  Default is 0.\n"
                },
                {
                    "name": "order",
                    "content": "Set the fields order. Swap fields if set to 1, leave fields alone if 0. Default is 0.\n"
                },
                {
                    "name": "sharp",
                    "content": "Enable additional sharpening if set to 1. Default is 0.\n"
                },
                {
                    "name": "twoway",
                    "content": "Enable twoway sharpening if set to 1. Default is 0.\n\nExamples\n\n•   Apply default values:\n\nkerndeint=thresh=10:map=0:order=0:sharp=0:twoway=0\n\n•   Enable additional sharpening:\n\nkerndeint=sharp=1\n\n•   Paint processed pixels in white:\n\nkerndeint=map=1\n"
                },
                {
                    "name": "kirsch",
                    "content": "Apply kirsch operator to input video stream.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes will be processed, unprocessed planes will be copied.  By default value\n0xf, all planes will be processed.\n"
                },
                {
                    "name": "scale",
                    "content": "Set value which will be multiplied with filtered result.\n"
                },
                {
                    "name": "delta",
                    "content": "Set value which will be added to filtered result.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "lagfun",
                    "content": "Slowly update darker pixels.\n\nThis filter makes short flashes of light appear longer.  This filter accepts the following\noptions:\n"
                },
                {
                    "name": "decay",
                    "content": "Set factor for decaying. Default is .95. Allowed range is from 0 to 1.\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to filter. Default is all. Allowed range is from 0 to 15.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "lenscorrection",
                    "content": "Correct radial lens distortion\n\nThis filter can be used to correct for radial distortion as can result from the use of wide\nangle lenses, and thereby re-rectify the image. To find the right parameters one can use\ntools available for example as part of opencv or simply trial-and-error.  To use opencv use\nthe calibration sample (under samples/cpp) from the opencv sources and extract the k1 and k2\ncoefficients from the resulting matrix.\n\nNote that effectively the same filter is available in the open-source tools Krita and Digikam\nfrom the KDE project.\n\nIn contrast to the vignette filter, which can also be used to compensate lens errors, this\nfilter corrects the distortion of the image, whereas vignette corrects the brightness\ndistribution, so you may want to use both filters together in certain cases, though you will\nhave to take care of ordering, i.e. whether vignetting should be applied before or after lens\ncorrection.\n\nOptions\n\nThe filter accepts the following options:\n\ncx  Relative x-coordinate of the focal point of the image, and thereby the center of the\ndistortion. This value has a range [0,1] and is expressed as fractions of the image\nwidth. Default is 0.5.\n\ncy  Relative y-coordinate of the focal point of the image, and thereby the center of the\ndistortion. This value has a range [0,1] and is expressed as fractions of the image\nheight. Default is 0.5.\n\nk1  Coefficient of the quadratic correction term. This value has a range [-1,1]. 0 means no\ncorrection. Default is 0.\n\nk2  Coefficient of the double quadratic correction term. This value has a range [-1,1].  0\nmeans no correction. Default is 0.\n\ni   Set interpolation type. Can be \"nearest\" or \"bilinear\".  Default is \"nearest\".\n\nfc  Specify the color of the unmapped pixels. For the syntax of this option, check the\n\"Color\" section in the ffmpeg-utils manual. Default color is \"black@0\".\n\nThe formula that generates the correction is:\n\nrsrc = rtgt * (1 + k1 * (rtgt / r0)^2 + k2 * (rtgt / r0)^4)\n\nwhere r0 is halve of the image diagonal and rsrc and rtgt are the distances from the focal\npoint in the source and target images, respectively.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "lensfun",
                    "content": "Apply lens correction via the lensfun library (<http://lensfun.sourceforge.net/>).\n\nThe \"lensfun\" filter requires the camera make, camera model, and lens model to apply the lens\ncorrection. The filter will load the lensfun database and query it to find the corresponding\ncamera and lens entries in the database. As long as these entries can be found with the given\noptions, the filter can perform corrections on frames. Note that incomplete strings will\nresult in the filter choosing the best match with the given options, and the filter will\noutput the chosen camera and lens models (logged with level \"info\"). You must provide the\nmake, camera model, and lens model as they are required.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "make",
                    "content": "The make of the camera (for example, \"Canon\"). This option is required.\n"
                },
                {
                    "name": "model",
                    "content": "The model of the camera (for example, \"Canon EOS 100D\"). This option is required.\n\nlensmodel\nThe model of the lens (for example, \"Canon EF-S 18-55mm f/3.5-5.6 IS STM\"). This option\nis required.\n"
                },
                {
                    "name": "mode",
                    "content": "The type of correction to apply. The following values are valid options:\n\nvignetting\nEnables fixing lens vignetting.\n\ngeometry\nEnables fixing lens geometry. This is the default.\n\nsubpixel\nEnables fixing chromatic aberrations.\n\nviggeo\nEnables fixing lens vignetting and lens geometry.\n\nvigsubpixel\nEnables fixing lens vignetting and chromatic aberrations.\n\ndistortion\nEnables fixing both lens geometry and chromatic aberrations.\n\nall Enables all possible corrections.\n\nfocallength\nThe focal length of the image/video (zoom; expected constant for video). For example, a\n18--55mm lens has focal length range of [18--55], so a value in that range should be\nchosen when using that lens. Default 18.\n"
                },
                {
                    "name": "aperture",
                    "content": "The aperture of the image/video (expected constant for video). Note that aperture is only\nused for vignetting correction. Default 3.5.\n\nfocusdistance\nThe focus distance of the image/video (expected constant for video). Note that focus\ndistance is only used for vignetting and only slightly affects the vignetting correction\nprocess. If unknown, leave it at the default value (which is 1000).\n"
                },
                {
                    "name": "scale",
                    "content": "The scale factor which is applied after transformation. After correction the video is no\nlonger necessarily rectangular. This parameter controls how much of the resulting image\nis visible. The value 0 means that a value will be chosen automatically such that there\nis little or no unmapped area in the output image. 1.0 means that no additional scaling\nis done. Lower values may result in more of the corrected image being visible, while\nhigher values may avoid unmapped areas in the output.\n\ntargetgeometry\nThe target geometry of the output image/video. The following values are valid options:\n\nrectilinear (default)\nfisheye\npanoramic\nequirectangular\nfisheyeorthographic\nfisheyestereographic\nfisheyeequisolid\nfisheyethoby"
                },
                {
                    "name": "reverse",
                    "content": "Apply the reverse of image correction (instead of correcting distortion, apply it).\n"
                },
                {
                    "name": "interpolation",
                    "content": "The type of interpolation used when correcting distortion. The following values are valid\noptions:\n\nnearest\nlinear (default)\nlanczos\n\nExamples\n\n•   Apply lens correction with make \"Canon\", camera model \"Canon EOS 100D\", and lens model\n\"Canon EF-S 18-55mm f/3.5-5.6 IS STM\" with focal length of \"18\" and aperture of \"8.0\".\n\nffmpeg -i input.mov -vf lensfun=make=Canon:model=\"Canon EOS 100D\":lensmodel=\"Canon EF-S 18-55mm f/3.5-5.6 IS STM\":focallength=18:aperture=8 -c:v h264 -b:v 8000k output.mov\n\n•   Apply the same as before, but only for the first 5 seconds of video.\n\nffmpeg -i input.mov -vf lensfun=make=Canon:model=\"Canon EOS 100D\":lensmodel=\"Canon EF-S 18-55mm f/3.5-5.6 IS STM\":focallength=18:aperture=8:enable='lte(t\\,5)' -c:v h264 -b:v 8000k output.mov\n"
                },
                {
                    "name": "libvmaf",
                    "content": "Obtain the VMAF (Video Multi-Method Assessment Fusion) score between two input videos.\n\nThe obtained VMAF score is printed through the logging system.\n\nIt requires Netflix's vmaf library (libvmaf) as a pre-requisite.  After installing the\nlibrary it can be enabled using: \"./configure --enable-libvmaf\".  If no model path is\nspecified it uses the default model: \"vmafv0.6.1.pkl\".\n\nThe filter has following options:\n\nmodelpath\nSet the model path which is to be used for SVM.  Default value:\n\"/usr/local/share/model/vmafv0.6.1.pkl\"\n\nlogpath\nSet the file path to be used to store logs.\n\nlogfmt\nSet the format of the log file (csv, json or xml).\n\nenabletransform\nThis option can enable/disable the \"scoretransform\" applied to the final predicted VMAF\nscore, if you have specified scoretransform option in the input parameter file passed to\n\"runvmaftraining.py\" Default value: \"false\"\n\nphonemodel\nInvokes the phone model which will generate VMAF scores higher than in the regular model,\nwhich is more suitable for laptop, TV, etc. viewing conditions.  Default value: \"false\"\n"
                },
                {
                    "name": "psnr",
                    "content": "Enables computing psnr along with vmaf.  Default value: \"false\"\n"
                },
                {
                    "name": "ssim",
                    "content": "Enables computing ssim along with vmaf.  Default value: \"false\"\n\nmsssim\nEnables computing msssim along with vmaf.  Default value: \"false\"\n"
                },
                {
                    "name": "pool",
                    "content": "Set the pool method to be used for computing vmaf.  Options are \"min\", \"harmonicmean\" or\n\"mean\" (default).\n\nnthreads\nSet number of threads to be used when computing vmaf.  Default value: 0, which makes use\nof all available logical processors.\n\nnsubsample\nSet interval for frame subsampling used when computing vmaf.  Default value: 1\n\nenableconfinterval\nEnables confidence interval.  Default value: \"false\"\n\nThis filter also supports the framesync options.\n\nExamples\n\n•   On the below examples the input file main.mpg being processed is compared with the\nreference file ref.mpg.\n\nffmpeg -i main.mpg -i ref.mpg -lavfi libvmaf -f null -\n\n•   Example with options:\n\nffmpeg -i main.mpg -i ref.mpg -lavfi libvmaf=\"psnr=1:logfmt=json\" -f null -\n\n•   Example with options and different containers:\n\nffmpeg -i main.mpg -i ref.mkv -lavfi \"[0:v]settb=AVTB,setpts=PTS-STARTPTS[main];[1:v]settb=AVTB,setpts=PTS-STARTPTS[ref];[main][ref]libvmaf=psnr=1:logfmt=json\" -f null -\n"
                },
                {
                    "name": "limiter",
                    "content": "Limits the pixel components values to the specified range [min, max].\n\nThe filter accepts the following options:\n\nmin Lower bound. Defaults to the lowest allowed value for the input.\n\nmax Upper bound. Defaults to the highest allowed value for the input.\n"
                },
                {
                    "name": "planes",
                    "content": "Specify which planes will be processed. Defaults to all available.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "loop",
                    "content": "Loop video frames.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "loop",
                    "content": "Set the number of loops. Setting this value to -1 will result in infinite loops.  Default\nis 0.\n"
                },
                {
                    "name": "size",
                    "content": "Set maximal size in number of frames. Default is 0.\n"
                },
                {
                    "name": "start",
                    "content": "Set first frame of loop. Default is 0.\n\nExamples\n\n•   Loop single first frame infinitely:\n\nloop=loop=-1:size=1:start=0\n\n•   Loop single first frame 10 times:\n\nloop=loop=10:size=1:start=0\n\n•   Loop 10 first frames 5 times:\n\nloop=loop=5:size=10:start=0\n"
                },
                {
                    "name": "lut1d",
                    "content": "Apply a 1D LUT to an input video.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "file",
                    "content": "Set the 1D LUT file name.\n\nCurrently supported formats:\n\ncube\nIridas\n\ncsp cineSpace\n"
                },
                {
                    "name": "interp",
                    "content": "Select interpolation mode.\n\nAvailable values are:\n\nnearest\nUse values from the nearest defined point.\n\nlinear\nInterpolate values using the linear interpolation.\n\ncosine\nInterpolate values using the cosine interpolation.\n\ncubic\nInterpolate values using the cubic interpolation.\n\nspline\nInterpolate values using the spline interpolation.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "lut3d",
                    "content": "Apply a 3D LUT to an input video.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "file",
                    "content": "Set the 3D LUT file name.\n\nCurrently supported formats:\n\n3dl AfterEffects\n\ncube\nIridas\n\ndat DaVinci\n\nm3d Pandora\n\ncsp cineSpace\n"
                },
                {
                    "name": "interp",
                    "content": "Select interpolation mode.\n\nAvailable values are:\n\nnearest\nUse values from the nearest defined point.\n\ntrilinear\nInterpolate values using the 8 points defining a cube.\n\ntetrahedral\nInterpolate values using a tetrahedron.\n\npyramid\nInterpolate values using a pyramid.\n\nprism\nInterpolate values using a prism.\n\nCommands\n\nThis filter supports the \"interp\" option as commands.\n"
                },
                {
                    "name": "lumakey",
                    "content": "Turn certain luma values into transparency.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "threshold",
                    "content": "Set the luma which will be used as base for transparency.  Default value is 0.\n"
                },
                {
                    "name": "tolerance",
                    "content": "Set the range of luma values to be keyed out.  Default value is 0.01.\n"
                },
                {
                    "name": "softness",
                    "content": "Set the range of softness. Default value is 0.  Use this to control gradual transition\nfrom zero to full transparency.\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "lut, lutrgb, lutyuv",
                    "content": "Compute a look-up table for binding each pixel component input value to an output value, and\napply it to the input video.\n\nlutyuv applies a lookup table to a YUV input video, lutrgb to an RGB input video.\n\nThese filters accept the following parameters:\n\nc0  set first pixel component expression\n\nc1  set second pixel component expression\n\nc2  set third pixel component expression\n\nc3  set fourth pixel component expression, corresponds to the alpha component\n\nr   set red component expression\n\ng   set green component expression\n\nb   set blue component expression\n\na   alpha component expression\n\ny   set Y/luminance component expression\n\nu   set U/Cb component expression\n\nv   set V/Cr component expression\n\nEach of them specifies the expression to use for computing the lookup table for the\ncorresponding pixel component values.\n\nThe exact component associated to each of the c* options depends on the format in input.\n\nThe lut filter requires either YUV or RGB pixel formats in input, lutrgb requires RGB pixel\nformats in input, and lutyuv requires YUV.\n\nThe expressions can contain the following constants and functions:\n\nw\nh   The input width and height.\n\nval The input value for the pixel component.\n"
                },
                {
                    "name": "clipval",
                    "content": "The input value, clipped to the minval-maxval range.\n"
                },
                {
                    "name": "maxval",
                    "content": "The maximum value for the pixel component.\n"
                },
                {
                    "name": "minval",
                    "content": "The minimum value for the pixel component.\n"
                },
                {
                    "name": "negval",
                    "content": "The negated value for the pixel component value, clipped to the minval-maxval range; it\ncorresponds to the expression \"maxval-clipval+minval\".\n"
                },
                {
                    "name": "clip(val)",
                    "content": "The computed value in val, clipped to the minval-maxval range.\n"
                },
                {
                    "name": "gammaval(gamma)",
                    "content": "The computed gamma correction value of the pixel component value, clipped to the\nminval-maxval range. It corresponds to the expression\n\"pow((clipval-minval)/(maxval-minval)\\,gamma)*(maxval-minval)+minval\"\n\nAll expressions default to \"val\".\n\nCommands\n\nThis filter supports same commands as options.\n\nExamples\n\n•   Negate input video:\n\nlutrgb=\"r=maxval+minval-val:g=maxval+minval-val:b=maxval+minval-val\"\nlutyuv=\"y=maxval+minval-val:u=maxval+minval-val:v=maxval+minval-val\"\n\nThe above is the same as:\n\nlutrgb=\"r=negval:g=negval:b=negval\"\nlutyuv=\"y=negval:u=negval:v=negval\"\n\n•   Negate luminance:\n\nlutyuv=y=negval\n\n•   Remove chroma components, turning the video into a graytone image:\n\nlutyuv=\"u=128:v=128\"\n\n•   Apply a luma burning effect:\n\nlutyuv=\"y=2*val\"\n\n•   Remove green and blue components:\n\nlutrgb=\"g=0:b=0\"\n\n•   Set a constant alpha channel value on input:\n\nformat=rgba,lutrgb=a=\"maxval-minval/2\"\n\n•   Correct luminance gamma by a factor of 0.5:\n\nlutyuv=y=gammaval(0.5)\n\n•   Discard least significant bits of luma:\n\nlutyuv=y='bitand(val, 128+64+32)'\n\n•   Technicolor like effect:\n\nlutyuv=u='(val-maxval/2)*2+maxval/2':v='(val-maxval/2)*2+maxval/2'\n"
                },
                {
                    "name": "lut2, tlut2",
                    "content": "The \"lut2\" filter takes two input streams and outputs one stream.\n\nThe \"tlut2\" (time lut2) filter takes two consecutive frames from one single stream.\n\nThis filter accepts the following parameters:\n\nc0  set first pixel component expression\n\nc1  set second pixel component expression\n\nc2  set third pixel component expression\n\nc3  set fourth pixel component expression, corresponds to the alpha component\n\nd   set output bit depth, only available for \"lut2\" filter. By default is 0, which means bit\ndepth is automatically picked from first input format.\n\nThe \"lut2\" filter also supports the framesync options.\n\nEach of them specifies the expression to use for computing the lookup table for the\ncorresponding pixel component values.\n\nThe exact component associated to each of the c* options depends on the format in inputs.\n\nThe expressions can contain the following constants:\n\nw\nh   The input width and height.\n\nx   The first input value for the pixel component.\n\ny   The second input value for the pixel component.\n\nbdx The first input video bit depth.\n\nbdy The second input video bit depth.\n\nAll expressions default to \"x\".\n\nCommands\n\nThis filter supports the all above options as commands except option \"d\".\n\nExamples\n\n•   Highlight differences between two RGB video streams:\n\nlut2='ifnot(x-y,0,pow(2,bdx)-1):ifnot(x-y,0,pow(2,bdx)-1):ifnot(x-y,0,pow(2,bdx)-1)'\n\n•   Highlight differences between two YUV video streams:\n\nlut2='ifnot(x-y,0,pow(2,bdx)-1):ifnot(x-y,pow(2,bdx-1),pow(2,bdx)-1):ifnot(x-y,pow(2,bdx-1),pow(2,bdx)-1)'\n\n•   Show max difference between two video streams:\n\nlut2='if(lt(x,y),0,if(gt(x,y),pow(2,bdx)-1,pow(2,bdx-1))):if(lt(x,y),0,if(gt(x,y),pow(2,bdx)-1,pow(2,bdx-1))):if(lt(x,y),0,if(gt(x,y),pow(2,bdx)-1,pow(2,bdx-1)))'\n"
                },
                {
                    "name": "maskedclamp",
                    "content": "Clamp the first input stream with the second input and third input stream.\n\nReturns the value of first stream to be between second input stream - \"undershoot\" and third\ninput stream + \"overshoot\".\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "undershoot",
                    "content": "Default value is 0.\n"
                },
                {
                    "name": "overshoot",
                    "content": "Default value is 0.\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes will be processed as bitmap, unprocessed planes will be copied from\nfirst stream.  By default value 0xf, all planes will be processed.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "maskedmax",
                    "content": "Merge the second and third input stream into output stream using absolute differences between\nsecond input stream and first input stream and absolute difference between third input stream\nand first input stream. The picked value will be from second input stream if second absolute\ndifference is greater than first one or from third input stream otherwise.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes will be processed as bitmap, unprocessed planes will be copied from\nfirst stream.  By default value 0xf, all planes will be processed.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "maskedmerge",
                    "content": "Merge the first input stream with the second input stream using per pixel weights in the\nthird input stream.\n\nA value of 0 in the third stream pixel component means that pixel component from first stream\nis returned unchanged, while maximum value (eg. 255 for 8-bit videos) means that pixel\ncomponent from second stream is returned unchanged. Intermediate values define the amount of\nmerging between both input stream's pixel components.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes will be processed as bitmap, unprocessed planes will be copied from\nfirst stream.  By default value 0xf, all planes will be processed.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "maskedmin",
                    "content": "Merge the second and third input stream into output stream using absolute differences between\nsecond input stream and first input stream and absolute difference between third input stream\nand first input stream. The picked value will be from second input stream if second absolute\ndifference is less than first one or from third input stream otherwise.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes will be processed as bitmap, unprocessed planes will be copied from\nfirst stream.  By default value 0xf, all planes will be processed.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "maskedthreshold",
                    "content": "Pick pixels comparing absolute difference of two video streams with fixed threshold.\n\nIf absolute difference between pixel component of first and second video stream is equal or\nlower than user supplied threshold than pixel component from first video stream is picked,\notherwise pixel component from second video stream is picked.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "threshold",
                    "content": "Set threshold used when picking pixels from absolute difference from two input video\nstreams.\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes will be processed as bitmap, unprocessed planes will be copied from\nsecond stream.  By default value 0xf, all planes will be processed.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "maskfun",
                    "content": "Create mask from input video.\n\nFor example it is useful to create motion masks after \"tblend\" filter.\n\nThis filter accepts the following options:\n\nlow Set low threshold. Any pixel component lower or exact than this value will be set to 0.\n"
                },
                {
                    "name": "high",
                    "content": "Set high threshold. Any pixel component higher than this value will be set to max value\nallowed for current pixel format.\n"
                },
                {
                    "name": "planes",
                    "content": "Set planes to filter, by default all available planes are filtered.\n"
                },
                {
                    "name": "fill",
                    "content": "Fill all frame pixels with this value.\n\nsum Set max average pixel value for frame. If sum of all pixel components is higher that this\naverage, output frame will be completely filled with value set by fill option.  Typically\nuseful for scene changes when used in combination with \"tblend\" filter.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "mcdeint",
                    "content": "Apply motion-compensation deinterlacing.\n\nIt needs one field per frame as input and must thus be used together with yadif=1/3 or\nequivalent.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "mode",
                    "content": "Set the deinterlacing mode.\n\nIt accepts one of the following values:\n\nfast\nmedium\nslow\nuse iterative motion estimation\n\nextraslow\nlike slow, but use multiple reference frames.\n\nDefault value is fast.\n"
                },
                {
                    "name": "parity",
                    "content": "Set the picture field parity assumed for the input video. It must be one of the following\nvalues:\n\n0, tff\nassume top field first\n\n1, bff\nassume bottom field first\n\nDefault value is bff.\n\nqp  Set per-block quantization parameter (QP) used by the internal encoder.\n\nHigher values should result in a smoother motion vector field but less optimal individual\nvectors. Default value is 1.\n"
                },
                {
                    "name": "median",
                    "content": "Pick median pixel from certain rectangle defined by radius.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "radius",
                    "content": "Set horizontal radius size. Default value is 1.  Allowed range is integer from 1 to 127.\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to process. Default is 15, which is all available planes.\n"
                },
                {
                    "name": "radiusV",
                    "content": "Set vertical radius size. Default value is 0.  Allowed range is integer from 0 to 127.\nIf it is 0, value will be picked from horizontal \"radius\" option.\n"
                },
                {
                    "name": "percentile",
                    "content": "Set median percentile. Default value is 0.5.  Default value of 0.5 will pick always\nmedian values, while 0 will pick minimum values, and 1 maximum values.\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "mergeplanes",
                    "content": "Merge color channel components from several video streams.\n\nThe filter accepts up to 4 input streams, and merge selected input planes to the output\nvideo.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "mapping",
                    "content": "Set input to output plane mapping. Default is 0.\n\nThe mappings is specified as a bitmap. It should be specified as a hexadecimal number in\nthe form 0xAa[Bb[Cc[Dd]]]. 'Aa' describes the mapping for the first plane of the output\nstream. 'A' sets the number of the input stream to use (from 0 to 3), and 'a' the plane\nnumber of the corresponding input to use (from 0 to 3). The rest of the mappings is\nsimilar, 'Bb' describes the mapping for the output stream second plane, 'Cc' describes\nthe mapping for the output stream third plane and 'Dd' describes the mapping for the\noutput stream fourth plane.\n"
                },
                {
                    "name": "format",
                    "content": "Set output pixel format. Default is \"yuva444p\".\n\nExamples\n\n•   Merge three gray video streams of same width and height into single video stream:\n\n[a0][a1][a2]mergeplanes=0x001020:yuv444p\n\n•   Merge 1st yuv444p stream and 2nd gray video stream into yuva444p video stream:\n\n[a0][a1]mergeplanes=0x00010210:yuva444p\n\n•   Swap Y and A plane in yuva444p stream:\n\nformat=yuva444p,mergeplanes=0x03010200:yuva444p\n\n•   Swap U and V plane in yuv420p stream:\n\nformat=yuv420p,mergeplanes=0x000201:yuv420p\n\n•   Cast a rgb24 clip to yuv444p:\n\nformat=rgb24,mergeplanes=0x000102:yuv444p\n"
                },
                {
                    "name": "mestimate",
                    "content": "Estimate and export motion vectors using block matching algorithms.  Motion vectors are\nstored in frame side data to be used by other filters.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "method",
                    "content": "Specify the motion estimation method. Accepts one of the following values:\n\nesa Exhaustive search algorithm.\n\ntss Three step search algorithm.\n\ntdls\nTwo dimensional logarithmic search algorithm.\n\nntss\nNew three step search algorithm.\n\nfss Four step search algorithm.\n\nds  Diamond search algorithm.\n\nhexbs\nHexagon-based search algorithm.\n\nepzs\nEnhanced predictive zonal search algorithm.\n\numh Uneven multi-hexagon search algorithm.\n\nDefault value is esa.\n\nmbsize\nMacroblock size. Default 16.\n\nsearchparam\nSearch parameter. Default 7.\n"
                },
                {
                    "name": "midequalizer",
                    "content": "Apply Midway Image Equalization effect using two video streams.\n\nMidway Image Equalization adjusts a pair of images to have the same histogram, while\nmaintaining their dynamics as much as possible. It's useful for e.g. matching exposures from\na pair of stereo cameras.\n\nThis filter has two inputs and one output, which must be of same pixel format, but may be of\ndifferent sizes. The output of filter is first input adjusted with midway histogram of both\ninputs.\n\nThis filter accepts the following option:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to process. Default is 15, which is all available planes.\n"
                },
                {
                    "name": "minterpolate",
                    "content": "Convert the video to specified frame rate using motion interpolation.\n\nThis filter accepts the following options:\n\nfps Specify the output frame rate. This can be rational e.g. \"60000/1001\". Frames are dropped\nif fps is lower than source fps. Default 60.\n\nmimode\nMotion interpolation mode. Following values are accepted:\n\ndup Duplicate previous or next frame for interpolating new ones.\n\nblend\nBlend source frames. Interpolated frame is mean of previous and next frames.\n\nmci Motion compensated interpolation. Following options are effective when this mode is\nselected:\n\nmcmode\nMotion compensation mode. Following values are accepted:\n\nobmc\nOverlapped block motion compensation.\n\naobmc\nAdaptive overlapped block motion compensation. Window weighting coefficients\nare controlled adaptively according to the reliabilities of the neighboring\nmotion vectors to reduce oversmoothing.\n\nDefault mode is obmc.\n\nmemode\nMotion estimation mode. Following values are accepted:\n\nbidir\nBidirectional motion estimation. Motion vectors are estimated for each source\nframe in both forward and backward directions.\n\nbilat\nBilateral motion estimation. Motion vectors are estimated directly for\ninterpolated frame.\n\nDefault mode is bilat.\n\nme  The algorithm to be used for motion estimation. Following values are accepted:\n\nesa Exhaustive search algorithm.\n\ntss Three step search algorithm.\n\ntdls\nTwo dimensional logarithmic search algorithm.\n\nntss\nNew three step search algorithm.\n\nfss Four step search algorithm.\n\nds  Diamond search algorithm.\n\nhexbs\nHexagon-based search algorithm.\n\nepzs\nEnhanced predictive zonal search algorithm.\n\numh Uneven multi-hexagon search algorithm.\n\nDefault algorithm is epzs.\n\nmbsize\nMacroblock size. Default 16.\n\nsearchparam\nMotion estimation search parameter. Default 32.\n\nvsbmc\nEnable variable-size block motion compensation. Motion estimation is applied with\nsmaller block sizes at object boundaries in order to make the them less blur.\nDefault is 0 (disabled).\n\nscd Scene change detection method. Scene change leads motion vectors to be in random\ndirection. Scene change detection replace interpolated frames by duplicate ones. May not\nbe needed for other modes. Following values are accepted:\n\nnone\nDisable scene change detection.\n\nfdiff\nFrame difference. Corresponding pixel values are compared and if it satisfies\nscdthreshold scene change is detected.\n\nDefault method is fdiff.\n\nscdthreshold\nScene change detection threshold. Default is 10..\n"
                },
                {
                    "name": "mix",
                    "content": "Mix several video input streams into one video stream.\n\nA description of the accepted options follows.\n\nnbinputs\nThe number of inputs. If unspecified, it defaults to 2.\n"
                },
                {
                    "name": "weights",
                    "content": "Specify weight of each input video stream as sequence.  Each weight is separated by\nspace. If number of weights is smaller than number of frames last specified weight will\nbe used for all remaining unset weights.\n"
                },
                {
                    "name": "scale",
                    "content": "Specify scale, if it is set it will be multiplied with sum of each weight multiplied with\npixel values to give final destination pixel value. By default scale is auto scaled to\nsum of weights.\n"
                },
                {
                    "name": "duration",
                    "content": "Specify how end of stream is determined.\n\nlongest\nThe duration of the longest input. (default)\n\nshortest\nThe duration of the shortest input.\n\nfirst\nThe duration of the first input.\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "weights",
                    "content": ""
                },
                {
                    "name": "scale",
                    "content": "Syntax is same as option with same name.\n"
                },
                {
                    "name": "monochrome",
                    "content": "Convert video to gray using custom color filter.\n\nA description of the accepted options follows.\n\ncb  Set the chroma blue spot. Allowed range is from -1 to 1.  Default value is 0.\n\ncr  Set the chroma red spot. Allowed range is from -1 to 1.  Default value is 0.\n"
                },
                {
                    "name": "size",
                    "content": "Set the color filter size. Allowed range is from .1 to 10.  Default value is 1.\n"
                },
                {
                    "name": "high",
                    "content": "Set the highlights strength. Allowed range is from 0 to 1.  Default value is 0.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "mpdecimate",
                    "content": "Drop frames that do not differ greatly from the previous frame in order to reduce frame rate.\n\nThe main use of this filter is for very-low-bitrate encoding (e.g. streaming over dialup\nmodem), but it could in theory be used for fixing movies that were inverse-telecined\nincorrectly.\n\nA description of the accepted options follows.\n\nmax Set the maximum number of consecutive frames which can be dropped (if positive), or the\nminimum interval between dropped frames (if negative). If the value is 0, the frame is\ndropped disregarding the number of previous sequentially dropped frames.\n\nDefault value is 0.\n\nhi\nlo"
                },
                {
                    "name": "frac",
                    "content": "Set the dropping threshold values.\n\nValues for hi and lo are for 8x8 pixel blocks and represent actual pixel value\ndifferences, so a threshold of 64 corresponds to 1 unit of difference for each pixel, or\nthe same spread out differently over the block.\n\nA frame is a candidate for dropping if no 8x8 blocks differ by more than a threshold of\nhi, and if no more than frac blocks (1 meaning the whole image) differ by more than a\nthreshold of lo.\n\nDefault value for hi is 64*12, default value for lo is 64*5, and default value for frac\nis 0.33.\n"
                },
                {
                    "name": "msad",
                    "content": "Obtain the MSAD (Mean Sum of Absolute Differences) between two input videos.\n\nThis filter takes two input videos.\n\nBoth input videos must have the same resolution and pixel format for this filter to work\ncorrectly. Also it assumes that both inputs have the same number of frames, which are\ncompared one by one.\n\nThe obtained per component, average, min and max MSAD is printed through the logging system.\n\nThe filter stores the calculated MSAD of each frame in frame metadata.\n\nIn the below example the input file main.mpg being processed is compared with the reference\nfile ref.mpg.\n\nffmpeg -i main.mpg -i ref.mpg -lavfi msad -f null -\n"
                },
                {
                    "name": "negate",
                    "content": "Negate (invert) the input video.\n\nIt accepts the following option:\n\nnegatealpha\nWith value 1, it negates the alpha component, if present. Default value is 0.\n\nCommands\n\nThis filter supports same commands as options.\n"
                },
                {
                    "name": "nlmeans",
                    "content": "Denoise frames using Non-Local Means algorithm.\n\nEach pixel is adjusted by looking for other pixels with similar contexts. This context\nsimilarity is defined by comparing their surrounding patches of size pxp. Patches are\nsearched in an area of rxr around the pixel.\n\nNote that the research area defines centers for patches, which means some patches will be\nmade of pixels outside that research area.\n\nThe filter accepts the following options.\n\ns   Set denoising strength. Default is 1.0. Must be in range [1.0, 30.0].\n\np   Set patch size. Default is 7. Must be odd number in range [0, 99].\n\npc  Same as p but for chroma planes.\n\nThe default value is 0 and means automatic.\n\nr   Set research size. Default is 15. Must be odd number in range [0, 99].\n\nrc  Same as r but for chroma planes.\n\nThe default value is 0 and means automatic.\n"
                },
                {
                    "name": "nnedi",
                    "content": "Deinterlace video using neural network edge directed interpolation.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "weights",
                    "content": "Mandatory option, without binary file filter can not work.  Currently file can be found\nhere: https://github.com/dubhater/vapoursynth-nnedi3/blob/master/src/nnedi3weights.bin\n"
                },
                {
                    "name": "deint",
                    "content": "Set which frames to deinterlace, by default it is \"all\".  Can be \"all\" or \"interlaced\".\n"
                },
                {
                    "name": "field",
                    "content": "Set mode of operation.\n\nCan be one of the following:\n\naf  Use frame flags, both fields.\n\na   Use frame flags, single field.\n\nt   Use top field only.\n\nb   Use bottom field only.\n\ntf  Use both fields, top first.\n\nbf  Use both fields, bottom first.\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to process, by default filter process all frames.\n"
                },
                {
                    "name": "nsize",
                    "content": "Set size of local neighborhood around each pixel, used by the predictor neural network.\n\nCan be one of the following:\n\ns8x6\ns16x6\ns32x6\ns48x6\ns8x4\ns16x4\ns32x4\nnns Set the number of neurons in predictor neural network.  Can be one of the following:\n\nn16\nn32\nn64\nn128\nn256"
                },
                {
                    "name": "qual",
                    "content": "Controls the number of different neural network predictions that are blended together to\ncompute the final output value. Can be \"fast\", default or \"slow\".\n"
                },
                {
                    "name": "etype",
                    "content": "Set which set of weights to use in the predictor.  Can be one of the following:\n\na, abs\nweights trained to minimize absolute error\n\ns, mse\nweights trained to minimize squared error\n"
                },
                {
                    "name": "pscrn",
                    "content": "Controls whether or not the prescreener neural network is used to decide which pixels\nshould be processed by the predictor neural network and which can be handled by simple\ncubic interpolation.  The prescreener is trained to know whether cubic interpolation will\nbe sufficient for a pixel or whether it should be predicted by the predictor nn.  The\ncomputational complexity of the prescreener nn is much less than that of the predictor\nnn. Since most pixels can be handled by cubic interpolation, using the prescreener\ngenerally results in much faster processing.  The prescreener is pretty accurate, so the\ndifference between using it and not using it is almost always unnoticeable.\n\nCan be one of the following:\n\nnone\noriginal\nnew\nnew2\nnew3\n\nDefault is \"new\".\n\nCommands\n\nThis filter supports same commands as options, excluding weights option.\n"
                },
                {
                    "name": "noformat",
                    "content": "Force libavfilter not to use any of the specified pixel formats for the input to the next\nfilter.\n\nIt accepts the following parameters:\n\npixfmts\nA '|'-separated list of pixel format names, such as pixfmts=yuv420p|monow|rgb24\".\n\nExamples\n\n•   Force libavfilter to use a format different from yuv420p for the input to the vflip\nfilter:\n\nnoformat=pixfmts=yuv420p,vflip\n\n•   Convert the input video to any of the formats not contained in the list:\n\nnoformat=yuv420p|yuv444p|yuv410p\n"
                },
                {
                    "name": "noise",
                    "content": "Add noise on video input frame.\n\nThe filter accepts the following options:\n\nallseed\nc0seed\nc1seed\nc2seed\nc3seed\nSet noise seed for specific pixel component or all pixel components in case of allseed.\nDefault value is 123457.\n\nallstrength, alls\nc0strength, c0s\nc1strength, c1s\nc2strength, c2s\nc3strength, c3s\nSet noise strength for specific pixel component or all pixel components in case\nallstrength. Default value is 0. Allowed range is [0, 100].\n\nallflags, allf\nc0flags, c0f\nc1flags, c1f\nc2flags, c2f\nc3flags, c3f\nSet pixel component flags or set flags for all components if allflags.  Available values\nfor component flags are:\n\na   averaged temporal noise (smoother)\n\np   mix random noise with a (semi)regular pattern\n\nt   temporal noise (noise pattern changes between frames)\n\nu   uniform noise (gaussian otherwise)\n\nExamples\n\nAdd temporal and uniform noise to input video:\n\nnoise=alls=20:allf=t+u\n"
                },
                {
                    "name": "normalize",
                    "content": "Normalize RGB video (aka histogram stretching, contrast stretching).  See:\nhttps://en.wikipedia.org/wiki/Normalization(imageprocessing)\n\nFor each channel of each frame, the filter computes the input range and maps it linearly to\nthe user-specified output range. The output range defaults to the full dynamic range from\npure black to pure white.\n\nTemporal smoothing can be used on the input range to reduce flickering (rapid changes in\nbrightness) caused when small dark or bright objects enter or leave the scene. This is\nsimilar to the auto-exposure (automatic gain control) on a video camera, and, like a video\ncamera, it may cause a period of over- or under-exposure of the video.\n\nThe R,G,B channels can be normalized independently, which may cause some color shifting, or\nlinked together as a single channel, which prevents color shifting. Linked normalization\npreserves hue. Independent normalization does not, so it can be used to remove some color\ncasts. Independent and linked normalization can be combined in any ratio.\n\nThe normalize filter accepts the following options:\n"
                },
                {
                    "name": "blackpt",
                    "content": ""
                },
                {
                    "name": "whitept",
                    "content": "Colors which define the output range. The minimum input value is mapped to the blackpt.\nThe maximum input value is mapped to the whitept.  The defaults are black and white\nrespectively. Specifying white for blackpt and black for whitept will give color-\ninverted, normalized video. Shades of grey can be used to reduce the dynamic range\n(contrast). Specifying saturated colors here can create some interesting effects.\n"
                },
                {
                    "name": "smoothing",
                    "content": "The number of previous frames to use for temporal smoothing. The input range of each\nchannel is smoothed using a rolling average over the current frame and the smoothing\nprevious frames. The default is 0 (no temporal smoothing).\n"
                },
                {
                    "name": "independence",
                    "content": "Controls the ratio of independent (color shifting) channel normalization to linked (color\npreserving) normalization. 0.0 is fully linked, 1.0 is fully independent. Defaults to 1.0\n(fully independent).\n"
                },
                {
                    "name": "strength",
                    "content": "Overall strength of the filter. 1.0 is full strength. 0.0 is a rather expensive no-op.\nDefaults to 1.0 (full strength).\n\nCommands\n\nThis filter supports same commands as options, excluding smoothing option.  The command\naccepts the same syntax of the corresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n\nExamples\n\nStretch video contrast to use the full dynamic range, with no temporal smoothing; may flicker\ndepending on the source content:\n\nnormalize=blackpt=black:whitept=white:smoothing=0\n\nAs above, but with 50 frames of temporal smoothing; flicker should be reduced, depending on\nthe source content:\n\nnormalize=blackpt=black:whitept=white:smoothing=50\n\nAs above, but with hue-preserving linked channel normalization:\n\nnormalize=blackpt=black:whitept=white:smoothing=50:independence=0\n\nAs above, but with half strength:\n\nnormalize=blackpt=black:whitept=white:smoothing=50:independence=0:strength=0.5\n\nMap the darkest input color to red, the brightest input color to cyan:\n\nnormalize=blackpt=red:whitept=cyan\n"
                },
                {
                    "name": "null",
                    "content": "Pass the video source unchanged to the output.\n"
                },
                {
                    "name": "ocr",
                    "content": "Optical Character Recognition\n\nThis filter uses Tesseract for optical character recognition. To enable compilation of this\nfilter, you need to configure FFmpeg with \"--enable-libtesseract\".\n\nIt accepts the following options:\n"
                },
                {
                    "name": "datapath",
                    "content": "Set datapath to tesseract data. Default is to use whatever was set at installation.\n"
                },
                {
                    "name": "language",
                    "content": "Set language, default is \"eng\".\n"
                },
                {
                    "name": "whitelist",
                    "content": "Set character whitelist.\n"
                },
                {
                    "name": "blacklist",
                    "content": "Set character blacklist.\n\nThe filter exports recognized text as the frame metadata \"lavfi.ocr.text\".  The filter\nexports confidence of recognized words as the frame metadata \"lavfi.ocr.confidence\".\n"
                },
                {
                    "name": "ocv",
                    "content": "Apply a video transform using libopencv.\n\nTo enable this filter, install the libopencv library and headers and configure FFmpeg with\n\"--enable-libopencv\".\n\nIt accepts the following parameters:\n\nfiltername\nThe name of the libopencv filter to apply.\n\nfilterparams\nThe parameters to pass to the libopencv filter. If not specified, the default values are\nassumed.\n\nRefer to the official libopencv documentation for more precise information:\n<http://docs.opencv.org/master/modules/imgproc/doc/filtering.html>\n\nSeveral libopencv filters are supported; see the following subsections.\n\ndilate\n\nDilate an image by using a specific structuring element.  It corresponds to the libopencv\nfunction \"cvDilate\".\n\nIt accepts the parameters: structel|nbiterations.\n\nstructel represents a structuring element, and has the syntax:\ncolsxrows+anchorxxanchory/shape\n\ncols and rows represent the number of columns and rows of the structuring element, anchorx\nand anchory the anchor point, and shape the shape for the structuring element. shape must be\n\"rect\", \"cross\", \"ellipse\", or \"custom\".\n\nIf the value for shape is \"custom\", it must be followed by a string of the form \"=filename\".\nThe file with name filename is assumed to represent a binary image, with each printable\ncharacter corresponding to a bright pixel. When a custom shape is used, cols and rows are\nignored, the number or columns and rows of the read file are assumed instead.\n\nThe default value for structel is \"3x3+0x0/rect\".\n\nnbiterations specifies the number of times the transform is applied to the image, and\ndefaults to 1.\n\nSome examples:\n\n# Use the default values\nocv=dilate\n\n# Dilate using a structuring element with a 5x5 cross, iterating two times\nocv=filtername=dilate:filterparams=5x5+2x2/cross|2\n\n# Read the shape from the file diamond.shape, iterating two times.\n# The file diamond.shape may contain a pattern of characters like this\n#   *\n#  *\n# *\n#  *\n#   *\n# The specified columns and rows are ignored\n# but the anchor point coordinates are not\nocv=dilate:0x0+2x2/custom=diamond.shape|2\n\nerode\n\nErode an image by using a specific structuring element.  It corresponds to the libopencv\nfunction \"cvErode\".\n\nIt accepts the parameters: structel:nbiterations, with the same syntax and semantics as the\ndilate filter.\n\nsmooth\n\nSmooth the input video.\n\nThe filter takes the following parameters: type|param1|param2|param3|param4.\n\ntype is the type of smooth filter to apply, and must be one of the following values: \"blur\",\n\"blurnoscale\", \"median\", \"gaussian\", or \"bilateral\". The default value is \"gaussian\".\n\nThe meaning of param1, param2, param3, and param4 depends on the smooth type. param1 and\nparam2 accept integer positive values or 0. param3 and param4 accept floating point values.\n\nThe default value for param1 is 3. The default value for the other parameters is 0.\n\nThese parameters correspond to the parameters assigned to the libopencv function \"cvSmooth\".\n"
                },
                {
                    "name": "oscilloscope",
                    "content": "2D Video Oscilloscope.\n\nUseful to measure spatial impulse, step responses, chroma delays, etc.\n\nIt accepts the following parameters:\n\nx   Set scope center x position.\n\ny   Set scope center y position.\n\ns   Set scope size, relative to frame diagonal.\n\nt   Set scope tilt/rotation.\n\no   Set trace opacity.\n\ntx  Set trace center x position.\n\nty  Set trace center y position.\n\ntw  Set trace width, relative to width of frame.\n\nth  Set trace height, relative to height of frame.\n\nc   Set which components to trace. By default it traces first three components.\n\ng   Draw trace grid. By default is enabled.\n\nst  Draw some statistics. By default is enabled.\n\nsc  Draw scope. By default is enabled.\n\nCommands\n\nThis filter supports same commands as options.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n\nExamples\n\n•   Inspect full first row of video frame.\n\noscilloscope=x=0.5:y=0:s=1\n\n•   Inspect full last row of video frame.\n\noscilloscope=x=0.5:y=1:s=1\n\n•   Inspect full 5th line of video frame of height 1080.\n\noscilloscope=x=0.5:y=5/1080:s=1\n\n•   Inspect full last column of video frame.\n\noscilloscope=x=1:y=0.5:s=1:t=1\n"
                },
                {
                    "name": "overlay",
                    "content": "Overlay one video on top of another.\n\nIt takes two inputs and has one output. The first input is the \"main\" video on which the\nsecond input is overlaid.\n\nIt accepts the following parameters:\n\nA description of the accepted options follows.\n\nx\ny   Set the expression for the x and y coordinates of the overlaid video on the main video.\nDefault value is \"0\" for both expressions. In case the expression is invalid, it is set\nto a huge value (meaning that the overlay will not be displayed within the output visible\narea).\n\neofaction\nSee framesync.\n"
                },
                {
                    "name": "eval",
                    "content": "Set when the expressions for x, and y are evaluated.\n\nIt accepts the following values:\n\ninit\nonly evaluate expressions once during the filter initialization or when a command is\nprocessed\n\nframe\nevaluate expressions for each incoming frame\n\nDefault value is frame.\n"
                },
                {
                    "name": "shortest",
                    "content": "See framesync.\n"
                },
                {
                    "name": "format",
                    "content": "Set the format for the output video.\n\nIt accepts the following values:\n\nyuv420\nforce YUV420 output\n\nyuv420p10\nforce YUV420p10 output\n\nyuv422\nforce YUV422 output\n\nyuv422p10\nforce YUV422p10 output\n\nyuv444\nforce YUV444 output\n\nrgb force packed RGB output\n\ngbrp\nforce planar RGB output\n\nauto\nautomatically pick format\n\nDefault value is yuv420.\n"
                },
                {
                    "name": "repeatlast",
                    "content": "See framesync.\n"
                },
                {
                    "name": "alpha",
                    "content": "Set format of alpha of the overlaid video, it can be straight or premultiplied. Default\nis straight.\n\nThe x, and y expressions can contain the following parameters.\n\nmainw, W\nmainh, H\nThe main input width and height.\n\noverlayw, w\noverlayh, h\nThe overlay input width and height.\n\nx\ny   The computed values for x and y. They are evaluated for each new frame.\n"
                },
                {
                    "name": "hsub",
                    "content": ""
                },
                {
                    "name": "vsub",
                    "content": "horizontal and vertical chroma subsample values of the output format. For example for the\npixel format \"yuv422p\" hsub is 2 and vsub is 1.\n\nn   the number of input frame, starting from 0\n\npos the position in the file of the input frame, NAN if unknown\n\nt   The timestamp, expressed in seconds. It's NAN if the input timestamp is unknown.\n\nThis filter also supports the framesync options.\n\nNote that the n, pos, t variables are available only when evaluation is done per frame, and\nwill evaluate to NAN when eval is set to init.\n\nBe aware that frames are taken from each input video in timestamp order, hence, if their\ninitial timestamps differ, it is a good idea to pass the two inputs through a\nsetpts=PTS-STARTPTS filter to have them begin in the same zero timestamp, as the example for\nthe movie filter does.\n\nYou can chain together more overlays but you should test the efficiency of such approach.\n\nCommands\n\nThis filter supports the following commands:\n\nx\ny   Modify the x and y of the overlay input.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n\nExamples\n\n•   Draw the overlay at 10 pixels from the bottom right corner of the main video:\n\noverlay=mainw-overlayw-10:mainh-overlayh-10\n\nUsing named options the example above becomes:\n\noverlay=x=mainw-overlayw-10:y=mainh-overlayh-10\n\n•   Insert a transparent PNG logo in the bottom left corner of the input, using the ffmpeg\ntool with the \"-filtercomplex\" option:\n\nffmpeg -i input -i logo -filtercomplex 'overlay=10:mainh-overlayh-10' output\n\n•   Insert 2 different transparent PNG logos (second logo on bottom right corner) using the\nffmpeg tool:\n\nffmpeg -i input -i logo1 -i logo2 -filtercomplex 'overlay=x=10:y=H-h-10,overlay=x=W-w-10:y=H-h-10' output\n\n•   Add a transparent color layer on top of the main video; \"WxH\" must specify the size of\nthe main input to the overlay filter:\n\ncolor=color=red@.3:size=WxH [over]; [in][over] overlay [out]\n\n•   Play an original video and a filtered version (here with the deshake filter) side by side\nusing the ffplay tool:\n\nffplay input.avi -vf 'split[a][b]; [a]pad=iw*2:ih[src]; [b]deshake[filt]; [src][filt]overlay=w'\n\nThe above command is the same as:\n\nffplay input.avi -vf 'split[b], pad=iw*2[src], [b]deshake, [src]overlay=w'\n\n•   Make a sliding overlay appearing from the left to the right top part of the screen\nstarting since time 2:\n\noverlay=x='if(gte(t,2), -w+(t-2)*20, NAN)':y=0\n\n•   Compose output by putting two input videos side to side:\n\nffmpeg -i left.avi -i right.avi -filtercomplex \"\nnullsrc=size=200x100 [background];\n[0:v] setpts=PTS-STARTPTS, scale=100x100 [left];\n[1:v] setpts=PTS-STARTPTS, scale=100x100 [right];\n[background][left]       overlay=shortest=1       [background+left];\n[background+left][right] overlay=shortest=1:x=100 [left+right]\n\"\n\n•   Mask 10-20 seconds of a video by applying the delogo filter to a section\n\nffmpeg -i test.avi -codec:v:0 wmv2 -ar 11025 -b:v 9000k\n-vf '[in]split[splitmain][splitdelogo];[splitdelogo]trim=start=360:end=371,delogo=0:0:640:480[delogoed];[splitmain][delogoed]overlay=eofaction=pass[out]'\nmasked.avi\n\n•   Chain several overlays in cascade:\n\nnullsrc=s=200x200 [bg];\ntestsrc=s=100x100, split=4 [in0][in1][in2][in3];\n[in0] lutrgb=r=0, [bg]   overlay=0:0     [mid0];\n[in1] lutrgb=g=0, [mid0] overlay=100:0   [mid1];\n[in2] lutrgb=b=0, [mid1] overlay=0:100   [mid2];\n[in3] null,       [mid2] overlay=100:100 [out0]\n\noverlaycuda\nOverlay one video on top of another.\n\nThis is the CUDA variant of the overlay filter.  It only accepts CUDA frames. The underlying\ninput pixel formats have to match.\n\nIt takes two inputs and has one output. The first input is the \"main\" video on which the\nsecond input is overlaid.\n\nIt accepts the following parameters:\n\nx\ny   Set the x and y coordinates of the overlaid video on the main video.  Default value is\n\"0\" for both expressions.\n\neofaction\nSee framesync.\n"
                },
                {
                    "name": "shortest",
                    "content": "See framesync.\n"
                },
                {
                    "name": "repeatlast",
                    "content": "See framesync.\n\nThis filter also supports the framesync options.\n"
                },
                {
                    "name": "owdenoise",
                    "content": "Apply Overcomplete Wavelet denoiser.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "depth",
                    "content": "Set depth.\n\nLarger depth values will denoise lower frequency components more, but slow down\nfiltering.\n\nMust be an int in the range 8-16, default is 8.\n\nlumastrength, ls\nSet luma strength.\n\nMust be a double value in the range 0-1000, default is 1.0.\n\nchromastrength, cs\nSet chroma strength.\n\nMust be a double value in the range 0-1000, default is 1.0.\n"
                },
                {
                    "name": "pad",
                    "content": "Add paddings to the input image, and place the original input at the provided x, y\ncoordinates.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "width, w",
                    "content": ""
                },
                {
                    "name": "height, h",
                    "content": "Specify an expression for the size of the output image with the paddings added. If the\nvalue for width or height is 0, the corresponding input size is used for the output.\n\nThe width expression can reference the value set by the height expression, and vice\nversa.\n\nThe default value of width and height is 0.\n\nx\ny   Specify the offsets to place the input image at within the padded area, with respect to\nthe top/left border of the output image.\n\nThe x expression can reference the value set by the y expression, and vice versa.\n\nThe default value of x and y is 0.\n\nIf x or y evaluate to a negative number, they'll be changed so the input image is\ncentered on the padded area.\n"
                },
                {
                    "name": "color",
                    "content": "Specify the color of the padded area. For the syntax of this option, check the \"Color\"\nsection in the ffmpeg-utils manual.\n\nThe default value of color is \"black\".\n"
                },
                {
                    "name": "eval",
                    "content": "Specify when to evaluate  width, height, x and y expression.\n\nIt accepts the following values:\n\ninit\nOnly evaluate expressions once during the filter initialization or when a command is\nprocessed.\n\nframe\nEvaluate expressions for each incoming frame.\n\nDefault value is init.\n"
                },
                {
                    "name": "aspect",
                    "content": "Pad to aspect instead to a resolution.\n\nThe value for the width, height, x, and y options are expressions containing the following\nconstants:\n\ninw\ninh\nThe input video width and height.\n\niw\nih  These are the same as inw and inh.\n\noutw\nouth\nThe output width and height (the size of the padded area), as specified by the width and\nheight expressions.\n\now\noh  These are the same as outw and outh.\n\nx\ny   The x and y offsets as specified by the x and y expressions, or NAN if not yet specified.\n\na   same as iw / ih\n\nsar input sample aspect ratio\n\ndar input display aspect ratio, it is the same as (iw / ih) * sar\n"
                },
                {
                    "name": "hsub",
                    "content": ""
                },
                {
                    "name": "vsub",
                    "content": "The horizontal and vertical chroma subsample values. For example for the pixel format\n\"yuv422p\" hsub is 2 and vsub is 1.\n\nExamples\n\n•   Add paddings with the color \"violet\" to the input video. The output video size is\n640x480, and the top-left corner of the input video is placed at column 0, row 40\n\npad=640:480:0:40:violet\n\nThe example above is equivalent to the following command:\n\npad=width=640:height=480:x=0:y=40:color=violet\n\n•   Pad the input to get an output with dimensions increased by 3/2, and put the input video\nat the center of the padded area:\n\npad=\"3/2*iw:3/2*ih:(ow-iw)/2:(oh-ih)/2\"\n\n•   Pad the input to get a squared output with size equal to the maximum value between the\ninput width and height, and put the input video at the center of the padded area:\n\npad=\"max(iw\\,ih):ow:(ow-iw)/2:(oh-ih)/2\"\n\n•   Pad the input to get a final w/h ratio of 16:9:\n\npad=\"ih*16/9:ih:(ow-iw)/2:(oh-ih)/2\"\n\n•   In case of anamorphic video, in order to set the output display aspect correctly, it is\nnecessary to use sar in the expression, according to the relation:\n\n(ih * X / ih) * sar = outputdar\nX = outputdar / sar\n\nThus the previous example needs to be modified to:\n\npad=\"ih*16/9/sar:ih:(ow-iw)/2:(oh-ih)/2\"\n\n•   Double the output size and put the input video in the bottom-right corner of the output\npadded area:\n\npad=\"2*iw:2*ih:ow-iw:oh-ih\"\n"
                },
                {
                    "name": "palettegen",
                    "content": "Generate one palette for a whole video stream.\n\nIt accepts the following options:\n\nmaxcolors\nSet the maximum number of colors to quantize in the palette.  Note: the palette will\nstill contain 256 colors; the unused palette entries will be black.\n\nreservetransparent\nCreate a palette of 255 colors maximum and reserve the last one for transparency.\nReserving the transparency color is useful for GIF optimization.  If not set, the maximum\nof colors in the palette will be 256. You probably want to disable this option for a\nstandalone image.  Set by default.\n\ntransparencycolor\nSet the color that will be used as background for transparency.\n\nstatsmode\nSet statistics mode.\n\nIt accepts the following values:\n\nfull\nCompute full frame histograms.\n\ndiff\nCompute histograms only for the part that differs from previous frame. This might be\nrelevant to give more importance to the moving part of your input if the background\nis static.\n\nsingle\nCompute new histogram for each frame.\n\nDefault value is full.\n\nThe filter also exports the frame metadata \"lavfi.colorquantratio\" (\"nbcolorin /\nnbcolorout\") which you can use to evaluate the degree of color quantization of the palette.\nThis information is also visible at info logging level.\n\nExamples\n\n•   Generate a representative palette of a given video using ffmpeg:\n\nffmpeg -i input.mkv -vf palettegen palette.png\n"
                },
                {
                    "name": "paletteuse",
                    "content": "Use a palette to downsample an input video stream.\n\nThe filter takes two inputs: one video stream and a palette. The palette must be a 256 pixels\nimage.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "dither",
                    "content": "Select dithering mode. Available algorithms are:\n\nbayer\nOrdered 8x8 bayer dithering (deterministic)\n\nheckbert\nDithering as defined by Paul Heckbert in 1982 (simple error diffusion).  Note: this\ndithering is sometimes considered \"wrong\" and is included as a reference.\n\nfloydsteinberg\nFloyd and Steingberg dithering (error diffusion)\n\nsierra2\nFrankie Sierra dithering v2 (error diffusion)\n\nsierra24a\nFrankie Sierra dithering v2 \"Lite\" (error diffusion)\n\nDefault is sierra24a.\n\nbayerscale\nWhen bayer dithering is selected, this option defines the scale of the pattern (how much\nthe crosshatch pattern is visible). A low value means more visible pattern for less\nbanding, and higher value means less visible pattern at the cost of more banding.\n\nThe option must be an integer value in the range [0,5]. Default is 2.\n\ndiffmode\nIf set, define the zone to process\n\nrectangle\nOnly the changing rectangle will be reprocessed. This is similar to GIF\ncropping/offsetting compression mechanism. This option can be useful for speed if\nonly a part of the image is changing, and has use cases such as limiting the scope of\nthe error diffusal dither to the rectangle that bounds the moving scene (it leads to\nmore deterministic output if the scene doesn't change much, and as a result less\nmoving noise and better GIF compression).\n\nDefault is none.\n\nnew Take new palette for each output frame.\n\nalphathreshold\nSets the alpha threshold for transparency. Alpha values above this threshold will be\ntreated as completely opaque, and values below this threshold will be treated as\ncompletely transparent.\n\nThe option must be an integer value in the range [0,255]. Default is 128.\n\nExamples\n\n•   Use a palette (generated for example with palettegen) to encode a GIF using ffmpeg:\n\nffmpeg -i input.mkv -i palette.png -lavfi paletteuse output.gif\n"
                },
                {
                    "name": "perspective",
                    "content": "Correct perspective of video not recorded perpendicular to the screen.\n\nA description of the accepted parameters follows.\n\nx0\ny0\nx1\ny1\nx2\ny2\nx3\ny3  Set coordinates expression for top left, top right, bottom left and bottom right corners.\nDefault values are \"0:0:W:0:0:H:W:H\" with which perspective will remain unchanged.  If\nthe \"sense\" option is set to \"source\", then the specified points will be sent to the\ncorners of the destination. If the \"sense\" option is set to \"destination\", then the\ncorners of the source will be sent to the specified coordinates.\n\nThe expressions can use the following variables:\n\nW\nH   the width and height of video frame.\n\nin  Input frame count.\n\non  Output frame count.\n"
                },
                {
                    "name": "interpolation",
                    "content": "Set interpolation for perspective correction.\n\nIt accepts the following values:\n\nlinear\ncubic\n\nDefault value is linear.\n"
                },
                {
                    "name": "sense",
                    "content": "Set interpretation of coordinate options.\n\nIt accepts the following values:\n\n0, source\nSend point in the source specified by the given coordinates to the corners of the\ndestination.\n\n1, destination\nSend the corners of the source to the point in the destination specified by the given\ncoordinates.\n\nDefault value is source.\n"
                },
                {
                    "name": "eval",
                    "content": "Set when the expressions for coordinates x0,y0,...x3,y3 are evaluated.\n\nIt accepts the following values:\n\ninit\nonly evaluate expressions once during the filter initialization or when a command is\nprocessed\n\nframe\nevaluate expressions for each incoming frame\n\nDefault value is init.\n"
                },
                {
                    "name": "phase",
                    "content": "Delay interlaced video by one field time so that the field order changes.\n\nThe intended use is to fix PAL movies that have been captured with the opposite field order\nto the film-to-video transfer.\n\nA description of the accepted parameters follows.\n"
                },
                {
                    "name": "mode",
                    "content": "Set phase mode.\n\nIt accepts the following values:\n\nt   Capture field order top-first, transfer bottom-first.  Filter will delay the bottom\nfield.\n\nb   Capture field order bottom-first, transfer top-first.  Filter will delay the top\nfield.\n\np   Capture and transfer with the same field order. This mode only exists for the\ndocumentation of the other options to refer to, but if you actually select it, the\nfilter will faithfully do nothing.\n\na   Capture field order determined automatically by field flags, transfer opposite.\nFilter selects among t and b modes on a frame by frame basis using field flags. If no\nfield information is available, then this works just like u.\n\nu   Capture unknown or varying, transfer opposite.  Filter selects among t and b on a\nframe by frame basis by analyzing the images and selecting the alternative that\nproduces best match between the fields.\n\nT   Capture top-first, transfer unknown or varying.  Filter selects among t and p using\nimage analysis.\n\nB   Capture bottom-first, transfer unknown or varying.  Filter selects among b and p\nusing image analysis.\n\nA   Capture determined by field flags, transfer unknown or varying.  Filter selects among\nt, b and p using field flags and image analysis. If no field information is\navailable, then this works just like U. This is the default mode.\n\nU   Both capture and transfer unknown or varying.  Filter selects among t, b and p using\nimage analysis only.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "photosensitivity",
                    "content": "Reduce various flashes in video, so to help users with epilepsy.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "frames, f",
                    "content": "Set how many frames to use when filtering. Default is 30.\n"
                },
                {
                    "name": "threshold, t",
                    "content": "Set detection threshold factor. Default is 1.  Lower is stricter.\n"
                },
                {
                    "name": "skip",
                    "content": "Set how many pixels to skip when sampling frames. Default is 1.  Allowed range is from 1\nto 1024.\n"
                },
                {
                    "name": "bypass",
                    "content": "Leave frames unchanged. Default is disabled.\n"
                },
                {
                    "name": "pixdesctest",
                    "content": "Pixel format descriptor test filter, mainly useful for internal testing. The output video\nshould be equal to the input video.\n\nFor example:\n\nformat=monow, pixdesctest\n\ncan be used to test the monowhite pixel format descriptor definition.\n"
                },
                {
                    "name": "pixscope",
                    "content": "Display sample values of color channels. Mainly useful for checking color and levels. Minimum\nsupported resolution is 640x480.\n\nThe filters accept the following options:\n\nx   Set scope X position, relative offset on X axis.\n\ny   Set scope Y position, relative offset on Y axis.\n\nw   Set scope width.\n\nh   Set scope height.\n\no   Set window opacity. This window also holds statistics about pixel area.\n\nwx  Set window X position, relative offset on X axis.\n\nwy  Set window Y position, relative offset on Y axis.\n\nCommands\n\nThis filter supports same commands as options.\n\npp\nEnable the specified chain of postprocessing subfilters using libpostproc. This library\nshould be automatically selected with a GPL build (\"--enable-gpl\").  Subfilters must be\nseparated by '/' and can be disabled by prepending a '-'.  Each subfilter and some options\nhave a short and a long name that can be used interchangeably, i.e. dr/dering are the same.\n\nThe filters accept the following options:\n"
                },
                {
                    "name": "subfilters",
                    "content": "Set postprocessing subfilters string.\n\nAll subfilters share common options to determine their scope:\n"
                },
                {
                    "name": "a/autoq",
                    "content": "Honor the quality commands for this subfilter.\n"
                },
                {
                    "name": "c/chrom",
                    "content": "Do chrominance filtering, too (default).\n"
                },
                {
                    "name": "y/nochrom",
                    "content": "Do luminance filtering only (no chrominance).\n"
                },
                {
                    "name": "n/noluma",
                    "content": "Do chrominance filtering only (no luminance).\n\nThese options can be appended after the subfilter name, separated by a '|'.\n\nAvailable subfilters are:\n"
                },
                {
                    "name": "hb/hdeblock[|difference[|flatness]]",
                    "content": "Horizontal deblocking filter\n\ndifference\nDifference factor where higher values mean more deblocking (default: 32).\n\nflatness\nFlatness threshold where lower values mean more deblocking (default: 39).\n"
                },
                {
                    "name": "vb/vdeblock[|difference[|flatness]]",
                    "content": "Vertical deblocking filter\n\ndifference\nDifference factor where higher values mean more deblocking (default: 32).\n\nflatness\nFlatness threshold where lower values mean more deblocking (default: 39).\n"
                },
                {
                    "name": "ha/hadeblock[|difference[|flatness]]",
                    "content": "Accurate horizontal deblocking filter\n\ndifference\nDifference factor where higher values mean more deblocking (default: 32).\n\nflatness\nFlatness threshold where lower values mean more deblocking (default: 39).\n"
                },
                {
                    "name": "va/vadeblock[|difference[|flatness]]",
                    "content": "Accurate vertical deblocking filter\n\ndifference\nDifference factor where higher values mean more deblocking (default: 32).\n\nflatness\nFlatness threshold where lower values mean more deblocking (default: 39).\n\nThe horizontal and vertical deblocking filters share the difference and flatness values so\nyou cannot set different horizontal and vertical thresholds.\n"
                },
                {
                    "name": "h1/x1hdeblock",
                    "content": "Experimental horizontal deblocking filter\n"
                },
                {
                    "name": "v1/x1vdeblock",
                    "content": "Experimental vertical deblocking filter\n"
                },
                {
                    "name": "dr/dering",
                    "content": "Deringing filter\n"
                },
                {
                    "name": "tn/tmpnoise[|threshold1[|threshold2[|threshold3]]], temporal noise reducer",
                    "content": "threshold1\nlarger -> stronger filtering\n\nthreshold2\nlarger -> stronger filtering\n\nthreshold3\nlarger -> stronger filtering\n"
                },
                {
                    "name": "al/autolevels[:f/fullyrange], automatic brightness / contrast correction",
                    "content": "f/fullyrange\nStretch luminance to \"0-255\".\n"
                },
                {
                    "name": "lb/linblenddeint",
                    "content": "Linear blend deinterlacing filter that deinterlaces the given block by filtering all\nlines with a \"(1 2 1)\" filter.\n"
                },
                {
                    "name": "li/linipoldeint",
                    "content": "Linear interpolating deinterlacing filter that deinterlaces the given block by linearly\ninterpolating every second line.\n"
                },
                {
                    "name": "ci/cubicipoldeint",
                    "content": "Cubic interpolating deinterlacing filter deinterlaces the given block by cubically\ninterpolating every second line.\n"
                },
                {
                    "name": "md/mediandeint",
                    "content": "Median deinterlacing filter that deinterlaces the given block by applying a median filter\nto every second line.\n"
                },
                {
                    "name": "fd/ffmpegdeint",
                    "content": "FFmpeg deinterlacing filter that deinterlaces the given block by filtering every second\nline with a \"(-1 4 2 4 -1)\" filter.\n"
                },
                {
                    "name": "l5/lowpass5",
                    "content": "Vertically applied FIR lowpass deinterlacing filter that deinterlaces the given block by\nfiltering all lines with a \"(-1 2 6 2 -1)\" filter.\n"
                },
                {
                    "name": "fq/forceQuant[|quantizer]",
                    "content": "Overrides the quantizer table from the input with the constant quantizer you specify.\n\nquantizer\nQuantizer to use\n"
                },
                {
                    "name": "de/default",
                    "content": "Default pp filter combination (\"hb|a,vb|a,dr|a\")\n"
                },
                {
                    "name": "fa/fast",
                    "content": "Fast pp filter combination (\"h1|a,v1|a,dr|a\")\n\nac  High quality pp filter combination (\"ha|a|128|7,va|a,dr|a\")\n\nExamples\n\n•   Apply horizontal and vertical deblocking, deringing and automatic brightness/contrast:\n\npp=hb/vb/dr/al\n\n•   Apply default filters without brightness/contrast correction:\n\npp=de/-al\n\n•   Apply default filters and temporal denoiser:\n\npp=default/tmpnoise|1|2|3\n\n•   Apply deblocking on luminance only, and switch vertical deblocking on or off\nautomatically depending on available CPU time:\n\npp=hb|y/vb|a\n"
                },
                {
                    "name": "pp7",
                    "content": "Apply Postprocessing filter 7. It is variant of the spp filter, similar to spp = 6 with 7\npoint DCT, where only the center sample is used after IDCT.\n\nThe filter accepts the following options:\n\nqp  Force a constant quantization parameter. It accepts an integer in range 0 to 63. If not\nset, the filter will use the QP from the video stream (if available).\n"
                },
                {
                    "name": "mode",
                    "content": "Set thresholding mode. Available modes are:\n\nhard\nSet hard thresholding.\n\nsoft\nSet soft thresholding (better de-ringing effect, but likely blurrier).\n\nmedium\nSet medium thresholding (good results, default).\n"
                },
                {
                    "name": "premultiply",
                    "content": "Apply alpha premultiply effect to input video stream using first plane of second stream as\nalpha.\n\nBoth streams must have same dimensions and same pixel format.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes will be processed, unprocessed planes will be copied.  By default value\n0xf, all planes will be processed.\n"
                },
                {
                    "name": "inplace",
                    "content": "Do not require 2nd input for processing, instead use alpha plane from input stream.\n"
                },
                {
                    "name": "prewitt",
                    "content": "Apply prewitt operator to input video stream.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes will be processed, unprocessed planes will be copied.  By default value\n0xf, all planes will be processed.\n"
                },
                {
                    "name": "scale",
                    "content": "Set value which will be multiplied with filtered result.\n"
                },
                {
                    "name": "delta",
                    "content": "Set value which will be added to filtered result.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "pseudocolor",
                    "content": "Alter frame colors in video with pseudocolors.\n\nThis filter accepts the following options:\n\nc0  set pixel first component expression\n\nc1  set pixel second component expression\n\nc2  set pixel third component expression\n\nc3  set pixel fourth component expression, corresponds to the alpha component\n"
                },
                {
                    "name": "index, i",
                    "content": "set component to use as base for altering colors\n"
                },
                {
                    "name": "preset, p",
                    "content": "Pick one of built-in LUTs. By default is set to none.\n\nAvailable LUTs:\n\nmagma\ninferno\nplasma\nviridis\nturbo\ncividis\nrange1\nrange2\nshadows\nhighlights"
                },
                {
                    "name": "opacity",
                    "content": "Set opacity of output colors. Allowed range is from 0 to 1.  Default value is set to 1.\n\nEach of the expression options specifies the expression to use for computing the lookup table\nfor the corresponding pixel component values.\n\nThe expressions can contain the following constants and functions:\n\nw\nh   The input width and height.\n\nval The input value for the pixel component.\n"
                },
                {
                    "name": "ymin, umin, vmin, amin",
                    "content": "The minimum allowed component value.\n"
                },
                {
                    "name": "ymax, umax, vmax, amax",
                    "content": "The maximum allowed component value.\n\nAll expressions default to \"val\".\n\nCommands\n\nThis filter supports the all above options as commands.\n\nExamples\n\n•   Change too high luma values to gradient:\n\npseudocolor=\"'if(between(val,ymax,amax),lerp(ymin,ymax,(val-ymax)/(amax-ymax)),-1):if(between(val,ymax,amax),lerp(umax,umin,(val-ymax)/(amax-ymax)),-1):if(between(val,ymax,amax),lerp(vmin,vmax,(val-ymax)/(amax-ymax)),-1):-1'\"\n"
                },
                {
                    "name": "psnr",
                    "content": "Obtain the average, maximum and minimum PSNR (Peak Signal to Noise Ratio) between two input\nvideos.\n\nThis filter takes in input two input videos, the first input is considered the \"main\" source\nand is passed unchanged to the output. The second input is used as a \"reference\" video for\ncomputing the PSNR.\n\nBoth video inputs must have the same resolution and pixel format for this filter to work\ncorrectly. Also it assumes that both inputs have the same number of frames, which are\ncompared one by one.\n\nThe obtained average PSNR is printed through the logging system.\n\nThe filter stores the accumulated MSE (mean squared error) of each frame, and at the end of\nthe processing it is averaged across all frames equally, and the following formula is applied\nto obtain the PSNR:\n\nPSNR = 10*log10(MAX^2/MSE)\n\nWhere MAX is the average of the maximum values of each component of the image.\n\nThe description of the accepted parameters follows.\n\nstatsfile, f\nIf specified the filter will use the named file to save the PSNR of each individual\nframe. When filename equals \"-\" the data is sent to standard output.\n\nstatsversion\nSpecifies which version of the stats file format to use. Details of each format are\nwritten below.  Default value is 1.\n\nstatsaddmax\nDetermines whether the max value is output to the stats log.  Default value is 0.\nRequires statsversion >= 2. If this is set and statsversion < 2, the filter will return\nan error.\n\nThis filter also supports the framesync options.\n\nThe file printed if statsfile is selected, contains a sequence of key/value pairs of the\nform key:value for each compared couple of frames.\n\nIf a statsversion greater than 1 is specified, a header line precedes the list of per-frame-\npair stats, with key value pairs following the frame format with the following parameters:\n\npsnrlogversion\nThe version of the log file format. Will match statsversion.\n"
                },
                {
                    "name": "fields",
                    "content": "A comma separated list of the per-frame-pair parameters included in the log.\n\nA description of each shown per-frame-pair parameter follows:\n\nn   sequential number of the input frame, starting from 1\n\nmseavg\nMean Square Error pixel-by-pixel average difference of the compared frames, averaged over\nall the image components.\n\nmsey, mseu, msev, mser, mseg, mseb, msea\nMean Square Error pixel-by-pixel average difference of the compared frames for the\ncomponent specified by the suffix.\n\npsnry, psnru, psnrv, psnrr, psnrg, psnrb, psnra\nPeak Signal to Noise ratio of the compared frames for the component specified by the\nsuffix.\n\nmaxavg, maxy, maxu, maxv\nMaximum allowed value for each channel, and average over all channels.\n\nExamples\n\n•   For example:\n\nmovie=refmovie.mpg, setpts=PTS-STARTPTS [main];\n[main][ref] psnr=\"statsfile=stats.log\" [out]\n\nOn this example the input file being processed is compared with the reference file\nrefmovie.mpg. The PSNR of each individual frame is stored in stats.log.\n\n•   Another example with different containers:\n\nffmpeg -i main.mpg -i ref.mkv -lavfi  \"[0:v]settb=AVTB,setpts=PTS-STARTPTS[main];[1:v]settb=AVTB,setpts=PTS-STARTPTS[ref];[main][ref]psnr\" -f null -\n"
                },
                {
                    "name": "pullup",
                    "content": "Pulldown reversal (inverse telecine) filter, capable of handling mixed hard-telecine,\n24000/1001 fps progressive, and 30000/1001 fps progressive content.\n\nThe pullup filter is designed to take advantage of future context in making its decisions.\nThis filter is stateless in the sense that it does not lock onto a pattern to follow, but it\ninstead looks forward to the following fields in order to identify matches and rebuild\nprogressive frames.\n\nTo produce content with an even framerate, insert the fps filter after pullup, use\n\"fps=24000/1001\" if the input frame rate is 29.97fps, \"fps=24\" for 30fps and the (rare)\ntelecined 25fps input.\n\nThe filter accepts the following options:\n\njl\njr\njt\njb  These options set the amount of \"junk\" to ignore at the left, right, top, and bottom of\nthe image, respectively. Left and right are in units of 8 pixels, while top and bottom\nare in units of 2 lines.  The default is 8 pixels on each side.\n\nsb  Set the strict breaks. Setting this option to 1 will reduce the chances of filter\ngenerating an occasional mismatched frame, but it may also cause an excessive number of\nframes to be dropped during high motion sequences.  Conversely, setting it to -1 will\nmake filter match fields more easily.  This may help processing of video where there is\nslight blurring between the fields, but may also cause there to be interlaced frames in\nthe output.  Default value is 0.\n\nmp  Set the metric plane to use. It accepts the following values:\n\nl   Use luma plane.\n\nu   Use chroma blue plane.\n\nv   Use chroma red plane.\n\nThis option may be set to use chroma plane instead of the default luma plane for doing\nfilter's computations. This may improve accuracy on very clean source material, but more\nlikely will decrease accuracy, especially if there is chroma noise (rainbow effect) or\nany grayscale video.  The main purpose of setting mp to a chroma plane is to reduce CPU\nload and make pullup usable in realtime on slow machines.\n\nFor best results (without duplicated frames in the output file) it is necessary to change the\noutput frame rate. For example, to inverse telecine NTSC input:\n\nffmpeg -i input -vf pullup -r 24000/1001 ...\n\nqp\nChange video quantization parameters (QP).\n\nThe filter accepts the following option:\n\nqp  Set expression for quantization parameter.\n\nThe expression is evaluated through the eval API and can contain, among others, the following\nconstants:\n\nknown\n1 if index is not 129, 0 otherwise.\n\nqp  Sequential index starting from -129 to 128.\n\nExamples\n\n•   Some equation like:\n\nqp=2+2*sin(PI*qp)\n"
                },
                {
                    "name": "random",
                    "content": "Flush video frames from internal cache of frames into a random order.  No frame is discarded.\nInspired by frei0r nervous filter.\n"
                },
                {
                    "name": "frames",
                    "content": "Set size in number of frames of internal cache, in range from 2 to 512. Default is 30.\n"
                },
                {
                    "name": "seed",
                    "content": "Set seed for random number generator, must be an integer included between 0 and\n\"UINT32MAX\". If not specified, or if explicitly set to less than 0, the filter will try\nto use a good random seed on a best effort basis.\n"
                },
                {
                    "name": "readeia608",
                    "content": "Read closed captioning (EIA-608) information from the top lines of a video frame.\n\nThis filter adds frame metadata for \"lavfi.readeia608.X.cc\" and \"lavfi.readeia608.X.line\",\nwhere \"X\" is the number of the identified line with EIA-608 data (starting from 0). A\ndescription of each metadata value follows:\n"
                },
                {
                    "name": "lavfi.readeia608.X.cc",
                    "content": "The two bytes stored as EIA-608 data (printed in hexadecimal).\n"
                },
                {
                    "name": "lavfi.readeia608.X.line",
                    "content": "The number of the line on which the EIA-608 data was identified and read.\n\nThis filter accepts the following options:\n\nscanmin\nSet the line to start scanning for EIA-608 data. Default is 0.\n\nscanmax\nSet the line to end scanning for EIA-608 data. Default is 29.\n\nspw Set the ratio of width reserved for sync code detection.  Default is 0.27. Allowed range\nis \"[0.1 - 0.7]\".\n\nchp Enable checking the parity bit. In the event of a parity error, the filter will output\n0x00 for that character. Default is false.\n\nlp  Lowpass lines prior to further processing. Default is enabled.\n\nCommands\n\nThis filter supports the all above options as commands.\n\nExamples\n\n•   Output a csv with presentation time and the first two lines of identified EIA-608\ncaptioning data.\n\nffprobe -f lavfi -i movie=captionedvideo.mov,readeia608 -showentries frame=pktptstime:frametags=lavfi.readeia608.0.cc,lavfi.readeia608.1.cc -of csv\n"
                },
                {
                    "name": "readvitc",
                    "content": "Read vertical interval timecode (VITC) information from the top lines of a video frame.\n\nThe filter adds frame metadata key \"lavfi.readvitc.tcstr\" with the timecode value, if a\nvalid timecode has been detected. Further metadata key \"lavfi.readvitc.found\" is set to 0/1\ndepending on whether timecode data has been found or not.\n\nThis filter accepts the following options:\n\nscanmax\nSet the maximum number of lines to scan for VITC data. If the value is set to \"-1\" the\nfull video frame is scanned. Default is 45.\n\nthrb\nSet the luma threshold for black. Accepts float numbers in the range [0.0,1.0], default\nvalue is 0.2. The value must be equal or less than \"thrw\".\n\nthrw\nSet the luma threshold for white. Accepts float numbers in the range [0.0,1.0], default\nvalue is 0.6. The value must be equal or greater than \"thrb\".\n\nExamples\n\n•   Detect and draw VITC data onto the video frame; if no valid VITC is detected, draw\n\"--:--:--:--\" as a placeholder:\n\nffmpeg -i input.avi -filter:v 'readvitc,drawtext=fontfile=FreeMono.ttf:text=%{metadata\\\\:lavfi.readvitc.tcstr\\\\:--\\\\\\\\\\\\:--\\\\\\\\\\\\:--\\\\\\\\\\\\:--}:x=(w-tw)/2:y=400-ascent'\n"
                },
                {
                    "name": "remap",
                    "content": "Remap pixels using 2nd: Xmap and 3rd: Ymap input video stream.\n\nDestination pixel at position (X, Y) will be picked from source (x, y) position where x =\nXmap(X, Y) and y = Ymap(X, Y). If mapping values are out of range, zero value for pixel will\nbe used for destination pixel.\n\nXmap and Ymap input video streams must be of same dimensions. Output video stream will have\nXmap/Ymap video stream dimensions.  Xmap and Ymap input video streams are 16bit depth, single\nchannel.\n"
                },
                {
                    "name": "format",
                    "content": "Specify pixel format of output from this filter. Can be \"color\" or \"gray\".  Default is\n\"color\".\n"
                },
                {
                    "name": "fill",
                    "content": "Specify the color of the unmapped pixels. For the syntax of this option, check the\n\"Color\" section in the ffmpeg-utils manual. Default color is \"black\".\n"
                },
                {
                    "name": "removegrain",
                    "content": "The removegrain filter is a spatial denoiser for progressive video.\n\nm0  Set mode for the first plane.\n\nm1  Set mode for the second plane.\n\nm2  Set mode for the third plane.\n\nm3  Set mode for the fourth plane.\n\nRange of mode is from 0 to 24. Description of each mode follows:\n\n0   Leave input plane unchanged. Default.\n\n1   Clips the pixel with the minimum and maximum of the 8 neighbour pixels.\n\n2   Clips the pixel with the second minimum and maximum of the 8 neighbour pixels.\n\n3   Clips the pixel with the third minimum and maximum of the 8 neighbour pixels.\n\n4   Clips the pixel with the fourth minimum and maximum of the 8 neighbour pixels.  This is\nequivalent to a median filter.\n\n5   Line-sensitive clipping giving the minimal change.\n\n6   Line-sensitive clipping, intermediate.\n\n7   Line-sensitive clipping, intermediate.\n\n8   Line-sensitive clipping, intermediate.\n\n9   Line-sensitive clipping on a line where the neighbours pixels are the closest.\n\n10  Replaces the target pixel with the closest neighbour.\n\n11  [1 2 1] horizontal and vertical kernel blur.\n\n12  Same as mode 11.\n\n13  Bob mode, interpolates top field from the line where the neighbours pixels are the\nclosest.\n\n14  Bob mode, interpolates bottom field from the line where the neighbours pixels are the\nclosest.\n\n15  Bob mode, interpolates top field. Same as 13 but with a more complicated interpolation\nformula.\n\n16  Bob mode, interpolates bottom field. Same as 14 but with a more complicated interpolation\nformula.\n\n17  Clips the pixel with the minimum and maximum of respectively the maximum and minimum of\neach pair of opposite neighbour pixels.\n\n18  Line-sensitive clipping using opposite neighbours whose greatest distance from the\ncurrent pixel is minimal.\n\n19  Replaces the pixel with the average of its 8 neighbours.\n\n20  Averages the 9 pixels ([1 1 1] horizontal and vertical blur).\n\n21  Clips pixels using the averages of opposite neighbour.\n\n22  Same as mode 21 but simpler and faster.\n\n23  Small edge and halo removal, but reputed useless.\n\n24  Similar as 23.\n"
                },
                {
                    "name": "removelogo",
                    "content": "Suppress a TV station logo, using an image file to determine which pixels comprise the logo.\nIt works by filling in the pixels that comprise the logo with neighboring pixels.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "filename, f",
                    "content": "Set the filter bitmap file, which can be any image format supported by libavformat. The\nwidth and height of the image file must match those of the video stream being processed.\n\nPixels in the provided bitmap image with a value of zero are not considered part of the logo,\nnon-zero pixels are considered part of the logo. If you use white (255) for the logo and\nblack (0) for the rest, you will be safe. For making the filter bitmap, it is recommended to\ntake a screen capture of a black frame with the logo visible, and then using a threshold\nfilter followed by the erode filter once or twice.\n\nIf needed, little splotches can be fixed manually. Remember that if logo pixels are not\ncovered, the filter quality will be much reduced. Marking too many pixels as part of the logo\ndoes not hurt as much, but it will increase the amount of blurring needed to cover over the\nimage and will destroy more information than necessary, and extra pixels will slow things\ndown on a large logo.\n"
                },
                {
                    "name": "repeatfields",
                    "content": "This filter uses the repeatfield flag from the Video ES headers and hard repeats fields\nbased on its value.\n"
                },
                {
                    "name": "reverse",
                    "content": "Reverse a video clip.\n\nWarning: This filter requires memory to buffer the entire clip, so trimming is suggested.\n\nExamples\n\n•   Take the first 5 seconds of a clip, and reverse it.\n\ntrim=end=5,reverse\n"
                },
                {
                    "name": "rgbashift",
                    "content": "Shift R/G/B/A pixels horizontally and/or vertically.\n\nThe filter accepts the following options:\n\nrh  Set amount to shift red horizontally.\n\nrv  Set amount to shift red vertically.\n\ngh  Set amount to shift green horizontally.\n\ngv  Set amount to shift green vertically.\n\nbh  Set amount to shift blue horizontally.\n\nbv  Set amount to shift blue vertically.\n\nah  Set amount to shift alpha horizontally.\n\nav  Set amount to shift alpha vertically.\n"
                },
                {
                    "name": "edge",
                    "content": "Set edge mode, can be smear, default, or warp.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "roberts",
                    "content": "Apply roberts cross operator to input video stream.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes will be processed, unprocessed planes will be copied.  By default value\n0xf, all planes will be processed.\n"
                },
                {
                    "name": "scale",
                    "content": "Set value which will be multiplied with filtered result.\n"
                },
                {
                    "name": "delta",
                    "content": "Set value which will be added to filtered result.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "rotate",
                    "content": "Rotate video by an arbitrary angle expressed in radians.\n\nThe filter accepts the following options:\n\nA description of the optional parameters follows.\n"
                },
                {
                    "name": "angle, a",
                    "content": "Set an expression for the angle by which to rotate the input video clockwise, expressed\nas a number of radians. A negative value will result in a counter-clockwise rotation. By\ndefault it is set to \"0\".\n\nThis expression is evaluated for each frame.\n\noutw, ow\nSet the output width expression, default value is \"iw\".  This expression is evaluated\njust once during configuration.\n\nouth, oh\nSet the output height expression, default value is \"ih\".  This expression is evaluated\njust once during configuration.\n"
                },
                {
                    "name": "bilinear",
                    "content": "Enable bilinear interpolation if set to 1, a value of 0 disables it. Default value is 1.\n"
                },
                {
                    "name": "fillcolor, c",
                    "content": "Set the color used to fill the output area not covered by the rotated image. For the\ngeneral syntax of this option, check the \"Color\" section in the ffmpeg-utils manual.  If\nthe special value \"none\" is selected then no background is printed (useful for example if\nthe background is never shown).\n\nDefault value is \"black\".\n\nThe expressions for the angle and the output size can contain the following constants and\nfunctions:\n\nn   sequential number of the input frame, starting from 0. It is always NAN before the first\nframe is filtered.\n\nt   time in seconds of the input frame, it is set to 0 when the filter is configured. It is\nalways NAN before the first frame is filtered.\n"
                },
                {
                    "name": "hsub",
                    "content": ""
                },
                {
                    "name": "vsub",
                    "content": "horizontal and vertical chroma subsample values. For example for the pixel format\n\"yuv422p\" hsub is 2 and vsub is 1.\n\ninw, iw\ninh, ih\nthe input video width and height\n\noutw, ow\nouth, oh\nthe output width and height, that is the size of the padded area as specified by the\nwidth and height expressions\n"
                },
                {
                    "name": "rotw(a)",
                    "content": ""
                },
                {
                    "name": "roth(a)",
                    "content": "the minimal width/height required for completely containing the input video rotated by a\nradians.\n\nThese are only available when computing the outw and outh expressions.\n\nExamples\n\n•   Rotate the input by PI/6 radians clockwise:\n\nrotate=PI/6\n\n•   Rotate the input by PI/6 radians counter-clockwise:\n\nrotate=-PI/6\n\n•   Rotate the input by 45 degrees clockwise:\n\nrotate=45*PI/180\n\n•   Apply a constant rotation with period T, starting from an angle of PI/3:\n\nrotate=PI/3+2*PI*t/T\n\n•   Make the input video rotation oscillating with a period of T seconds and an amplitude of\nA radians:\n\nrotate=A*sin(2*PI/T*t)\n\n•   Rotate the video, output size is chosen so that the whole rotating input video is always\ncompletely contained in the output:\n\nrotate='2*PI*t:ow=hypot(iw,ih):oh=ow'\n\n•   Rotate the video, reduce the output size so that no background is ever shown:\n\nrotate=2*PI*t:ow='min(iw,ih)/sqrt(2)':oh=ow:c=none\n\nCommands\n\nThe filter supports the following commands:\n"
                },
                {
                    "name": "a, angle",
                    "content": "Set the angle expression.  The command accepts the same syntax of the corresponding\noption.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "sab",
                    "content": "Apply Shape Adaptive Blur.\n\nThe filter accepts the following options:\n\nlumaradius, lr\nSet luma blur filter strength, must be a value in range 0.1-4.0, default value is 1.0. A\ngreater value will result in a more blurred image, and in slower processing.\n\nlumaprefilterradius, lpfr\nSet luma pre-filter radius, must be a value in the 0.1-2.0 range, default value is 1.0.\n\nlumastrength, ls\nSet luma maximum difference between pixels to still be considered, must be a value in the\n0.1-100.0 range, default value is 1.0.\n\nchromaradius, cr\nSet chroma blur filter strength, must be a value in range -0.9-4.0. A greater value will\nresult in a more blurred image, and in slower processing.\n\nchromaprefilterradius, cpfr\nSet chroma pre-filter radius, must be a value in the -0.9-2.0 range.\n\nchromastrength, cs\nSet chroma maximum difference between pixels to still be considered, must be a value in\nthe -0.9-100.0 range.\n\nEach chroma option value, if not explicitly specified, is set to the corresponding luma\noption value.\n"
                },
                {
                    "name": "scale",
                    "content": "Scale (resize) the input video, using the libswscale library.\n\nThe scale filter forces the output display aspect ratio to be the same of the input, by\nchanging the output sample aspect ratio.\n\nIf the input image format is different from the format requested by the next filter, the\nscale filter will convert the input to the requested format.\n\nOptions\n\nThe filter accepts the following options, or any of the options supported by the libswscale\nscaler.\n\nSee the ffmpeg-scaler manual for the complete list of scaler options.\n"
                },
                {
                    "name": "width, w",
                    "content": ""
                },
                {
                    "name": "height, h",
                    "content": "Set the output video dimension expression. Default value is the input dimension.\n\nIf the width or w value is 0, the input width is used for the output. If the height or h\nvalue is 0, the input height is used for the output.\n\nIf one and only one of the values is -n with n >= 1, the scale filter will use a value\nthat maintains the aspect ratio of the input image, calculated from the other specified\ndimension. After that it will, however, make sure that the calculated dimension is\ndivisible by n and adjust the value if necessary.\n\nIf both values are -n with n >= 1, the behavior will be identical to both values being\nset to 0 as previously detailed.\n\nSee below for the list of accepted constants for use in the dimension expression.\n"
                },
                {
                    "name": "eval",
                    "content": "Specify when to evaluate width and height expression. It accepts the following values:\n\ninit\nOnly evaluate expressions once during the filter initialization or when a command is\nprocessed.\n\nframe\nEvaluate expressions for each incoming frame.\n\nDefault value is init.\n"
                },
                {
                    "name": "interl",
                    "content": "Set the interlacing mode. It accepts the following values:\n\n1   Force interlaced aware scaling.\n\n0   Do not apply interlaced scaling.\n\n-1  Select interlaced aware scaling depending on whether the source frames are flagged as\ninterlaced or not.\n\nDefault value is 0.\n"
                },
                {
                    "name": "flags",
                    "content": "Set libswscale scaling flags. See the ffmpeg-scaler manual for the complete list of\nvalues. If not explicitly specified the filter applies the default flags.\n"
                },
                {
                    "name": "param0, param1",
                    "content": "Set libswscale input parameters for scaling algorithms that need them. See the ffmpeg-\nscaler manual for the complete documentation. If not explicitly specified the filter\napplies empty parameters.\n"
                },
                {
                    "name": "size, s",
                    "content": "Set the video size. For the syntax of this option, check the \"Video size\" section in the\nffmpeg-utils manual.\n\nincolormatrix\noutcolormatrix\nSet in/output YCbCr color space type.\n\nThis allows the autodetected value to be overridden as well as allows forcing a specific\nvalue used for the output and encoder.\n\nIf not specified, the color space type depends on the pixel format.\n\nPossible values:\n\nauto\nChoose automatically.\n\nbt709\nFormat conforming to International Telecommunication Union (ITU) Recommendation\nBT.709.\n\nfcc Set color space conforming to the United States Federal Communications Commission\n(FCC) Code of Federal Regulations (CFR) Title 47 (2003) 73.682 (a).\n\nbt601\nbt470\nsmpte170m\nSet color space conforming to:\n\n•   ITU Radiocommunication Sector (ITU-R) Recommendation BT.601\n\n•   ITU-R Rec. BT.470-6 (1998) Systems B, B1, and G\n\n•   Society of Motion Picture and Television Engineers (SMPTE) ST 170:2004\n\nsmpte240m\nSet color space conforming to SMPTE ST 240:1999.\n\nbt2020\nSet color space conforming to ITU-R BT.2020 non-constant luminance system.\n\ninrange\noutrange\nSet in/output YCbCr sample range.\n\nThis allows the autodetected value to be overridden as well as allows forcing a specific\nvalue used for the output and encoder. If not specified, the range depends on the pixel\nformat. Possible values:\n\nauto/unknown\nChoose automatically.\n\njpeg/full/pc\nSet full range (0-255 in case of 8-bit luma).\n\nmpeg/limited/tv\nSet \"MPEG\" range (16-235 in case of 8-bit luma).\n\nforceoriginalaspectratio\nEnable decreasing or increasing output video width or height if necessary to keep the\noriginal aspect ratio. Possible values:\n\ndisable\nScale the video as specified and disable this feature.\n\ndecrease\nThe output video dimensions will automatically be decreased if needed.\n\nincrease\nThe output video dimensions will automatically be increased if needed.\n\nOne useful instance of this option is that when you know a specific device's maximum\nallowed resolution, you can use this to limit the output video to that, while retaining\nthe aspect ratio. For example, device A allows 1280x720 playback, and your video is\n1920x800. Using this option (set it to decrease) and specifying 1280x720 to the command\nline makes the output 1280x533.\n\nPlease note that this is a different thing than specifying -1 for w or h, you still need\nto specify the output resolution for this option to work.\n\nforcedivisibleby\nEnsures that both the output dimensions, width and height, are divisible by the given\ninteger when used together with forceoriginalaspectratio. This works similar to using\n\"-n\" in the w and h options.\n\nThis option respects the value set for forceoriginalaspectratio, increasing or\ndecreasing the resolution accordingly. The video's aspect ratio may be slightly modified.\n\nThis option can be handy if you need to have a video fit within or exceed a defined\nresolution using forceoriginalaspectratio but also have encoder restrictions on width\nor height divisibility.\n\nThe values of the w and h options are expressions containing the following constants:\n\ninw\ninh\nThe input width and height\n\niw\nih  These are the same as inw and inh.\n\noutw\nouth\nThe output (scaled) width and height\n\now\noh  These are the same as outw and outh\n\na   The same as iw / ih\n\nsar input sample aspect ratio\n\ndar The input display aspect ratio. Calculated from \"(iw / ih) * sar\".\n\nhsub\nvsub\nhorizontal and vertical input chroma subsample values. For example for the pixel format\n\"yuv422p\" hsub is 2 and vsub is 1.\n\nohsub\novsub\nhorizontal and vertical output chroma subsample values. For example for the pixel format\n\"yuv422p\" hsub is 2 and vsub is 1.\n\nn   The (sequential) number of the input frame, starting from 0.  Only available with\n\"eval=frame\".\n\nt   The presentation timestamp of the input frame, expressed as a number of seconds. Only\navailable with \"eval=frame\".\n\npos The position (byte offset) of the frame in the input stream, or NaN if this information\nis unavailable and/or meaningless (for example in case of synthetic video).  Only\navailable with \"eval=frame\".\n\nExamples\n\n•   Scale the input video to a size of 200x100\n\nscale=w=200:h=100\n\nThis is equivalent to:\n\nscale=200:100\n\nor:\n\nscale=200x100\n\n•   Specify a size abbreviation for the output size:\n\nscale=qcif\n\nwhich can also be written as:\n\nscale=size=qcif\n\n•   Scale the input to 2x:\n\nscale=w=2*iw:h=2*ih\n\n•   The above is the same as:\n\nscale=2*inw:2*inh\n\n•   Scale the input to 2x with forced interlaced scaling:\n\nscale=2*iw:2*ih:interl=1\n\n•   Scale the input to half size:\n\nscale=w=iw/2:h=ih/2\n\n•   Increase the width, and set the height to the same size:\n\nscale=3/2*iw:ow\n\n•   Seek Greek harmony:\n\nscale=iw:1/PHI*iw\nscale=ih*PHI:ih\n\n•   Increase the height, and set the width to 3/2 of the height:\n\nscale=w=3/2*oh:h=3/5*ih\n\n•   Increase the size, making the size a multiple of the chroma subsample values:\n\nscale=\"trunc(3/2*iw/hsub)*hsub:trunc(3/2*ih/vsub)*vsub\"\n\n•   Increase the width to a maximum of 500 pixels, keeping the same aspect ratio as the\ninput:\n\nscale=w='min(500\\, iw*3/2):h=-1'\n\n•   Make pixels square by combining scale and setsar:\n\nscale='trunc(ih*dar):ih',setsar=1/1\n\n•   Make pixels square by combining scale and setsar, making sure the resulting resolution is\neven (required by some codecs):\n\nscale='trunc(ih*dar/2)*2:trunc(ih/2)*2',setsar=1/1\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "width, w",
                    "content": ""
                },
                {
                    "name": "height, h",
                    "content": "Set the output video dimension expression.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n\nscalenpp\nUse the NVIDIA Performance Primitives (libnpp) to perform scaling and/or pixel format\nconversion on CUDA video frames. Setting the output width and height works in the same way as\nfor the scale filter.\n\nThe following additional options are accepted:\n"
                },
                {
                    "name": "format",
                    "content": "The pixel format of the output CUDA frames. If set to the string \"same\" (the default),\nthe input format will be kept. Note that automatic format negotiation and conversion is\nnot yet supported for hardware frames\n\ninterpalgo\nThe interpolation algorithm used for resizing. One of the following:\n\nnn  Nearest neighbour.\n\nlinear\ncubic\ncubic2pbspline\n2-parameter cubic (B=1, C=0)\n\ncubic2pcatmullrom\n2-parameter cubic (B=0, C=1/2)\n\ncubic2pb05c03\n2-parameter cubic (B=1/2, C=3/10)\n\nsuper\nSupersampling\n\nlanczos\nforceoriginalaspectratio\nEnable decreasing or increasing output video width or height if necessary to keep the\noriginal aspect ratio. Possible values:\n\ndisable\nScale the video as specified and disable this feature.\n\ndecrease\nThe output video dimensions will automatically be decreased if needed.\n\nincrease\nThe output video dimensions will automatically be increased if needed.\n\nOne useful instance of this option is that when you know a specific device's maximum\nallowed resolution, you can use this to limit the output video to that, while retaining\nthe aspect ratio. For example, device A allows 1280x720 playback, and your video is\n1920x800. Using this option (set it to decrease) and specifying 1280x720 to the command\nline makes the output 1280x533.\n\nPlease note that this is a different thing than specifying -1 for w or h, you still need\nto specify the output resolution for this option to work.\n\nforcedivisibleby\nEnsures that both the output dimensions, width and height, are divisible by the given\ninteger when used together with forceoriginalaspectratio. This works similar to using\n\"-n\" in the w and h options.\n\nThis option respects the value set for forceoriginalaspectratio, increasing or\ndecreasing the resolution accordingly. The video's aspect ratio may be slightly modified.\n\nThis option can be handy if you need to have a video fit within or exceed a defined\nresolution using forceoriginalaspectratio but also have encoder restrictions on width\nor height divisibility.\n"
                },
                {
                    "name": "scale2ref",
                    "content": "Scale (resize) the input video, based on a reference video.\n\nSee the scale filter for available options, scale2ref supports the same but uses the\nreference video instead of the main input as basis. scale2ref also supports the following\nadditional constants for the w and h options:\n\nmainw\nmainh\nThe main input video's width and height\n\nmaina\nThe same as mainw / mainh\n\nmainsar\nThe main input video's sample aspect ratio\n\nmaindar, mdar\nThe main input video's display aspect ratio. Calculated from \"(mainw / mainh) *\nmainsar\".\n\nmainhsub\nmainvsub\nThe main input video's horizontal and vertical chroma subsample values.  For example for\nthe pixel format \"yuv422p\" hsub is 2 and vsub is 1.\n\nmainn\nThe (sequential) number of the main input frame, starting from 0.  Only available with\n\"eval=frame\".\n\nmaint\nThe presentation timestamp of the main input frame, expressed as a number of seconds.\nOnly available with \"eval=frame\".\n\nmainpos\nThe position (byte offset) of the frame in the main input stream, or NaN if this\ninformation is unavailable and/or meaningless (for example in case of synthetic video).\nOnly available with \"eval=frame\".\n\nExamples\n\n•   Scale a subtitle stream (b) to match the main video (a) in size before overlaying\n\n'scale2ref[b][a];[a][b]overlay'\n\n•   Scale a logo to 1/10th the height of a video, while preserving its display aspect ratio.\n\n[logo-in][video-in]scale2ref=w=oh*mdar:h=ih/10[logo-out][video-out]\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "width, w",
                    "content": ""
                },
                {
                    "name": "height, h",
                    "content": "Set the output video dimension expression.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                },
                {
                    "name": "scroll",
                    "content": "Scroll input video horizontally and/or vertically by constant speed.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "horizontal, h",
                    "content": "Set the horizontal scrolling speed. Default is 0. Allowed range is from -1 to 1.\nNegative values changes scrolling direction.\n"
                },
                {
                    "name": "vertical, v",
                    "content": "Set the vertical scrolling speed. Default is 0. Allowed range is from -1 to 1.  Negative\nvalues changes scrolling direction.\n"
                },
                {
                    "name": "hpos",
                    "content": "Set the initial horizontal scrolling position. Default is 0. Allowed range is from 0 to\n1.\n"
                },
                {
                    "name": "vpos",
                    "content": "Set the initial vertical scrolling position. Default is 0. Allowed range is from 0 to 1.\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "horizontal, h",
                    "content": "Set the horizontal scrolling speed.\n"
                },
                {
                    "name": "vertical, v",
                    "content": "Set the vertical scrolling speed.\n"
                },
                {
                    "name": "scdet",
                    "content": "Detect video scene change.\n\nThis filter sets frame metadata with mafd between frame, the scene score, and forward the\nframe to the next filter, so they can use these metadata to detect scene change or others.\n\nIn addition, this filter logs a message and sets frame metadata when it detects a scene\nchange by threshold.\n\n\"lavfi.scd.mafd\" metadata keys are set with mafd for every frame.\n\n\"lavfi.scd.score\" metadata keys are set with scene change score for every frame to detect\nscene change.\n\n\"lavfi.scd.time\" metadata keys are set with current filtered frame time which detect scene\nchange with threshold.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "threshold, t",
                    "content": "Set the scene change detection threshold as a percentage of maximum change. Good values\nare in the \"[8.0, 14.0]\" range. The range for threshold is \"[0., 100.]\".\n\nDefault value is 10..\n\nscpass, s\nSet the flag to pass scene change frames to the next filter. Default value is 0 You can\nenable it if you want to get snapshot of scene change frames only.\n"
                },
                {
                    "name": "selectivecolor",
                    "content": "Adjust cyan, magenta, yellow and black (CMYK) to certain ranges of colors (such as \"reds\",\n\"yellows\", \"greens\", \"cyans\", ...). The adjustment range is defined by the \"purity\" of the\ncolor (that is, how saturated it already is).\n\nThis filter is similar to the Adobe Photoshop Selective Color tool.\n\nThe filter accepts the following options:\n\ncorrectionmethod\nSelect color correction method.\n\nAvailable values are:\n\nabsolute\nSpecified adjustments are applied \"as-is\" (added/subtracted to original pixel\ncomponent value).\n\nrelative\nSpecified adjustments are relative to the original component value.\n\nDefault is \"absolute\".\n"
                },
                {
                    "name": "reds",
                    "content": "Adjustments for red pixels (pixels where the red component is the maximum)\n"
                },
                {
                    "name": "yellows",
                    "content": "Adjustments for yellow pixels (pixels where the blue component is the minimum)\n"
                },
                {
                    "name": "greens",
                    "content": "Adjustments for green pixels (pixels where the green component is the maximum)\n"
                },
                {
                    "name": "cyans",
                    "content": "Adjustments for cyan pixels (pixels where the red component is the minimum)\n"
                },
                {
                    "name": "blues",
                    "content": "Adjustments for blue pixels (pixels where the blue component is the maximum)\n"
                },
                {
                    "name": "magentas",
                    "content": "Adjustments for magenta pixels (pixels where the green component is the minimum)\n"
                },
                {
                    "name": "whites",
                    "content": "Adjustments for white pixels (pixels where all components are greater than 128)\n"
                },
                {
                    "name": "neutrals",
                    "content": "Adjustments for all pixels except pure black and pure white\n"
                },
                {
                    "name": "blacks",
                    "content": "Adjustments for black pixels (pixels where all components are lesser than 128)\n"
                },
                {
                    "name": "psfile",
                    "content": "Specify a Photoshop selective color file (\".asv\") to import the settings from.\n\nAll the adjustment settings (reds, yellows, ...) accept up to 4 space separated floating\npoint adjustment values in the [-1,1] range, respectively to adjust the amount of cyan,\nmagenta, yellow and black for the pixels of its range.\n\nExamples\n\n•   Increase cyan by 50% and reduce yellow by 33% in every green areas, and increase magenta\nby 27% in blue areas:\n\nselectivecolor=greens=.5 0 -.33 0:blues=0 .27\n\n•   Use a Photoshop selective color preset:\n\nselectivecolor=psfile=MySelectiveColorPresets/Misty.asv\n"
                },
                {
                    "name": "separatefields",
                    "content": "The \"separatefields\" takes a frame-based video input and splits each frame into its\ncomponents fields, producing a new half height clip with twice the frame rate and twice the\nframe count.\n\nThis filter use field-dominance information in frame to decide which of each pair of fields\nto place first in the output.  If it gets it wrong use setfield filter before\n\"separatefields\" filter.\n"
                },
                {
                    "name": "setdar, setsar",
                    "content": "The \"setdar\" filter sets the Display Aspect Ratio for the filter output video.\n\nThis is done by changing the specified Sample (aka Pixel) Aspect Ratio, according to the\nfollowing equation:\n\n<DAR> = <HORIZONTALRESOLUTION> / <VERTICALRESOLUTION> * <SAR>\n\nKeep in mind that the \"setdar\" filter does not modify the pixel dimensions of the video\nframe. Also, the display aspect ratio set by this filter may be changed by later filters in\nthe filterchain, e.g. in case of scaling or if another \"setdar\" or a \"setsar\" filter is\napplied.\n\nThe \"setsar\" filter sets the Sample (aka Pixel) Aspect Ratio for the filter output video.\n\nNote that as a consequence of the application of this filter, the output display aspect ratio\nwill change according to the equation above.\n\nKeep in mind that the sample aspect ratio set by the \"setsar\" filter may be changed by later\nfilters in the filterchain, e.g. if another \"setsar\" or a \"setdar\" filter is applied.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "r, ratio, dar (\"setdar\" only), sar (\"setsar\" only)",
                    "content": "Set the aspect ratio used by the filter.\n\nThe parameter can be a floating point number string, an expression, or a string of the\nform num:den, where num and den are the numerator and denominator of the aspect ratio. If\nthe parameter is not specified, it is assumed the value \"0\".  In case the form \"num:den\"\nis used, the \":\" character should be escaped.\n\nmax Set the maximum integer value to use for expressing numerator and denominator when\nreducing the expressed aspect ratio to a rational.  Default value is 100.\n\nThe parameter sar is an expression containing the following constants:\n"
                },
                {
                    "name": "E, PI, PHI",
                    "content": "These are approximated values for the mathematical constants e (Euler's number), pi\n(Greek pi), and phi (the golden ratio).\n"
                },
                {
                    "name": "w, h",
                    "content": "The input width and height.\n\na   These are the same as w / h.\n\nsar The input sample aspect ratio.\n\ndar The input display aspect ratio. It is the same as (w / h) * sar.\n"
                },
                {
                    "name": "hsub, vsub",
                    "content": "Horizontal and vertical chroma subsample values. For example, for the pixel format\n\"yuv422p\" hsub is 2 and vsub is 1.\n\nExamples\n\n•   To change the display aspect ratio to 16:9, specify one of the following:\n\nsetdar=dar=1.77777\nsetdar=dar=16/9\n\n•   To change the sample aspect ratio to 10:11, specify:\n\nsetsar=sar=10/11\n\n•   To set a display aspect ratio of 16:9, and specify a maximum integer value of 1000 in the\naspect ratio reduction, use the command:\n\nsetdar=ratio=16/9:max=1000\n"
                },
                {
                    "name": "setfield",
                    "content": "Force field for the output video frame.\n\nThe \"setfield\" filter marks the interlace type field for the output frames. It does not\nchange the input frame, but only sets the corresponding property, which affects how the frame\nis treated by following filters (e.g. \"fieldorder\" or \"yadif\").\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "mode",
                    "content": "Available values are:\n\nauto\nKeep the same field property.\n\nbff Mark the frame as bottom-field-first.\n\ntff Mark the frame as top-field-first.\n\nprog\nMark the frame as progressive.\n"
                },
                {
                    "name": "setparams",
                    "content": "Force frame parameter for the output video frame.\n\nThe \"setparams\" filter marks interlace and color range for the output frames. It does not\nchange the input frame, but only sets the corresponding property, which affects how the frame\nis treated by filters/encoders.\n\nfieldmode\nAvailable values are:\n\nauto\nKeep the same field property (default).\n\nbff Mark the frame as bottom-field-first.\n\ntff Mark the frame as top-field-first.\n\nprog\nMark the frame as progressive.\n"
                },
                {
                    "name": "range",
                    "content": "Available values are:\n\nauto\nKeep the same color range property (default).\n\nunspecified, unknown\nMark the frame as unspecified color range.\n\nlimited, tv, mpeg\nMark the frame as limited range.\n\nfull, pc, jpeg\nMark the frame as full range.\n\ncolorprimaries\nSet the color primaries.  Available values are:\n\nauto\nKeep the same color primaries property (default).\n\nbt709\nunknown\nbt470m\nbt470bg\nsmpte170m\nsmpte240m\nfilm\nbt2020\nsmpte428\nsmpte431\nsmpte432\njedec-p22\ncolortrc\nSet the color transfer.  Available values are:\n\nauto\nKeep the same color trc property (default).\n\nbt709\nunknown\nbt470m\nbt470bg\nsmpte170m\nsmpte240m\nlinear\nlog100\nlog316\niec61966-2-4\nbt1361e\niec61966-2-1\nbt2020-10\nbt2020-12\nsmpte2084\nsmpte428\narib-std-b67"
                },
                {
                    "name": "colorspace",
                    "content": "Set the colorspace.  Available values are:\n\nauto\nKeep the same colorspace property (default).\n\ngbr\nbt709\nunknown\nfcc\nbt470bg\nsmpte170m\nsmpte240m\nycgco\nbt2020nc\nbt2020c\nsmpte2085\nchroma-derived-nc\nchroma-derived-c\nictcp\n"
                },
                {
                    "name": "shear",
                    "content": "Apply shear transform to input video.\n\nThis filter supports the following options:\n\nshx Shear factor in X-direction. Default value is 0.  Allowed range is from -2 to 2.\n\nshy Shear factor in Y-direction. Default value is 0.  Allowed range is from -2 to 2.\n"
                },
                {
                    "name": "fillcolor, c",
                    "content": "Set the color used to fill the output area not covered by the transformed video. For the\ngeneral syntax of this option, check the \"Color\" section in the ffmpeg-utils manual.  If\nthe special value \"none\" is selected then no background is printed (useful for example if\nthe background is never shown).\n\nDefault value is \"black\".\n"
                },
                {
                    "name": "interp",
                    "content": "Set interpolation type. Can be \"bilinear\" or \"nearest\". Default is \"bilinear\".\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "showinfo",
                    "content": "Show a line containing various information for each input video frame.  The input video is\nnot modified.\n\nThis filter supports the following options:\n"
                },
                {
                    "name": "checksum",
                    "content": "Calculate checksums of each plane. By default enabled.\n\nThe shown line contains a sequence of key/value pairs of the form key:value.\n\nThe following values are shown in the output:\n\nn   The (sequential) number of the input frame, starting from 0.\n\npts The Presentation TimeStamp of the input frame, expressed as a number of time base units.\nThe time base unit depends on the filter input pad.\n\nptstime\nThe Presentation TimeStamp of the input frame, expressed as a number of seconds.\n\npos The position of the frame in the input stream, or -1 if this information is unavailable\nand/or meaningless (for example in case of synthetic video).\n\nfmt The pixel format name.\n\nsar The sample aspect ratio of the input frame, expressed in the form num/den.\n\ns   The size of the input frame. For the syntax of this option, check the \"Video size\"\nsection in the ffmpeg-utils manual.\n\ni   The type of interlaced mode (\"P\" for \"progressive\", \"T\" for top field first, \"B\" for\nbottom field first).\n"
                },
                {
                    "name": "iskey",
                    "content": "This is 1 if the frame is a key frame, 0 otherwise.\n"
                },
                {
                    "name": "type",
                    "content": "The picture type of the input frame (\"I\" for an I-frame, \"P\" for a P-frame, \"B\" for a\nB-frame, or \"?\" for an unknown type).  Also refer to the documentation of the\n\"AVPictureType\" enum and of the \"avgetpicturetypechar\" function defined in\nlibavutil/avutil.h.\n"
                },
                {
                    "name": "checksum",
                    "content": "The Adler-32 checksum (printed in hexadecimal) of all the planes of the input frame.\n\nplanechecksum\nThe Adler-32 checksum (printed in hexadecimal) of each plane of the input frame,\nexpressed in the form \"[c0 c1 c2 c3]\".\n"
                },
                {
                    "name": "mean",
                    "content": "The mean value of pixels in each plane of the input frame, expressed in the form \"[mean0\nmean1 mean2 mean3]\".\n"
                },
                {
                    "name": "stdev",
                    "content": "The standard deviation of pixel values in each plane of the input frame, expressed in the\nform \"[stdev0 stdev1 stdev2 stdev3]\".\n"
                },
                {
                    "name": "showpalette",
                    "content": "Displays the 256 colors palette of each frame. This filter is only relevant for pal8 pixel\nformat frames.\n\nIt accepts the following option:\n\ns   Set the size of the box used to represent one palette color entry. Default is 30 (for a\n\"30x30\" pixel box).\n"
                },
                {
                    "name": "shuffleframes",
                    "content": "Reorder and/or duplicate and/or drop video frames.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "mapping",
                    "content": "Set the destination indexes of input frames.  This is space or '|' separated list of\nindexes that maps input frames to output frames. Number of indexes also sets maximal\nvalue that each index may have.  '-1' index have special meaning and that is to drop\nframe.\n\nThe first frame has the index 0. The default is to keep the input unchanged.\n\nExamples\n\n•   Swap second and third frame of every three frames of the input:\n\nffmpeg -i INPUT -vf \"shuffleframes=0 2 1\" OUTPUT\n\n•   Swap 10th and 1st frame of every ten frames of the input:\n\nffmpeg -i INPUT -vf \"shuffleframes=9 1 2 3 4 5 6 7 8 0\" OUTPUT\n"
                },
                {
                    "name": "shufflepixels",
                    "content": "Reorder pixels in video frames.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "direction, d",
                    "content": "Set shuffle direction. Can be forward or inverse direction.  Default direction is\nforward.\n"
                },
                {
                    "name": "mode, m",
                    "content": "Set shuffle mode. Can be horizontal, vertical or block mode.\n"
                },
                {
                    "name": "width, w",
                    "content": ""
                },
                {
                    "name": "height, h",
                    "content": "Set shuffle blocksize. In case of horizontal shuffle mode only width part of size is\nused, and in case of vertical shuffle mode only height part of size is used.\n"
                },
                {
                    "name": "seed, s",
                    "content": "Set random seed used with shuffling pixels. Mainly useful to set to be able to reverse\nfiltering process to get original input.  For example, to reverse forward shuffle you\nneed to use same parameters and exact same seed and to set direction to inverse.\n"
                },
                {
                    "name": "shuffleplanes",
                    "content": "Reorder and/or duplicate video planes.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "map0",
                    "content": "The index of the input plane to be used as the first output plane.\n"
                },
                {
                    "name": "map1",
                    "content": "The index of the input plane to be used as the second output plane.\n"
                },
                {
                    "name": "map2",
                    "content": "The index of the input plane to be used as the third output plane.\n"
                },
                {
                    "name": "map3",
                    "content": "The index of the input plane to be used as the fourth output plane.\n\nThe first plane has the index 0. The default is to keep the input unchanged.\n\nExamples\n\n•   Swap the second and third planes of the input:\n\nffmpeg -i INPUT -vf shuffleplanes=0:2:1:3 OUTPUT\n"
                },
                {
                    "name": "signalstats",
                    "content": "Evaluate various visual metrics that assist in determining issues associated with the\ndigitization of analog video media.\n\nBy default the filter will log these metadata values:\n\nYMIN\nDisplay the minimal Y value contained within the input frame. Expressed in range of\n[0-255].\n\nYLOW\nDisplay the Y value at the 10% percentile within the input frame. Expressed in range of\n[0-255].\n\nYAVG\nDisplay the average Y value within the input frame. Expressed in range of [0-255].\n\nYHIGH\nDisplay the Y value at the 90% percentile within the input frame. Expressed in range of\n[0-255].\n\nYMAX\nDisplay the maximum Y value contained within the input frame. Expressed in range of\n[0-255].\n\nUMIN\nDisplay the minimal U value contained within the input frame. Expressed in range of\n[0-255].\n\nULOW\nDisplay the U value at the 10% percentile within the input frame. Expressed in range of\n[0-255].\n\nUAVG\nDisplay the average U value within the input frame. Expressed in range of [0-255].\n\nUHIGH\nDisplay the U value at the 90% percentile within the input frame. Expressed in range of\n[0-255].\n\nUMAX\nDisplay the maximum U value contained within the input frame. Expressed in range of\n[0-255].\n\nVMIN\nDisplay the minimal V value contained within the input frame. Expressed in range of\n[0-255].\n\nVLOW\nDisplay the V value at the 10% percentile within the input frame. Expressed in range of\n[0-255].\n\nVAVG\nDisplay the average V value within the input frame. Expressed in range of [0-255].\n\nVHIGH\nDisplay the V value at the 90% percentile within the input frame. Expressed in range of\n[0-255].\n\nVMAX\nDisplay the maximum V value contained within the input frame. Expressed in range of\n[0-255].\n\nSATMIN\nDisplay the minimal saturation value contained within the input frame.  Expressed in\nrange of [0-~181.02].\n\nSATLOW\nDisplay the saturation value at the 10% percentile within the input frame.  Expressed in\nrange of [0-~181.02].\n\nSATAVG\nDisplay the average saturation value within the input frame. Expressed in range of\n[0-~181.02].\n\nSATHIGH\nDisplay the saturation value at the 90% percentile within the input frame.  Expressed in\nrange of [0-~181.02].\n\nSATMAX\nDisplay the maximum saturation value contained within the input frame.  Expressed in\nrange of [0-~181.02].\n\nHUEMED\nDisplay the median value for hue within the input frame. Expressed in range of [0-360].\n\nHUEAVG\nDisplay the average value for hue within the input frame. Expressed in range of [0-360].\n\nYDIF\nDisplay the average of sample value difference between all values of the Y plane in the\ncurrent frame and corresponding values of the previous input frame.  Expressed in range\nof [0-255].\n\nUDIF\nDisplay the average of sample value difference between all values of the U plane in the\ncurrent frame and corresponding values of the previous input frame.  Expressed in range\nof [0-255].\n\nVDIF\nDisplay the average of sample value difference between all values of the V plane in the\ncurrent frame and corresponding values of the previous input frame.  Expressed in range\nof [0-255].\n\nYBITDEPTH\nDisplay bit depth of Y plane in current frame.  Expressed in range of [0-16].\n\nUBITDEPTH\nDisplay bit depth of U plane in current frame.  Expressed in range of [0-16].\n\nVBITDEPTH\nDisplay bit depth of V plane in current frame.  Expressed in range of [0-16].\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "stat",
                    "content": "out stat specify an additional form of image analysis.  out output video with the specified\ntype of pixel highlighted.\n\nBoth options accept the following values:\n\ntout\nIdentify temporal outliers pixels. A temporal outlier is a pixel unlike the\nneighboring pixels of the same field. Examples of temporal outliers include the\nresults of video dropouts, head clogs, or tape tracking issues.\n\nvrep\nIdentify vertical line repetition. Vertical line repetition includes similar rows of\npixels within a frame. In born-digital video vertical line repetition is common, but\nthis pattern is uncommon in video digitized from an analog source. When it occurs in\nvideo that results from the digitization of an analog source it can indicate\nconcealment from a dropout compensator.\n\nbrng\nIdentify pixels that fall outside of legal broadcast range.\n"
                },
                {
                    "name": "color, c",
                    "content": "Set the highlight color for the out option. The default color is yellow.\n\nExamples\n\n•   Output data of various video metrics:\n\nffprobe -f lavfi movie=example.mov,signalstats=\"stat=tout+vrep+brng\" -showframes\n\n•   Output specific data about the minimum and maximum values of the Y plane per frame:\n\nffprobe -f lavfi movie=example.mov,signalstats -showentries frametags=lavfi.signalstats.YMAX,lavfi.signalstats.YMIN\n\n•   Playback video while highlighting pixels that are outside of broadcast range in red.\n\nffplay example.mov -vf signalstats=\"out=brng:color=red\"\n\n•   Playback video with signalstats metadata drawn over the frame.\n\nffplay example.mov -vf signalstats=stat=brng+vrep+tout,drawtext=fontfile=FreeSerif.ttf:textfile=signalstatdrawtext.txt\n\nThe contents of signalstatdrawtext.txt used in the command are:\n\ntime %{pts:hms}\nY (%{metadata:lavfi.signalstats.YMIN}-%{metadata:lavfi.signalstats.YMAX})\nU (%{metadata:lavfi.signalstats.UMIN}-%{metadata:lavfi.signalstats.UMAX})\nV (%{metadata:lavfi.signalstats.VMIN}-%{metadata:lavfi.signalstats.VMAX})\nsaturation maximum: %{metadata:lavfi.signalstats.SATMAX}\n"
                },
                {
                    "name": "signature",
                    "content": "Calculates the MPEG-7 Video Signature. The filter can handle more than one input. In this\ncase the matching between the inputs can be calculated additionally.  The filter always\npasses through the first input. The signature of each stream can be written into a file.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "detectmode",
                    "content": "Enable or disable the matching process.\n\nAvailable values are:\n\noff Disable the calculation of a matching (default).\n\nfull\nCalculate the matching for the whole video and output whether the whole video matches\nor only parts.\n\nfast\nCalculate only until a matching is found or the video ends. Should be faster in some\ncases.\n\nnbinputs\nSet the number of inputs. The option value must be a non negative integer.  Default value\nis 1.\n"
                },
                {
                    "name": "filename",
                    "content": "Set the path to which the output is written. If there is more than one input, the path\nmust be a prototype, i.e. must contain %d or %0nd (where n is a positive integer), that\nwill be replaced with the input number. If no filename is specified, no output will be\nwritten. This is the default.\n"
                },
                {
                    "name": "format",
                    "content": "Choose the output format.\n\nAvailable values are:\n\nbinary\nUse the specified binary representation (default).\n\nxml Use the specified xml representation.\n\nthd\nSet threshold to detect one word as similar. The option value must be an integer greater\nthan zero. The default value is 9000.\n\nthdc\nSet threshold to detect all words as similar. The option value must be an integer greater\nthan zero. The default value is 60000.\n\nthxh\nSet threshold to detect frames as similar. The option value must be an integer greater\nthan zero. The default value is 116.\n\nthdi\nSet the minimum length of a sequence in frames to recognize it as matching sequence. The\noption value must be a non negative integer value.  The default value is 0.\n\nthit\nSet the minimum relation, that matching frames to all frames must have.  The option value\nmust be a double value between 0 and 1. The default value is 0.5.\n\nExamples\n\n•   To calculate the signature of an input video and store it in signature.bin:\n\nffmpeg -i input.mkv -vf signature=filename=signature.bin -map 0:v -f null -\n\n•   To detect whether two videos match and store the signatures in XML format in\nsignature0.xml and signature1.xml:\n\nffmpeg -i input1.mkv -i input2.mkv -filtercomplex \"[0:v][1:v] signature=nbinputs=2:detectmode=full:format=xml:filename=signature%d.xml\" -map :v -f null -\n"
                },
                {
                    "name": "smartblur",
                    "content": "Blur the input video without impacting the outlines.\n\nIt accepts the following options:\n\nlumaradius, lr\nSet the luma radius. The option value must be a float number in the range [0.1,5.0] that\nspecifies the variance of the gaussian filter used to blur the image (slower if larger).\nDefault value is 1.0.\n\nlumastrength, ls\nSet the luma strength. The option value must be a float number in the range [-1.0,1.0]\nthat configures the blurring. A value included in [0.0,1.0] will blur the image whereas a\nvalue included in [-1.0,0.0] will sharpen the image. Default value is 1.0.\n\nlumathreshold, lt\nSet the luma threshold used as a coefficient to determine whether a pixel should be\nblurred or not. The option value must be an integer in the range [-30,30]. A value of 0\nwill filter all the image, a value included in [0,30] will filter flat areas and a value\nincluded in [-30,0] will filter edges. Default value is 0.\n\nchromaradius, cr\nSet the chroma radius. The option value must be a float number in the range [0.1,5.0]\nthat specifies the variance of the gaussian filter used to blur the image (slower if\nlarger). Default value is lumaradius.\n\nchromastrength, cs\nSet the chroma strength. The option value must be a float number in the range [-1.0,1.0]\nthat configures the blurring. A value included in [0.0,1.0] will blur the image whereas a\nvalue included in [-1.0,0.0] will sharpen the image. Default value is lumastrength.\n\nchromathreshold, ct\nSet the chroma threshold used as a coefficient to determine whether a pixel should be\nblurred or not. The option value must be an integer in the range [-30,30]. A value of 0\nwill filter all the image, a value included in [0,30] will filter flat areas and a value\nincluded in [-30,0] will filter edges. Default value is lumathreshold.\n\nIf a chroma option is not explicitly set, the corresponding luma value is set.\n"
                },
                {
                    "name": "sobel",
                    "content": "Apply sobel operator to input video stream.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes will be processed, unprocessed planes will be copied.  By default value\n0xf, all planes will be processed.\n"
                },
                {
                    "name": "scale",
                    "content": "Set value which will be multiplied with filtered result.\n"
                },
                {
                    "name": "delta",
                    "content": "Set value which will be added to filtered result.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "spp",
                    "content": "Apply a simple postprocessing filter that compresses and decompresses the image at several\n(or - in the case of quality level 6 - all) shifts and average the results.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "quality",
                    "content": "Set quality. This option defines the number of levels for averaging. It accepts an\ninteger in the range 0-6. If set to 0, the filter will have no effect. A value of 6 means\nthe higher quality. For each increment of that value the speed drops by a factor of\napproximately 2.  Default value is 3.\n\nqp  Force a constant quantization parameter. If not set, the filter will use the QP from the\nvideo stream (if available).\n"
                },
                {
                    "name": "mode",
                    "content": "Set thresholding mode. Available modes are:\n\nhard\nSet hard thresholding (default).\n\nsoft\nSet soft thresholding (better de-ringing effect, but likely blurrier).\n\nusebframeqp\nEnable the use of the QP from the B-Frames if set to 1. Using this option may cause\nflicker since the B-Frames have often larger QP. Default is 0 (not enabled).\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "quality, level",
                    "content": "Set quality level. The value \"max\" can be used to set the maximum level, currently 6.\n\nsr\nScale the input by applying one of the super-resolution methods based on convolutional neural\nnetworks. Supported models:\n\n•   Super-Resolution Convolutional Neural Network model (SRCNN).  See\n<https://arxiv.org/abs/1501.00092>.\n\n•   Efficient Sub-Pixel Convolutional Neural Network model (ESPCN).  See\n<https://arxiv.org/abs/1609.05158>.\n\nTraining scripts as well as scripts for model file (.pb) saving can be found at\n<https://github.com/XueweiMeng/sr/tree/srdnnnative>. Original repository is at\n<https://github.com/HighVoltageRocknRoll/sr.git>.\n\nNative model files (.model) can be generated from TensorFlow model files (.pb) by using\ntools/python/convert.py\n\nThe filter accepts the following options:\n\ndnnbackend\nSpecify which DNN backend to use for model loading and execution. This option accepts the\nfollowing values:\n\nnative\nNative implementation of DNN loading and execution.\n\ntensorflow\nTensorFlow backend. To enable this backend you need to install the TensorFlow for C\nlibrary (see <https://www.tensorflow.org/install/installc>) and configure FFmpeg\nwith \"--enable-libtensorflow\"\n\nDefault value is native.\n"
                },
                {
                    "name": "model",
                    "content": "Set path to model file specifying network architecture and its parameters.  Note that\ndifferent backends use different file formats. TensorFlow backend can load files for both\nformats, while native backend can load files for only its format.\n\nscalefactor\nSet scale factor for SRCNN model. Allowed values are 2, 3 and 4.  Default value is 2.\nScale factor is necessary for SRCNN model, because it accepts input upscaled using\nbicubic upscaling with proper scale factor.\n\nThis feature can also be finished with dnnprocessing filter.\n"
                },
                {
                    "name": "ssim",
                    "content": "Obtain the SSIM (Structural SImilarity Metric) between two input videos.\n\nThis filter takes in input two input videos, the first input is considered the \"main\" source\nand is passed unchanged to the output. The second input is used as a \"reference\" video for\ncomputing the SSIM.\n\nBoth video inputs must have the same resolution and pixel format for this filter to work\ncorrectly. Also it assumes that both inputs have the same number of frames, which are\ncompared one by one.\n\nThe filter stores the calculated SSIM of each frame.\n\nThe description of the accepted parameters follows.\n\nstatsfile, f\nIf specified the filter will use the named file to save the SSIM of each individual\nframe. When filename equals \"-\" the data is sent to standard output.\n\nThe file printed if statsfile is selected, contains a sequence of key/value pairs of the\nform key:value for each compared couple of frames.\n\nA description of each shown parameter follows:\n\nn   sequential number of the input frame, starting from 1\n"
                },
                {
                    "name": "Y, U, V, R, G, B",
                    "content": "SSIM of the compared frames for the component specified by the suffix.\n\nAll SSIM of the compared frames for the whole frame.\n\ndB  Same as above but in dB representation.\n\nThis filter also supports the framesync options.\n\nExamples\n\n•   For example:\n\nmovie=refmovie.mpg, setpts=PTS-STARTPTS [main];\n[main][ref] ssim=\"statsfile=stats.log\" [out]\n\nOn this example the input file being processed is compared with the reference file\nrefmovie.mpg. The SSIM of each individual frame is stored in stats.log.\n\n•   Another example with both psnr and ssim at same time:\n\nffmpeg -i main.mpg -i ref.mpg -lavfi  \"ssim;[0:v][1:v]psnr\" -f null -\n\n•   Another example with different containers:\n\nffmpeg -i main.mpg -i ref.mkv -lavfi  \"[0:v]settb=AVTB,setpts=PTS-STARTPTS[main];[1:v]settb=AVTB,setpts=PTS-STARTPTS[ref];[main][ref]ssim\" -f null -\n"
                },
                {
                    "name": "stereo3d",
                    "content": "Convert between different stereoscopic image formats.\n\nThe filters accept the following options:\n\nin  Set stereoscopic image format of input.\n\nAvailable values for input image formats are:\n\nsbsl\nside by side parallel (left eye left, right eye right)\n\nsbsr\nside by side crosseye (right eye left, left eye right)\n\nsbs2l\nside by side parallel with half width resolution (left eye left, right eye right)\n\nsbs2r\nside by side crosseye with half width resolution (right eye left, left eye right)\n\nabl\ntbl above-below (left eye above, right eye below)\n\nabr\ntbr above-below (right eye above, left eye below)\n\nab2l\ntb2l\nabove-below with half height resolution (left eye above, right eye below)\n\nab2r\ntb2r\nabove-below with half height resolution (right eye above, left eye below)\n\nal  alternating frames (left eye first, right eye second)\n\nar  alternating frames (right eye first, left eye second)\n\nirl interleaved rows (left eye has top row, right eye starts on next row)\n\nirr interleaved rows (right eye has top row, left eye starts on next row)\n\nicl interleaved columns, left eye first\n\nicr interleaved columns, right eye first\n\nDefault value is sbsl.\n\nout Set stereoscopic image format of output.\n\nsbsl\nside by side parallel (left eye left, right eye right)\n\nsbsr\nside by side crosseye (right eye left, left eye right)\n\nsbs2l\nside by side parallel with half width resolution (left eye left, right eye right)\n\nsbs2r\nside by side crosseye with half width resolution (right eye left, left eye right)\n\nabl\ntbl above-below (left eye above, right eye below)\n\nabr\ntbr above-below (right eye above, left eye below)\n\nab2l\ntb2l\nabove-below with half height resolution (left eye above, right eye below)\n\nab2r\ntb2r\nabove-below with half height resolution (right eye above, left eye below)\n\nal  alternating frames (left eye first, right eye second)\n\nar  alternating frames (right eye first, left eye second)\n\nirl interleaved rows (left eye has top row, right eye starts on next row)\n\nirr interleaved rows (right eye has top row, left eye starts on next row)\n\narbg\nanaglyph red/blue gray (red filter on left eye, blue filter on right eye)\n\nargg\nanaglyph red/green gray (red filter on left eye, green filter on right eye)\n\narcg\nanaglyph red/cyan gray (red filter on left eye, cyan filter on right eye)\n\narch\nanaglyph red/cyan half colored (red filter on left eye, cyan filter on right eye)\n\narcc\nanaglyph red/cyan color (red filter on left eye, cyan filter on right eye)\n\narcd\nanaglyph red/cyan color optimized with the least squares projection of dubois (red\nfilter on left eye, cyan filter on right eye)\n\nagmg\nanaglyph green/magenta gray (green filter on left eye, magenta filter on right eye)\n\nagmh\nanaglyph green/magenta half colored (green filter on left eye, magenta filter on\nright eye)\n\nagmc\nanaglyph green/magenta colored (green filter on left eye, magenta filter on right\neye)\n\nagmd\nanaglyph green/magenta color optimized with the least squares projection of dubois\n(green filter on left eye, magenta filter on right eye)\n\naybg\nanaglyph yellow/blue gray (yellow filter on left eye, blue filter on right eye)\n\naybh\nanaglyph yellow/blue half colored (yellow filter on left eye, blue filter on right\neye)\n\naybc\nanaglyph yellow/blue colored (yellow filter on left eye, blue filter on right eye)\n\naybd\nanaglyph yellow/blue color optimized with the least squares projection of dubois\n(yellow filter on left eye, blue filter on right eye)\n\nml  mono output (left eye only)\n\nmr  mono output (right eye only)\n\nchl checkerboard, left eye first\n\nchr checkerboard, right eye first\n\nicl interleaved columns, left eye first\n\nicr interleaved columns, right eye first\n\nhdmi\nHDMI frame pack\n\nDefault value is arcd.\n\nExamples\n\n•   Convert input video from side by side parallel to anaglyph yellow/blue dubois:\n\nstereo3d=sbsl:aybd\n\n•   Convert input video from above below (left eye above, right eye below) to side by side\ncrosseye.\n\nstereo3d=abl:sbsr\n"
                },
                {
                    "name": "streamselect, astreamselect",
                    "content": "Select video or audio streams.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "inputs",
                    "content": "Set number of inputs. Default is 2.\n\nmap Set input indexes to remap to outputs.\n\nCommands\n\nThe \"streamselect\" and \"astreamselect\" filter supports the following commands:\n\nmap Set input indexes to remap to outputs.\n\nExamples\n\n•   Select first 5 seconds 1st stream and rest of time 2nd stream:\n\nsendcmd='5.0 streamselect map 1',streamselect=inputs=2:map=0\n\n•   Same as above, but for audio:\n\nasendcmd='5.0 astreamselect map 1',astreamselect=inputs=2:map=0\n"
                },
                {
                    "name": "subtitles",
                    "content": "Draw subtitles on top of input video using the libass library.\n\nTo enable compilation of this filter you need to configure FFmpeg with \"--enable-libass\".\nThis filter also requires a build with libavcodec and libavformat to convert the passed\nsubtitles file to ASS (Advanced Substation Alpha) subtitles format.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "filename, f",
                    "content": "Set the filename of the subtitle file to read. It must be specified.\n\noriginalsize\nSpecify the size of the original video, the video for which the ASS file was composed.\nFor the syntax of this option, check the \"Video size\" section in the ffmpeg-utils manual.\nDue to a misdesign in ASS aspect ratio arithmetic, this is necessary to correctly scale\nthe fonts if the aspect ratio has been changed.\n"
                },
                {
                    "name": "fontsdir",
                    "content": "Set a directory path containing fonts that can be used by the filter.  These fonts will\nbe used in addition to whatever the font provider uses.\n"
                },
                {
                    "name": "alpha",
                    "content": "Process alpha channel, by default alpha channel is untouched.\n"
                },
                {
                    "name": "charenc",
                    "content": "Set subtitles input character encoding. \"subtitles\" filter only. Only useful if not\nUTF-8.\n\nstreamindex, si\nSet subtitles stream index. \"subtitles\" filter only.\n\nforcestyle\nOverride default style or script info parameters of the subtitles. It accepts a string\ncontaining ASS style format \"KEY=VALUE\" couples separated by \",\".\n\nIf the first key is not specified, it is assumed that the first value specifies the filename.\n\nFor example, to render the file sub.srt on top of the input video, use the command:\n\nsubtitles=sub.srt\n\nwhich is equivalent to:\n\nsubtitles=filename=sub.srt\n\nTo render the default subtitles stream from file video.mkv, use:\n\nsubtitles=video.mkv\n\nTo render the second subtitles stream from that file, use:\n\nsubtitles=video.mkv:si=1\n\nTo make the subtitles stream from sub.srt appear in 80% transparent blue \"DejaVu Serif\", use:\n\nsubtitles=sub.srt:forcestyle='Fontname=DejaVu Serif,PrimaryColour=&HCCFF0000'\n"
                },
                {
                    "name": "super2xsai",
                    "content": "Scale the input by 2x and smooth using the Super2xSaI (Scale and Interpolate) pixel art\nscaling algorithm.\n\nUseful for enlarging pixel art images without reducing sharpness.\n"
                },
                {
                    "name": "swaprect",
                    "content": "Swap two rectangular objects in video.\n\nThis filter accepts the following options:\n\nw   Set object width.\n\nh   Set object height.\n\nx1  Set 1st rect x coordinate.\n\ny1  Set 1st rect y coordinate.\n\nx2  Set 2nd rect x coordinate.\n\ny2  Set 2nd rect y coordinate.\n\nAll expressions are evaluated once for each frame.\n\nThe all options are expressions containing the following constants:\n\nw\nh   The input width and height.\n\na   same as w / h\n\nsar input sample aspect ratio\n\ndar input display aspect ratio, it is the same as (w / h) * sar\n\nn   The number of the input frame, starting from 0.\n\nt   The timestamp expressed in seconds. It's NAN if the input timestamp is unknown.\n\npos the position in the file of the input frame, NAN if unknown\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "swapuv",
                    "content": "Swap U & V plane.\n"
                },
                {
                    "name": "tblend",
                    "content": "Blend successive video frames.\n\nSee blend\n"
                },
                {
                    "name": "telecine",
                    "content": "Apply telecine process to the video.\n\nThis filter accepts the following options:\n\nfirstfield\ntop, t\ntop field first\n\nbottom, b\nbottom field first The default value is \"top\".\n"
                },
                {
                    "name": "pattern",
                    "content": "A string of numbers representing the pulldown pattern you wish to apply.  The default\nvalue is 23.\n\nSome typical patterns:\n\nNTSC output (30i):\n27.5p: 32222\n24p: 23 (classic)\n24p: 2332 (preferred)\n20p: 33\n18p: 334\n16p: 3444\n\nPAL output (25i):\n27.5p: 12222\n24p: 222222222223 (\"Euro pulldown\")\n16.67p: 33\n16p: 33333334\n"
                },
                {
                    "name": "thistogram",
                    "content": "Compute and draw a color distribution histogram for the input video across time.\n\nUnlike histogram video filter which only shows histogram of single input frame at certain\ntime, this filter shows also past histograms of number of frames defined by \"width\" option.\n\nThe computed histogram is a representation of the color component distribution in an image.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "width, w",
                    "content": "Set width of single color component output. Default value is 0.  Value of 0 means width\nwill be picked from input video.  This also set number of passed histograms to keep.\nAllowed range is [0, 8192].\n\ndisplaymode, d\nSet display mode.  It accepts the following values:\n\nstack\nPer color component graphs are placed below each other.\n\nparade\nPer color component graphs are placed side by side.\n\noverlay\nPresents information identical to that in the \"parade\", except that the graphs\nrepresenting color components are superimposed directly over one another.\n\nDefault is \"stack\".\n\nlevelsmode, m\nSet mode. Can be either \"linear\", or \"logarithmic\".  Default is \"linear\".\n"
                },
                {
                    "name": "components, c",
                    "content": "Set what color components to display.  Default is 7.\n"
                },
                {
                    "name": "bgopacity, b",
                    "content": "Set background opacity. Default is 0.9.\n"
                },
                {
                    "name": "envelope, e",
                    "content": "Show envelope. Default is disabled.\n"
                },
                {
                    "name": "ecolor, ec",
                    "content": "Set envelope color. Default is \"gold\".\n"
                },
                {
                    "name": "slide",
                    "content": "Set slide mode.\n\nAvailable values for slide is:\n\nframe\nDraw new frame when right border is reached.\n\nreplace\nReplace old columns with new ones.\n\nscroll\nScroll from right to left.\n\nrscroll\nScroll from left to right.\n\npicture\nDraw single picture.\n\nDefault is \"replace\".\n"
                },
                {
                    "name": "threshold",
                    "content": "Apply threshold effect to video stream.\n\nThis filter needs four video streams to perform thresholding.  First stream is stream we are\nfiltering.  Second stream is holding threshold values, third stream is holding min values,\nand last, fourth stream is holding max values.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes will be processed, unprocessed planes will be copied.  By default value\n0xf, all planes will be processed.\n\nFor example if first stream pixel's component value is less then threshold value of pixel\ncomponent from 2nd threshold stream, third stream value will picked, otherwise fourth stream\npixel component value will be picked.\n\nUsing color source filter one can perform various types of thresholding:\n\nExamples\n\n•   Binary threshold, using gray color as threshold:\n\nffmpeg -i 320x240.avi -f lavfi -i color=gray -f lavfi -i color=black -f lavfi -i color=white -lavfi threshold output.avi\n\n•   Inverted binary threshold, using gray color as threshold:\n\nffmpeg -i 320x240.avi -f lavfi -i color=gray -f lavfi -i color=white -f lavfi -i color=black -lavfi threshold output.avi\n\n•   Truncate binary threshold, using gray color as threshold:\n\nffmpeg -i 320x240.avi -f lavfi -i color=gray -i 320x240.avi -f lavfi -i color=gray -lavfi threshold output.avi\n\n•   Threshold to zero, using gray color as threshold:\n\nffmpeg -i 320x240.avi -f lavfi -i color=gray -f lavfi -i color=white -i 320x240.avi -lavfi threshold output.avi\n\n•   Inverted threshold to zero, using gray color as threshold:\n\nffmpeg -i 320x240.avi -f lavfi -i color=gray -i 320x240.avi -f lavfi -i color=white -lavfi threshold output.avi\n"
                },
                {
                    "name": "thumbnail",
                    "content": "Select the most representative frame in a given sequence of consecutive frames.\n\nThe filter accepts the following options:\n\nn   Set the frames batch size to analyze; in a set of n frames, the filter will pick one of\nthem, and then handle the next batch of n frames until the end. Default is 100.\n\nSince the filter keeps track of the whole frames sequence, a bigger n value will result in a\nhigher memory usage, so a high value is not recommended.\n\nExamples\n\n•   Extract one picture each 50 frames:\n\nthumbnail=50\n\n•   Complete example of a thumbnail creation with ffmpeg:\n\nffmpeg -i in.avi -vf thumbnail,scale=300:200 -frames:v 1 out.png\n"
                },
                {
                    "name": "tile",
                    "content": "Tile several successive frames together.\n\nThe untile filter can do the reverse.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "layout",
                    "content": "Set the grid size (i.e. the number of lines and columns). For the syntax of this option,\ncheck the \"Video size\" section in the ffmpeg-utils manual.\n\nnbframes\nSet the maximum number of frames to render in the given area. It must be less than or\nequal to wxh. The default value is 0, meaning all the area will be used.\n"
                },
                {
                    "name": "margin",
                    "content": "Set the outer border margin in pixels.\n"
                },
                {
                    "name": "padding",
                    "content": "Set the inner border thickness (i.e. the number of pixels between frames). For more\nadvanced padding options (such as having different values for the edges), refer to the\npad video filter.\n"
                },
                {
                    "name": "color",
                    "content": "Specify the color of the unused area. For the syntax of this option, check the \"Color\"\nsection in the ffmpeg-utils manual.  The default value of color is \"black\".\n"
                },
                {
                    "name": "overlap",
                    "content": "Set the number of frames to overlap when tiling several successive frames together.  The\nvalue must be between 0 and nbframes - 1.\n\ninitpadding\nSet the number of frames to initially be empty before displaying first output frame.\nThis controls how soon will one get first output frame.  The value must be between 0 and\nnbframes - 1.\n\nExamples\n\n•   Produce 8x8 PNG tiles of all keyframes (-skipframe nokey) in a movie:\n\nffmpeg -skipframe nokey -i file.avi -vf 'scale=128:72,tile=8x8' -an -vsync 0 keyframes%03d.png\n\nThe -vsync 0 is necessary to prevent ffmpeg from duplicating each output frame to\naccommodate the originally detected frame rate.\n\n•   Display 5 pictures in an area of \"3x2\" frames, with 7 pixels between them, and 2 pixels\nof initial margin, using mixed flat and named options:\n\ntile=3x2:nbframes=5:padding=7:margin=2\n"
                },
                {
                    "name": "tinterlace",
                    "content": "Perform various types of temporal field interlacing.\n\nFrames are counted starting from 1, so the first input frame is considered odd.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "mode",
                    "content": "Specify the mode of the interlacing. This option can also be specified as a value alone.\nSee below for a list of values for this option.\n\nAvailable values are:\n\nmerge, 0\nMove odd frames into the upper field, even into the lower field, generating a double\nheight frame at half frame rate.\n\n------> time\nInput:\nFrame 1         Frame 2         Frame 3         Frame 4\n\n11111           22222           33333           44444\n11111           22222           33333           44444\n11111           22222           33333           44444\n11111           22222           33333           44444\n\nOutput:\n11111                           33333\n22222                           44444\n11111                           33333\n22222                           44444\n11111                           33333\n22222                           44444\n11111                           33333\n22222                           44444\n\ndropeven, 1\nOnly output odd frames, even frames are dropped, generating a frame with unchanged\nheight at half frame rate.\n\n------> time\nInput:\nFrame 1         Frame 2         Frame 3         Frame 4\n\n11111           22222           33333           44444\n11111           22222           33333           44444\n11111           22222           33333           44444\n11111           22222           33333           44444\n\nOutput:\n11111                           33333\n11111                           33333\n11111                           33333\n11111                           33333\n\ndropodd, 2\nOnly output even frames, odd frames are dropped, generating a frame with unchanged\nheight at half frame rate.\n\n------> time\nInput:\nFrame 1         Frame 2         Frame 3         Frame 4\n\n11111           22222           33333           44444\n11111           22222           33333           44444\n11111           22222           33333           44444\n11111           22222           33333           44444\n\nOutput:\n22222                           44444\n22222                           44444\n22222                           44444\n22222                           44444\n\npad, 3\nExpand each frame to full height, but pad alternate lines with black, generating a\nframe with double height at the same input frame rate.\n\n------> time\nInput:\nFrame 1         Frame 2         Frame 3         Frame 4\n\n11111           22222           33333           44444\n11111           22222           33333           44444\n11111           22222           33333           44444\n11111           22222           33333           44444\n\nOutput:\n11111           .....           33333           .....\n.....           22222           .....           44444\n11111           .....           33333           .....\n.....           22222           .....           44444\n11111           .....           33333           .....\n.....           22222           .....           44444\n11111           .....           33333           .....\n.....           22222           .....           44444\n\ninterleavetop, 4\nInterleave the upper field from odd frames with the lower field from even frames,\ngenerating a frame with unchanged height at half frame rate.\n\n------> time\nInput:\nFrame 1         Frame 2         Frame 3         Frame 4\n\n11111<-         22222           33333<-         44444\n11111           22222<-         33333           44444<-\n11111<-         22222           33333<-         44444\n11111           22222<-         33333           44444<-\n\nOutput:\n11111                           33333\n22222                           44444\n11111                           33333\n22222                           44444\n\ninterleavebottom, 5\nInterleave the lower field from odd frames with the upper field from even frames,\ngenerating a frame with unchanged height at half frame rate.\n\n------> time\nInput:\nFrame 1         Frame 2         Frame 3         Frame 4\n\n11111           22222<-         33333           44444<-\n11111<-         22222           33333<-         44444\n11111           22222<-         33333           44444<-\n11111<-         22222           33333<-         44444\n\nOutput:\n22222                           44444\n11111                           33333\n22222                           44444\n11111                           33333\n\ninterlacex2, 6\nDouble frame rate with unchanged height. Frames are inserted each containing the\nsecond temporal field from the previous input frame and the first temporal field from\nthe next input frame. This mode relies on the topfieldfirst flag. Useful for\ninterlaced video displays with no field synchronisation.\n\n------> time\nInput:\nFrame 1         Frame 2         Frame 3         Frame 4\n\n11111           22222           33333           44444\n11111           22222           33333           44444\n11111           22222           33333           44444\n11111           22222           33333           44444\n\nOutput:\n11111   22222   22222   33333   33333   44444   44444\n11111   11111   22222   22222   33333   33333   44444\n11111   22222   22222   33333   33333   44444   44444\n11111   11111   22222   22222   33333   33333   44444\n\nmergex2, 7\nMove odd frames into the upper field, even into the lower field, generating a double\nheight frame at same frame rate.\n\n------> time\nInput:\nFrame 1         Frame 2         Frame 3         Frame 4\n\n11111           22222           33333           44444\n11111           22222           33333           44444\n11111           22222           33333           44444\n11111           22222           33333           44444\n\nOutput:\n11111           33333           33333           55555\n22222           22222           44444           44444\n11111           33333           33333           55555\n22222           22222           44444           44444\n11111           33333           33333           55555\n22222           22222           44444           44444\n11111           33333           33333           55555\n22222           22222           44444           44444\n\nNumeric values are deprecated but are accepted for backward compatibility reasons.\n\nDefault mode is \"merge\".\n"
                },
                {
                    "name": "flags",
                    "content": "Specify flags influencing the filter process.\n\nAvailable value for flags is:\n\nlowpassfilter, vlpf\nEnable linear vertical low-pass filtering in the filter.  Vertical low-pass filtering\nis required when creating an interlaced destination from a progressive source which\ncontains high-frequency vertical detail. Filtering will reduce interlace 'twitter'\nand Moire patterning.\n\ncomplexfilter, cvlpf\nEnable complex vertical low-pass filtering.  This will slightly less reduce interlace\n'twitter' and Moire patterning but better retain detail and subjective sharpness\nimpression.\n\nbypassil\nBypass already interlaced frames, only adjust the frame rate.\n\nVertical low-pass filtering and bypassing already interlaced frames can only be enabled\nfor mode interleavetop and interleavebottom.\n"
                },
                {
                    "name": "tmedian",
                    "content": "Pick median pixels from several successive input video frames.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "radius",
                    "content": "Set radius of median filter.  Default is 1. Allowed range is from 1 to 127.\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to filter. Default value is 15, by which all planes are processed.\n"
                },
                {
                    "name": "percentile",
                    "content": "Set median percentile. Default value is 0.5.  Default value of 0.5 will pick always\nmedian values, while 0 will pick minimum values, and 1 maximum values.\n\nCommands\n\nThis filter supports all above options as commands, excluding option \"radius\".\n"
                },
                {
                    "name": "tmidequalizer",
                    "content": "Apply Temporal Midway Video Equalization effect.\n\nMidway Video Equalization adjusts a sequence of video frames to have the same histograms,\nwhile maintaining their dynamics as much as possible. It's useful for e.g. matching exposures\nfrom a video frames sequence.\n\nThis filter accepts the following option:\n"
                },
                {
                    "name": "radius",
                    "content": "Set filtering radius. Default is 5. Allowed range is from 1 to 127.\n"
                },
                {
                    "name": "sigma",
                    "content": "Set filtering sigma. Default is 0.5. This controls strength of filtering.  Setting this\noption to 0 effectively does nothing.\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to process. Default is 15, which is all available planes.\n"
                },
                {
                    "name": "tmix",
                    "content": "Mix successive video frames.\n\nA description of the accepted options follows.\n"
                },
                {
                    "name": "frames",
                    "content": "The number of successive frames to mix. If unspecified, it defaults to 3.\n"
                },
                {
                    "name": "weights",
                    "content": "Specify weight of each input video frame.  Each weight is separated by space. If number\nof weights is smaller than number of frames last specified weight will be used for all\nremaining unset weights.\n"
                },
                {
                    "name": "scale",
                    "content": "Specify scale, if it is set it will be multiplied with sum of each weight multiplied with\npixel values to give final destination pixel value. By default scale is auto scaled to\nsum of weights.\n\nExamples\n\n•   Average 7 successive frames:\n\ntmix=frames=7:weights=\"1 1 1 1 1 1 1\"\n\n•   Apply simple temporal convolution:\n\ntmix=frames=3:weights=\"-1 3 -1\"\n\n•   Similar as above but only showing temporal differences:\n\ntmix=frames=3:weights=\"-1 2 -1\":scale=1\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "weights",
                    "content": ""
                },
                {
                    "name": "scale",
                    "content": "Syntax is same as option with same name.\n"
                },
                {
                    "name": "tonemap",
                    "content": "Tone map colors from different dynamic ranges.\n\nThis filter expects data in single precision floating point, as it needs to operate on (and\ncan output) out-of-range values. Another filter, such as zscale, is needed to convert the\nresulting frame to a usable format.\n\nThe tonemapping algorithms implemented only work on linear light, so input data should be\nlinearized beforehand (and possibly correctly tagged).\n\nffmpeg -i INPUT -vf zscale=transfer=linear,tonemap=clip,zscale=transfer=bt709,format=yuv420p OUTPUT\n\nOptions\n\nThe filter accepts the following options.\n"
                },
                {
                    "name": "tonemap",
                    "content": "Set the tone map algorithm to use.\n\nPossible values are:\n\nnone\nDo not apply any tone map, only desaturate overbright pixels.\n\nclip\nHard-clip any out-of-range values. Use it for perfect color accuracy for in-range\nvalues, while distorting out-of-range values.\n\nlinear\nStretch the entire reference gamut to a linear multiple of the display.\n\ngamma\nFit a logarithmic transfer between the tone curves.\n\nreinhard\nPreserve overall image brightness with a simple curve, using nonlinear contrast,\nwhich results in flattening details and degrading color accuracy.\n\nhable\nPreserve both dark and bright details better than reinhard, at the cost of slightly\ndarkening everything. Use it when detail preservation is more important than color\nand brightness accuracy.\n\nmobius\nSmoothly map out-of-range values, while retaining contrast and colors for in-range\nmaterial as much as possible. Use it when color accuracy is more important than\ndetail preservation.\n\nDefault is none.\n"
                },
                {
                    "name": "param",
                    "content": "Tune the tone mapping algorithm.\n\nThis affects the following algorithms:\n\nnone\nIgnored.\n\nlinear\nSpecifies the scale factor to use while stretching.  Default to 1.0.\n\ngamma\nSpecifies the exponent of the function.  Default to 1.8.\n\nclip\nSpecify an extra linear coefficient to multiply into the signal before clipping.\nDefault to 1.0.\n\nreinhard\nSpecify the local contrast coefficient at the display peak.  Default to 0.5, which\nmeans that in-gamut values will be about half as bright as when clipping.\n\nhable\nIgnored.\n\nmobius\nSpecify the transition point from linear to mobius transform. Every value below this\npoint is guaranteed to be mapped 1:1. The higher the value, the more accurate the\nresult will be, at the cost of losing bright details.  Default to 0.3, which due to\nthe steep initial slope still preserves in-range colors fairly accurately.\n"
                },
                {
                    "name": "desat",
                    "content": "Apply desaturation for highlights that exceed this level of brightness. The higher the\nparameter, the more color information will be preserved. This setting helps prevent\nunnaturally blown-out colors for super-highlights, by (smoothly) turning into white\ninstead. This makes images feel more natural, at the cost of reducing information about\nout-of-range colors.\n\nThe default of 2.0 is somewhat conservative and will mostly just apply to skies or\ndirectly sunlit surfaces. A setting of 0.0 disables this option.\n\nThis option works only if the input frame has a supported color tag.\n"
                },
                {
                    "name": "peak",
                    "content": "Override signal/nominal/reference peak with this value. Useful when the embedded peak\ninformation in display metadata is not reliable or when tone mapping from a lower range\nto a higher range.\n"
                },
                {
                    "name": "tpad",
                    "content": "Temporarily pad video frames.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "start",
                    "content": "Specify number of delay frames before input video stream. Default is 0.\n"
                },
                {
                    "name": "stop",
                    "content": "Specify number of padding frames after input video stream.  Set to -1 to pad\nindefinitely. Default is 0.\n\nstartmode\nSet kind of frames added to beginning of stream.  Can be either add or clone.  With add\nframes of solid-color are added.  With clone frames are clones of first frame.  Default\nis add.\n\nstopmode\nSet kind of frames added to end of stream.  Can be either add or clone.  With add frames\nof solid-color are added.  With clone frames are clones of last frame.  Default is add.\n\nstartduration, stopduration\nSpecify the duration of the start/stop delay. See the Time duration section in the\nffmpeg-utils(1) manual for the accepted syntax.  These options override start and stop.\nDefault is 0.\n"
                },
                {
                    "name": "color",
                    "content": "Specify the color of the padded area. For the syntax of this option, check the \"Color\"\nsection in the ffmpeg-utils manual.\n\nThe default value of color is \"black\".\n"
                },
                {
                    "name": "transpose",
                    "content": "Transpose rows with columns in the input video and optionally flip it.\n\nIt accepts the following parameters:\n\ndir Specify the transposition direction.\n\nCan assume the following values:\n\n0, 4, cclockflip\nRotate by 90 degrees counterclockwise and vertically flip (default), that is:\n\nL.R     L.l\n. . ->  . .\nl.r     R.r\n\n1, 5, clock\nRotate by 90 degrees clockwise, that is:\n\nL.R     l.L\n. . ->  . .\nl.r     r.R\n\n2, 6, cclock\nRotate by 90 degrees counterclockwise, that is:\n\nL.R     R.r\n. . ->  . .\nl.r     L.l\n\n3, 7, clockflip\nRotate by 90 degrees clockwise and vertically flip, that is:\n\nL.R     r.R\n. . ->  . .\nl.r     l.L\n\nFor values between 4-7, the transposition is only done if the input video geometry is\nportrait and not landscape. These values are deprecated, the \"passthrough\" option should\nbe used instead.\n\nNumerical values are deprecated, and should be dropped in favor of symbolic constants.\n"
                },
                {
                    "name": "passthrough",
                    "content": "Do not apply the transposition if the input geometry matches the one specified by the\nspecified value. It accepts the following values:\n\nnone\nAlways apply transposition.\n\nportrait\nPreserve portrait geometry (when height >= width).\n\nlandscape\nPreserve landscape geometry (when width >= height).\n\nDefault value is \"none\".\n\nFor example to rotate by 90 degrees clockwise and preserve portrait layout:\n\ntranspose=dir=1:passthrough=portrait\n\nThe command above can also be specified as:\n\ntranspose=1:portrait\n\ntransposenpp\nTranspose rows with columns in the input video and optionally flip it.  For more in depth\nexamples see the transpose video filter, which shares mostly the same options.\n\nIt accepts the following parameters:\n\ndir Specify the transposition direction.\n\nCan assume the following values:\n\ncclockflip\nRotate by 90 degrees counterclockwise and vertically flip. (default)\n\nclock\nRotate by 90 degrees clockwise.\n\ncclock\nRotate by 90 degrees counterclockwise.\n\nclockflip\nRotate by 90 degrees clockwise and vertically flip.\n"
                },
                {
                    "name": "passthrough",
                    "content": "Do not apply the transposition if the input geometry matches the one specified by the\nspecified value. It accepts the following values:\n\nnone\nAlways apply transposition. (default)\n\nportrait\nPreserve portrait geometry (when height >= width).\n\nlandscape\nPreserve landscape geometry (when width >= height).\n"
                },
                {
                    "name": "trim",
                    "content": "Trim the input so that the output contains one continuous subpart of the input.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "start",
                    "content": "Specify the time of the start of the kept section, i.e. the frame with the timestamp\nstart will be the first frame in the output.\n\nend Specify the time of the first frame that will be dropped, i.e. the frame immediately\npreceding the one with the timestamp end will be the last frame in the output.\n\nstartpts\nThis is the same as start, except this option sets the start timestamp in timebase units\ninstead of seconds.\n\nendpts\nThis is the same as end, except this option sets the end timestamp in timebase units\ninstead of seconds.\n"
                },
                {
                    "name": "duration",
                    "content": "The maximum duration of the output in seconds.\n\nstartframe\nThe number of the first frame that should be passed to the output.\n\nendframe\nThe number of the first frame that should be dropped.\n\nstart, end, and duration are expressed as time duration specifications; see the Time duration\nsection in the ffmpeg-utils(1) manual for the accepted syntax.\n\nNote that the first two sets of the start/end options and the duration option look at the\nframe timestamp, while the frame variants simply count the frames that pass through the\nfilter. Also note that this filter does not modify the timestamps. If you wish for the output\ntimestamps to start at zero, insert a setpts filter after the trim filter.\n\nIf multiple start or end options are set, this filter tries to be greedy and keep all the\nframes that match at least one of the specified constraints. To keep only the part that\nmatches all the constraints at once, chain multiple trim filters.\n\nThe defaults are such that all the input is kept. So it is possible to set e.g.  just the end\nvalues to keep everything before the specified time.\n\nExamples:\n\n•   Drop everything except the second minute of input:\n\nffmpeg -i INPUT -vf trim=60:120\n\n•   Keep only the first second:\n\nffmpeg -i INPUT -vf trim=duration=1\n"
                },
                {
                    "name": "unpremultiply",
                    "content": "Apply alpha unpremultiply effect to input video stream using first plane of second stream as\nalpha.\n\nBoth streams must have same dimensions and same pixel format.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes will be processed, unprocessed planes will be copied.  By default value\n0xf, all planes will be processed.\n\nIf the format has 1 or 2 components, then luma is bit 0.  If the format has 3 or 4\ncomponents: for RGB formats bit 0 is green, bit 1 is blue and bit 2 is red; for YUV\nformats bit 0 is luma, bit 1 is chroma-U and bit 2 is chroma-V.  If present, the alpha\nchannel is always the last bit.\n"
                },
                {
                    "name": "inplace",
                    "content": "Do not require 2nd input for processing, instead use alpha plane from input stream.\n"
                },
                {
                    "name": "unsharp",
                    "content": "Sharpen or blur the input video.\n\nIt accepts the following parameters:\n\nlumamsizex, lx\nSet the luma matrix horizontal size. It must be an odd integer between 3 and 23. The\ndefault value is 5.\n\nlumamsizey, ly\nSet the luma matrix vertical size. It must be an odd integer between 3 and 23. The\ndefault value is 5.\n\nlumaamount, la\nSet the luma effect strength. It must be a floating point number, reasonable values lay\nbetween -1.5 and 1.5.\n\nNegative values will blur the input video, while positive values will sharpen it, a value\nof zero will disable the effect.\n\nDefault value is 1.0.\n\nchromamsizex, cx\nSet the chroma matrix horizontal size. It must be an odd integer between 3 and 23. The\ndefault value is 5.\n\nchromamsizey, cy\nSet the chroma matrix vertical size. It must be an odd integer between 3 and 23. The\ndefault value is 5.\n\nchromaamount, ca\nSet the chroma effect strength. It must be a floating point number, reasonable values lay\nbetween -1.5 and 1.5.\n\nNegative values will blur the input video, while positive values will sharpen it, a value\nof zero will disable the effect.\n\nDefault value is 0.0.\n\nAll parameters are optional and default to the equivalent of the string '5:5:1.0:5:5:0.0'.\n\nExamples\n\n•   Apply strong luma sharpen effect:\n\nunsharp=lumamsizex=7:lumamsizey=7:lumaamount=2.5\n\n•   Apply a strong blur of both luma and chroma parameters:\n\nunsharp=7:7:-2:7:7:-2\n"
                },
                {
                    "name": "untile",
                    "content": "Decompose a video made of tiled images into the individual images.\n\nThe frame rate of the output video is the frame rate of the input video multiplied by the\nnumber of tiles.\n\nThis filter does the reverse of tile.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "layout",
                    "content": "Set the grid size (i.e. the number of lines and columns). For the syntax of this option,\ncheck the \"Video size\" section in the ffmpeg-utils manual.\n\nExamples\n\n•   Produce a 1-second video from a still image file made of 25 frames stacked vertically,\nlike an analogic film reel:\n\nffmpeg -r 1 -i image.jpg -vf untile=1x25 movie.mkv\n"
                },
                {
                    "name": "uspp",
                    "content": "Apply ultra slow/simple postprocessing filter that compresses and decompresses the image at\nseveral (or - in the case of quality level 8 - all) shifts and average the results.\n\nThe way this differs from the behavior of spp is that uspp actually encodes & decodes each\ncase with libavcodec Snow, whereas spp uses a simplified intra only 8x8 DCT similar to MJPEG.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "quality",
                    "content": "Set quality. This option defines the number of levels for averaging. It accepts an\ninteger in the range 0-8. If set to 0, the filter will have no effect. A value of 8 means\nthe higher quality. For each increment of that value the speed drops by a factor of\napproximately 2.  Default value is 3.\n\nqp  Force a constant quantization parameter. If not set, the filter will use the QP from the\nvideo stream (if available).\n"
                },
                {
                    "name": "v360",
                    "content": "Convert 360 videos between various formats.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "input",
                    "content": ""
                },
                {
                    "name": "output",
                    "content": "Set format of the input/output video.\n\nAvailable formats:\n\ne\nequirect\nEquirectangular projection.\n\nc3x2\nc6x1\nc1x6\nCubemap with 3x2/6x1/1x6 layout.\n\nFormat specific options:\n\ninpad\noutpad\nSet padding proportion for the input/output cubemap. Values in decimals.\n\nExample values:\n\n0   No padding.\n\n0.01\n1% of face is padding. For example, with 1920x1280 resolution face size would\nbe 640x640 and padding would be 3 pixels from each side. (640 * 0.01 = 6\npixels)\n\nDefault value is @samp{0}.  Maximum value is @samp{0.1}.\n\nfinpad\nfoutpad\nSet fixed padding for the input/output cubemap. Values in pixels.\n\nDefault value is @samp{0}. If greater than zero it overrides other padding\noptions.\n\ninforder\noutforder\nSet order of faces for the input/output cubemap. Choose one direction for each\nposition.\n\nDesignation of directions:\n\nr   right\n\nl   left\n\nu   up\n\nd   down\n\nf   forward\n\nb   back\n\nDefault value is @samp{rludfb}.\n\ninfrot\noutfrot\nSet rotation of faces for the input/output cubemap. Choose one angle for each\nposition.\n\nDesignation of angles:\n\n0   0 degrees clockwise\n\n1   90 degrees clockwise\n\n2   180 degrees clockwise\n\n3   270 degrees clockwise\n\nDefault value is @samp{000000}.\n\neac Equi-Angular Cubemap.\n\nflat\ngnomonic\nrectilinear\nRegular video.\n\nFormat specific options:\n\nhfov\nvfov\ndfov\nSet output horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\nihfov\nivfov\nidfov\nSet input horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\ndfisheye\nDual fisheye.\n\nFormat specific options:\n\nhfov\nvfov\ndfov\nSet output horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\nihfov\nivfov\nidfov\nSet input horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\nbarrel\nfb\nbarrelsplit\nFacebook's 360 formats.\n\nsg  Stereographic format.\n\nFormat specific options:\n\nhfov\nvfov\ndfov\nSet output horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\nihfov\nivfov\nidfov\nSet input horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\nmercator\nMercator format.\n\nball\nBall format, gives significant distortion toward the back.\n\nhammer\nHammer-Aitoff map projection format.\n\nsinusoidal\nSinusoidal map projection format.\n\nfisheye\nFisheye projection.\n\nFormat specific options:\n\nhfov\nvfov\ndfov\nSet output horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\nihfov\nivfov\nidfov\nSet input horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\npannini\nPannini projection.\n\nFormat specific options:\n\nhfov\nSet output pannini parameter.\n\nihfov\nSet input pannini parameter.\n\ncylindrical\nCylindrical projection.\n\nFormat specific options:\n\nhfov\nvfov\ndfov\nSet output horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\nihfov\nivfov\nidfov\nSet input horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\nperspective\nPerspective projection. (output only)\n\nFormat specific options:\n\nvfov\nSet perspective parameter.\n\ntetrahedron\nTetrahedron projection.\n\ntsp Truncated square pyramid projection.\n\nhe\nhequirect\nHalf equirectangular projection.\n\nequisolid\nEquisolid format.\n\nFormat specific options:\n\nhfov\nvfov\ndfov\nSet output horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\nihfov\nivfov\nidfov\nSet input horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\nog  Orthographic format.\n\nFormat specific options:\n\nhfov\nvfov\ndfov\nSet output horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\nihfov\nivfov\nidfov\nSet input horizontal/vertical/diagonal field of view. Values in degrees.\n\nIf diagonal field of view is set it overrides horizontal and vertical field of\nview.\n\noctahedron\nOctahedron projection.\n"
                },
                {
                    "name": "interp",
                    "content": "Set interpolation method.Note: more complex interpolation methods require much more\nmemory to run.\n\nAvailable methods:\n\nnear\nnearest\nNearest neighbour.\n\nline\nlinear\nBilinear interpolation.\n\nlagrange9\nLagrange9 interpolation.\n\ncube\ncubic\nBicubic interpolation.\n\nlanc\nlanczos\nLanczos interpolation.\n\nsp16\nspline16\nSpline16 interpolation.\n\ngauss\ngaussian\nGaussian interpolation.\n\nmitchell\nMitchell interpolation.\n\nDefault value is @samp{line}.\n\nw\nh   Set the output video resolution.\n\nDefault resolution depends on formats.\n\ninstereo\noutstereo\nSet the input/output stereo format.\n\n2d  2D mono\n\nsbs Side by side\n\ntb  Top bottom\n\nDefault value is @samp{2d} for input and output format.\n"
                },
                {
                    "name": "yaw",
                    "content": ""
                },
                {
                    "name": "pitch",
                    "content": ""
                },
                {
                    "name": "roll",
                    "content": "Set rotation for the output video. Values in degrees.\n"
                },
                {
                    "name": "rorder",
                    "content": "Set rotation order for the output video. Choose one item for each position.\n\ny, Y\nyaw\n\np, P\npitch\n\nr, R\nroll\n\nDefault value is @samp{ypr}.\n\nhflip\nvflip\ndflip\nFlip the output video horizontally(swaps left-right)/vertically(swaps\nup-down)/in-depth(swaps back-forward). Boolean values.\n\nihflip\nivflip\nSet if input video is flipped horizontally/vertically. Boolean values.\n\nintrans\nSet if input video is transposed. Boolean value, by default disabled.\n\nouttrans\nSet if output video needs to be transposed. Boolean value, by default disabled.\n\nalphamask\nBuild mask in alpha plane for all unmapped pixels by marking them fully transparent.\nBoolean value, by default disabled.\n\nExamples\n\n•   Convert equirectangular video to cubemap with 3x2 layout and 1% padding using bicubic\ninterpolation:\n\nffmpeg -i input.mkv -vf v360=e:c3x2:cubic:outpad=0.01 output.mkv\n\n•   Extract back view of Equi-Angular Cubemap:\n\nffmpeg -i input.mkv -vf v360=eac:flat:yaw=180 output.mkv\n\n•   Convert transposed and horizontally flipped Equi-Angular Cubemap in side-by-side stereo\nformat to equirectangular top-bottom stereo format:\n\nv360=eac:equirect:instereo=sbs:intrans=1:ihflip=1:outstereo=tb\n\nCommands\n\nThis filter supports subset of above options as commands.\n"
                },
                {
                    "name": "vaguedenoiser",
                    "content": "Apply a wavelet based denoiser.\n\nIt transforms each frame from the video input into the wavelet domain, using Cohen-\nDaubechies-Feauveau 9/7. Then it applies some filtering to the obtained coefficients. It does\nan inverse wavelet transform after.  Due to wavelet properties, it should give a nice\nsmoothed result, and reduced noise, without blurring picture features.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "threshold",
                    "content": "The filtering strength. The higher, the more filtered the video will be.  Hard\nthresholding can use a higher threshold than soft thresholding before the video looks\noverfiltered. Default value is 2.\n"
                },
                {
                    "name": "method",
                    "content": "The filtering method the filter will use.\n\nIt accepts the following values:\n\nhard\nAll values under the threshold will be zeroed.\n\nsoft\nAll values under the threshold will be zeroed. All values above will be reduced by\nthe threshold.\n\ngarrote\nScales or nullifies coefficients - intermediary between (more) soft and (less) hard\nthresholding.\n\nDefault is garrote.\n"
                },
                {
                    "name": "nsteps",
                    "content": "Number of times, the wavelet will decompose the picture. Picture can't be decomposed\nbeyond a particular point (typically, 8 for a 640x480 frame - as 2^9 = 512 > 480). Valid\nvalues are integers between 1 and 32. Default value is 6.\n"
                },
                {
                    "name": "percent",
                    "content": "Partial of full denoising (limited coefficients shrinking), from 0 to 100. Default value\nis 85.\n"
                },
                {
                    "name": "planes",
                    "content": "A list of the planes to process. By default all planes are processed.\n"
                },
                {
                    "name": "type",
                    "content": "The threshold type the filter will use.\n\nIt accepts the following values:\n\nuniversal\nThreshold used is same for all decompositions.\n\nbayes\nThreshold used depends also on each decomposition coefficients.\n\nDefault is universal.\n"
                },
                {
                    "name": "vectorscope",
                    "content": "Display 2 color component values in the two dimensional graph (which is called a\nvectorscope).\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "mode, m",
                    "content": "Set vectorscope mode.\n\nIt accepts the following values:\n\ngray\ntint\nGray values are displayed on graph, higher brightness means more pixels have same\ncomponent color value on location in graph. This is the default mode.\n\ncolor\nGray values are displayed on graph. Surrounding pixels values which are not present\nin video frame are drawn in gradient of 2 color components which are set by option\n\"x\" and \"y\". The 3rd color component is static.\n\ncolor2\nActual color components values present in video frame are displayed on graph.\n\ncolor3\nSimilar as color2 but higher frequency of same values \"x\" and \"y\" on graph increases\nvalue of another color component, which is luminance by default values of \"x\" and\n\"y\".\n\ncolor4\nActual colors present in video frame are displayed on graph. If two different colors\nmap to same position on graph then color with higher value of component not present\nin graph is picked.\n\ncolor5\nGray values are displayed on graph. Similar to \"color\" but with 3rd color component\npicked from radial gradient.\n\nx   Set which color component will be represented on X-axis. Default is 1.\n\ny   Set which color component will be represented on Y-axis. Default is 2.\n"
                },
                {
                    "name": "intensity, i",
                    "content": "Set intensity, used by modes: gray, color, color3 and color5 for increasing brightness of\ncolor component which represents frequency of (X, Y) location in graph.\n"
                },
                {
                    "name": "envelope, e",
                    "content": "none\nNo envelope, this is default.\n\ninstant\nInstant envelope, even darkest single pixel will be clearly highlighted.\n\npeak\nHold maximum and minimum values presented in graph over time. This way you can still\nspot out of range values without constantly looking at vectorscope.\n\npeak+instant\nPeak and instant envelope combined together.\n"
                },
                {
                    "name": "graticule, g",
                    "content": "Set what kind of graticule to draw.\n\nnone\ngreen\ncolor\ninvert"
                },
                {
                    "name": "opacity, o",
                    "content": "Set graticule opacity.\n"
                },
                {
                    "name": "flags, f",
                    "content": "Set graticule flags.\n\nwhite\nDraw graticule for white point.\n\nblack\nDraw graticule for black point.\n\nname\nDraw color points short names.\n"
                },
                {
                    "name": "bgopacity, b",
                    "content": "Set background opacity.\n"
                },
                {
                    "name": "lthreshold, l",
                    "content": "Set low threshold for color component not represented on X or Y axis.  Values lower than\nthis value will be ignored. Default is 0.  Note this value is multiplied with actual max\npossible value one pixel component can have. So for 8-bit input and low threshold value\nof 0.1 actual threshold is 0.1 * 255 = 25.\n"
                },
                {
                    "name": "hthreshold, h",
                    "content": "Set high threshold for color component not represented on X or Y axis.  Values higher\nthan this value will be ignored. Default is 1.  Note this value is multiplied with actual\nmax possible value one pixel component can have. So for 8-bit input and high threshold\nvalue of 0.9 actual threshold is 0.9 * 255 = 230.\n"
                },
                {
                    "name": "colorspace, c",
                    "content": "Set what kind of colorspace to use when drawing graticule.\n\nauto\n601\n709\n\nDefault is auto.\n"
                },
                {
                    "name": "tint0, t0",
                    "content": ""
                },
                {
                    "name": "tint1, t1",
                    "content": "Set color tint for gray/tint vectorscope mode. By default both options are zero.  This\nmeans no tint, and output will remain gray.\n"
                },
                {
                    "name": "vidstabdetect",
                    "content": "Analyze video stabilization/deshaking. Perform pass 1 of 2, see vidstabtransform for pass 2.\n\nThis filter generates a file with relative translation and rotation transform information\nabout subsequent frames, which is then used by the vidstabtransform filter.\n\nTo enable compilation of this filter you need to configure FFmpeg with \"--enable-libvidstab\".\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "result",
                    "content": "Set the path to the file used to write the transforms information.  Default value is\ntransforms.trf.\n"
                },
                {
                    "name": "shakiness",
                    "content": "Set how shaky the video is and how quick the camera is. It accepts an integer in the\nrange 1-10, a value of 1 means little shakiness, a value of 10 means strong shakiness.\nDefault value is 5.\n"
                },
                {
                    "name": "accuracy",
                    "content": "Set the accuracy of the detection process. It must be a value in the range 1-15. A value\nof 1 means low accuracy, a value of 15 means high accuracy. Default value is 15.\n"
                },
                {
                    "name": "stepsize",
                    "content": "Set stepsize of the search process. The region around minimum is scanned with 1 pixel\nresolution. Default value is 6.\n"
                },
                {
                    "name": "mincontrast",
                    "content": "Set minimum contrast. Below this value a local measurement field is discarded. Must be a\nfloating point value in the range 0-1. Default value is 0.3.\n"
                },
                {
                    "name": "tripod",
                    "content": "Set reference frame number for tripod mode.\n\nIf enabled, the motion of the frames is compared to a reference frame in the filtered\nstream, identified by the specified number. The idea is to compensate all movements in a\nmore-or-less static scene and keep the camera view absolutely still.\n\nIf set to 0, it is disabled. The frames are counted starting from 1.\n"
                },
                {
                    "name": "show",
                    "content": "Show fields and transforms in the resulting frames. It accepts an integer in the range\n0-2. Default value is 0, which disables any visualization.\n\nExamples\n\n•   Use default values:\n\nvidstabdetect\n\n•   Analyze strongly shaky movie and put the results in file mytransforms.trf:\n\nvidstabdetect=shakiness=10:accuracy=15:result=\"mytransforms.trf\"\n\n•   Visualize the result of internal transformations in the resulting video:\n\nvidstabdetect=show=1\n\n•   Analyze a video with medium shakiness using ffmpeg:\n\nffmpeg -i input -vf vidstabdetect=shakiness=5:show=1 dummy.avi\n"
                },
                {
                    "name": "vidstabtransform",
                    "content": "Video stabilization/deshaking: pass 2 of 2, see vidstabdetect for pass 1.\n\nRead a file with transform information for each frame and apply/compensate them. Together\nwith the vidstabdetect filter this can be used to deshake videos. See also\n<http://public.hronopik.de/vid.stab>. It is important to also use the unsharp filter, see\nbelow.\n\nTo enable compilation of this filter you need to configure FFmpeg with \"--enable-libvidstab\".\n\nOptions\n"
                },
                {
                    "name": "input",
                    "content": "Set path to the file used to read the transforms. Default value is transforms.trf.\n"
                },
                {
                    "name": "smoothing",
                    "content": "Set the number of frames (value*2 + 1) used for lowpass filtering the camera movements.\nDefault value is 10.\n\nFor example a number of 10 means that 21 frames are used (10 in the past and 10 in the\nfuture) to smoothen the motion in the video. A larger value leads to a smoother video,\nbut limits the acceleration of the camera (pan/tilt movements). 0 is a special case where\na static camera is simulated.\n"
                },
                {
                    "name": "optalgo",
                    "content": "Set the camera path optimization algorithm.\n\nAccepted values are:\n\ngauss\ngaussian kernel low-pass filter on camera motion (default)\n\navg averaging on transformations\n"
                },
                {
                    "name": "maxshift",
                    "content": "Set maximal number of pixels to translate frames. Default value is -1, meaning no limit.\n"
                },
                {
                    "name": "maxangle",
                    "content": "Set maximal angle in radians (degree*PI/180) to rotate frames. Default value is -1,\nmeaning no limit.\n"
                },
                {
                    "name": "crop",
                    "content": "Specify how to deal with borders that may be visible due to movement compensation.\n\nAvailable values are:\n\nkeep\nkeep image information from previous frame (default)\n\nblack\nfill the border black\n"
                },
                {
                    "name": "invert",
                    "content": "Invert transforms if set to 1. Default value is 0.\n"
                },
                {
                    "name": "relative",
                    "content": "Consider transforms as relative to previous frame if set to 1, absolute if set to 0.\nDefault value is 0.\n"
                },
                {
                    "name": "zoom",
                    "content": "Set percentage to zoom. A positive value will result in a zoom-in effect, a negative\nvalue in a zoom-out effect. Default value is 0 (no zoom).\n"
                },
                {
                    "name": "optzoom",
                    "content": "Set optimal zooming to avoid borders.\n\nAccepted values are:\n\n0   disabled\n\n1   optimal static zoom value is determined (only very strong movements will lead to\nvisible borders) (default)\n\n2   optimal adaptive zoom value is determined (no borders will be visible), see zoomspeed\n\nNote that the value given at zoom is added to the one calculated here.\n"
                },
                {
                    "name": "zoomspeed",
                    "content": "Set percent to zoom maximally each frame (enabled when optzoom is set to 2). Range is\nfrom 0 to 5, default value is 0.25.\n"
                },
                {
                    "name": "interpol",
                    "content": "Specify type of interpolation.\n\nAvailable values are:\n\nno  no interpolation\n\nlinear\nlinear only horizontal\n\nbilinear\nlinear in both directions (default)\n\nbicubic\ncubic in both directions (slow)\n"
                },
                {
                    "name": "tripod",
                    "content": "Enable virtual tripod mode if set to 1, which is equivalent to \"relative=0:smoothing=0\".\nDefault value is 0.\n\nUse also \"tripod\" option of vidstabdetect.\n"
                },
                {
                    "name": "debug",
                    "content": "Increase log verbosity if set to 1. Also the detected global motions are written to the\ntemporary file globalmotions.trf. Default value is 0.\n\nExamples\n\n•   Use ffmpeg for a typical stabilization with default values:\n\nffmpeg -i inp.mpeg -vf vidstabtransform,unsharp=5:5:0.8:3:3:0.4 inpstabilized.mpeg\n\nNote the use of the unsharp filter which is always recommended.\n\n•   Zoom in a bit more and load transform data from a given file:\n\nvidstabtransform=zoom=5:input=\"mytransforms.trf\"\n\n•   Smoothen the video even more:\n\nvidstabtransform=smoothing=30\n"
                },
                {
                    "name": "vflip",
                    "content": "Flip the input video vertically.\n\nFor example, to vertically flip a video with ffmpeg:\n\nffmpeg -i in.avi -vf \"vflip\" out.avi\n"
                },
                {
                    "name": "vfrdet",
                    "content": "Detect variable frame rate video.\n\nThis filter tries to detect if the input is variable or constant frame rate.\n\nAt end it will output number of frames detected as having variable delta pts, and ones with\nconstant delta pts.  If there was frames with variable delta, than it will also show min, max\nand average delta encountered.\n"
                },
                {
                    "name": "vibrance",
                    "content": "Boost or alter saturation.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "intensity",
                    "content": "Set strength of boost if positive value or strength of alter if negative value.  Default\nis 0. Allowed range is from -2 to 2.\n"
                },
                {
                    "name": "rbal",
                    "content": "Set the red balance. Default is 1. Allowed range is from -10 to 10.\n"
                },
                {
                    "name": "gbal",
                    "content": "Set the green balance. Default is 1. Allowed range is from -10 to 10.\n"
                },
                {
                    "name": "bbal",
                    "content": "Set the blue balance. Default is 1. Allowed range is from -10 to 10.\n"
                },
                {
                    "name": "rlum",
                    "content": "Set the red luma coefficient.\n"
                },
                {
                    "name": "glum",
                    "content": "Set the green luma coefficient.\n"
                },
                {
                    "name": "blum",
                    "content": "Set the blue luma coefficient.\n"
                },
                {
                    "name": "alternate",
                    "content": "If \"intensity\" is negative and this is set to 1, colors will change, otherwise colors\nwill be less saturated, more towards gray.\n\nCommands\n\nThis filter supports the all above options as commands.\n"
                },
                {
                    "name": "vif",
                    "content": "Obtain the average VIF (Visual Information Fidelity) between two input videos.\n\nThis filter takes two input videos.\n\nBoth input videos must have the same resolution and pixel format for this filter to work\ncorrectly. Also it assumes that both inputs have the same number of frames, which are\ncompared one by one.\n\nThe obtained average VIF score is printed through the logging system.\n\nThe filter stores the calculated VIF score of each frame.\n\nIn the below example the input file main.mpg being processed is compared with the reference\nfile ref.mpg.\n\nffmpeg -i main.mpg -i ref.mpg -lavfi vif -f null -\n"
                },
                {
                    "name": "vignette",
                    "content": "Make or reverse a natural vignetting effect.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "angle, a",
                    "content": "Set lens angle expression as a number of radians.\n\nThe value is clipped in the \"[0,PI/2]\" range.\n\nDefault value: \"PI/5\"\n\nx0\ny0  Set center coordinates expressions. Respectively \"w/2\" and \"h/2\" by default.\n"
                },
                {
                    "name": "mode",
                    "content": "Set forward/backward mode.\n\nAvailable modes are:\n\nforward\nThe larger the distance from the central point, the darker the image becomes.\n\nbackward\nThe larger the distance from the central point, the brighter the image becomes.  This\ncan be used to reverse a vignette effect, though there is no automatic detection to\nextract the lens angle and other settings (yet). It can also be used to create a\nburning effect.\n\nDefault value is forward.\n"
                },
                {
                    "name": "eval",
                    "content": "Set evaluation mode for the expressions (angle, x0, y0).\n\nIt accepts the following values:\n\ninit\nEvaluate expressions only once during the filter initialization.\n\nframe\nEvaluate expressions for each incoming frame. This is way slower than the init mode\nsince it requires all the scalers to be re-computed, but it allows advanced dynamic\nexpressions.\n\nDefault value is init.\n"
                },
                {
                    "name": "dither",
                    "content": "Set dithering to reduce the circular banding effects. Default is 1 (enabled).\n"
                },
                {
                    "name": "aspect",
                    "content": "Set vignette aspect. This setting allows one to adjust the shape of the vignette.\nSetting this value to the SAR of the input will make a rectangular vignetting following\nthe dimensions of the video.\n\nDefault is \"1/1\".\n\nExpressions\n\nThe alpha, x0 and y0 expressions can contain the following parameters.\n\nw\nh   input width and height\n\nn   the number of input frame, starting from 0\n\npts the PTS (Presentation TimeStamp) time of the filtered video frame, expressed in TB units,\nNAN if undefined\n\nr   frame rate of the input video, NAN if the input frame rate is unknown\n\nt   the PTS (Presentation TimeStamp) of the filtered video frame, expressed in seconds, NAN\nif undefined\n\ntb  time base of the input video\n\nExamples\n\n•   Apply simple strong vignetting effect:\n\nvignette=PI/4\n\n•   Make a flickering vignetting:\n\nvignette='PI/4+random(1)*PI/50':eval=frame\n"
                },
                {
                    "name": "vmafmotion",
                    "content": "Obtain the average VMAF motion score of a video.  It is one of the component metrics of VMAF.\n\nThe obtained average motion score is printed through the logging system.\n\nThe filter accepts the following options:\n\nstatsfile\nIf specified, the filter will use the named file to save the motion score of each frame\nwith respect to the previous frame.  When filename equals \"-\" the data is sent to\nstandard output.\n\nExample:\n\nffmpeg -i ref.mpg -vf vmafmotion -f null -\n"
                },
                {
                    "name": "vstack",
                    "content": "Stack input videos vertically.\n\nAll streams must be of same pixel format and of same width.\n\nNote that this filter is faster than using overlay and pad filter to create same output.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "inputs",
                    "content": "Set number of input streams. Default is 2.\n"
                },
                {
                    "name": "shortest",
                    "content": "If set to 1, force the output to terminate when the shortest input terminates. Default\nvalue is 0.\n"
                },
                {
                    "name": "w3fdif",
                    "content": "Deinterlace the input video (\"w3fdif\" stands for \"Weston 3 Field Deinterlacing Filter\").\n\nBased on the process described by Martin Weston for BBC R&D, and implemented based on the de-\ninterlace algorithm written by Jim Easterbrook for BBC R&D, the Weston 3 field deinterlacing\nfilter uses filter coefficients calculated by BBC R&D.\n\nThis filter uses field-dominance information in frame to decide which of each pair of fields\nto place first in the output.  If it gets it wrong use setfield filter before \"w3fdif\"\nfilter.\n\nThere are two sets of filter coefficients, so called \"simple\" and \"complex\". Which set of\nfilter coefficients is used can be set by passing an optional parameter:\n"
                },
                {
                    "name": "filter",
                    "content": "Set the interlacing filter coefficients. Accepts one of the following values:\n\nsimple\nSimple filter coefficient set.\n\ncomplex\nMore-complex filter coefficient set.\n\nDefault value is complex.\n"
                },
                {
                    "name": "mode",
                    "content": "The interlacing mode to adopt. It accepts one of the following values:\n\nframe\nOutput one frame for each frame.\n\nfield\nOutput one frame for each field.\n\nThe default value is \"field\".\n"
                },
                {
                    "name": "parity",
                    "content": "The picture field parity assumed for the input interlaced video. It accepts one of the\nfollowing values:\n\ntff Assume the top field is first.\n\nbff Assume the bottom field is first.\n\nauto\nEnable automatic detection of field parity.\n\nThe default value is \"auto\".  If the interlacing is unknown or the decoder does not\nexport this information, top field first will be assumed.\n"
                },
                {
                    "name": "deint",
                    "content": "Specify which frames to deinterlace. Accepts one of the following values:\n\nall Deinterlace all frames,\n\ninterlaced\nOnly deinterlace frames marked as interlaced.\n\nDefault value is all.\n\nCommands\n\nThis filter supports same commands as options.\n"
                },
                {
                    "name": "waveform",
                    "content": "Video waveform monitor.\n\nThe waveform monitor plots color component intensity. By default luminance only. Each column\nof the waveform corresponds to a column of pixels in the source video.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "mode, m",
                    "content": "Can be either \"row\", or \"column\". Default is \"column\".  In row mode, the graph on the\nleft side represents color component value 0 and the right side represents value = 255.\nIn column mode, the top side represents color component value = 0 and bottom side\nrepresents value = 255.\n"
                },
                {
                    "name": "intensity, i",
                    "content": "Set intensity. Smaller values are useful to find out how many values of the same\nluminance are distributed across input rows/columns.  Default value is 0.04. Allowed\nrange is [0, 1].\n"
                },
                {
                    "name": "mirror, r",
                    "content": "Set mirroring mode. 0 means unmirrored, 1 means mirrored.  In mirrored mode, higher\nvalues will be represented on the left side for \"row\" mode and at the top for \"column\"\nmode. Default is 1 (mirrored).\n"
                },
                {
                    "name": "display, d",
                    "content": "Set display mode.  It accepts the following values:\n\noverlay\nPresents information identical to that in the \"parade\", except that the graphs\nrepresenting color components are superimposed directly over one another.\n\nThis display mode makes it easier to spot relative differences or similarities in\noverlapping areas of the color components that are supposed to be identical, such as\nneutral whites, grays, or blacks.\n\nstack\nDisplay separate graph for the color components side by side in \"row\" mode or one\nbelow the other in \"column\" mode.\n\nparade\nDisplay separate graph for the color components side by side in \"column\" mode or one\nbelow the other in \"row\" mode.\n\nUsing this display mode makes it easy to spot color casts in the highlights and\nshadows of an image, by comparing the contours of the top and the bottom graphs of\neach waveform. Since whites, grays, and blacks are characterized by exactly equal\namounts of red, green, and blue, neutral areas of the picture should display three\nwaveforms of roughly equal width/height. If not, the correction is easy to perform by\nmaking level adjustments the three waveforms.\n\nDefault is \"stack\".\n"
                },
                {
                    "name": "components, c",
                    "content": "Set which color components to display. Default is 1, which means only luminance or red\ncolor component if input is in RGB colorspace. If is set for example to 7 it will display\nall 3 (if) available color components.\n"
                },
                {
                    "name": "envelope, e",
                    "content": "none\nNo envelope, this is default.\n\ninstant\nInstant envelope, minimum and maximum values presented in graph will be easily\nvisible even with small \"step\" value.\n\npeak\nHold minimum and maximum values presented in graph across time. This way you can\nstill spot out of range values without constantly looking at waveforms.\n\npeak+instant\nPeak and instant envelope combined together.\n"
                },
                {
                    "name": "filter, f",
                    "content": "lowpass\nNo filtering, this is default.\n\nflat\nLuma and chroma combined together.\n\naflat\nSimilar as above, but shows difference between blue and red chroma.\n\nxflat\nSimilar as above, but use different colors.\n\nyflat\nSimilar as above, but again with different colors.\n\nchroma\nDisplays only chroma.\n\ncolor\nDisplays actual color value on waveform.\n\nacolor\nSimilar as above, but with luma showing frequency of chroma values.\n"
                },
                {
                    "name": "graticule, g",
                    "content": "Set which graticule to display.\n\nnone\nDo not display graticule.\n\ngreen\nDisplay green graticule showing legal broadcast ranges.\n\norange\nDisplay orange graticule showing legal broadcast ranges.\n\ninvert\nDisplay invert graticule showing legal broadcast ranges.\n"
                },
                {
                    "name": "opacity, o",
                    "content": "Set graticule opacity.\n"
                },
                {
                    "name": "flags, fl",
                    "content": "Set graticule flags.\n\nnumbers\nDraw numbers above lines. By default enabled.\n\ndots\nDraw dots instead of lines.\n"
                },
                {
                    "name": "scale, s",
                    "content": "Set scale used for displaying graticule.\n\ndigital\nmillivolts\nire\n\nDefault is digital.\n"
                },
                {
                    "name": "bgopacity, b",
                    "content": "Set background opacity.\n"
                },
                {
                    "name": "tint0, t0",
                    "content": ""
                },
                {
                    "name": "tint1, t1",
                    "content": "Set tint for output.  Only used with lowpass filter and when display is not overlay and\ninput pixel formats are not RGB.\n"
                },
                {
                    "name": "weave, doubleweave",
                    "content": "The \"weave\" takes a field-based video input and join each two sequential fields into single\nframe, producing a new double height clip with half the frame rate and half the frame count.\n\nThe \"doubleweave\" works same as \"weave\" but without halving frame rate and frame count.\n\nIt accepts the following option:\n\nfirstfield\nSet first field. Available values are:\n\ntop, t\nSet the frame as top-field-first.\n\nbottom, b\nSet the frame as bottom-field-first.\n\nExamples\n\n•   Interlace video using select and separatefields filter:\n\nseparatefields,select=eq(mod(n,4),0)+eq(mod(n,4),3),weave\n"
                },
                {
                    "name": "xbr",
                    "content": "Apply the xBR high-quality magnification filter which is designed for pixel art. It follows a\nset of edge-detection rules, see <https://forums.libretro.com/t/xbr-algorithm-tutorial/123>.\n\nIt accepts the following option:\n\nn   Set the scaling dimension: 2 for \"2xBR\", 3 for \"3xBR\" and 4 for \"4xBR\".  Default is 3.\n"
                },
                {
                    "name": "xfade",
                    "content": "Apply cross fade from one input video stream to another input video stream.  The cross fade\nis applied for specified duration.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "transition",
                    "content": "Set one of available transition effects:\n\ncustom\nfade\nwipeleft\nwiperight\nwipeup\nwipedown\nslideleft\nslideright\nslideup\nslidedown\ncirclecrop\nrectcrop\ndistance\nfadeblack\nfadewhite\nradial\nsmoothleft\nsmoothright\nsmoothup\nsmoothdown\ncircleopen\ncircleclose\nvertopen\nvertclose\nhorzopen\nhorzclose\ndissolve\npixelize\ndiagtl\ndiagtr\ndiagbl\ndiagbr\nhlslice\nhrslice\nvuslice\nvdslice\nhblur\nfadegrays\nwipetl\nwipetr\nwipebl\nwipebr\nsqueezeh\nsqueezev\n\nDefault transition effect is fade.\n"
                },
                {
                    "name": "duration",
                    "content": "Set cross fade duration in seconds.  Default duration is 1 second.\n"
                },
                {
                    "name": "offset",
                    "content": "Set cross fade start relative to first input stream in seconds.  Default offset is 0.\n"
                },
                {
                    "name": "expr",
                    "content": "Set expression for custom transition effect.\n\nThe expressions can use the following variables and functions:\n\nX\nY   The coordinates of the current sample.\n\nW\nH   The width and height of the image.\n\nP   Progress of transition effect.\n\nPLANE\nCurrently processed plane.\n\nA   Return value of first input at current location and plane.\n\nB   Return value of second input at current location and plane.\n\na0(x, y)\na1(x, y)\na2(x, y)\na3(x, y)\nReturn the value of the pixel at location (x,y) of the first/second/third/fourth\ncomponent of first input.\n\nb0(x, y)\nb1(x, y)\nb2(x, y)\nb3(x, y)\nReturn the value of the pixel at location (x,y) of the first/second/third/fourth\ncomponent of second input.\n\nExamples\n\n•   Cross fade from one input video to another input video, with fade transition and duration\nof transition of 2 seconds starting at offset of 5 seconds:\n\nffmpeg -i first.mp4 -i second.mp4 -filtercomplex xfade=transition=fade:duration=2:offset=5 output.mp4\n"
                },
                {
                    "name": "xmedian",
                    "content": "Pick median pixels from several input videos.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "inputs",
                    "content": "Set number of inputs.  Default is 3. Allowed range is from 3 to 255.  If number of inputs\nis even number, than result will be mean value between two median values.\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to filter. Default value is 15, by which all planes are processed.\n"
                },
                {
                    "name": "percentile",
                    "content": "Set median percentile. Default value is 0.5.  Default value of 0.5 will pick always\nmedian values, while 0 will pick minimum values, and 1 maximum values.\n\nCommands\n\nThis filter supports all above options as commands, excluding option \"inputs\".\n"
                },
                {
                    "name": "xstack",
                    "content": "Stack video inputs into custom layout.\n\nAll streams must be of same pixel format.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "inputs",
                    "content": "Set number of input streams. Default is 2.\n"
                },
                {
                    "name": "layout",
                    "content": "Specify layout of inputs.  This option requires the desired layout configuration to be\nexplicitly set by the user.  This sets position of each video input in output. Each input\nis separated by '|'.  The first number represents the column, and the second number\nrepresents the row.  Numbers start at 0 and are separated by ''. Optionally one can use\nwX and hX, where X is video input from which to take width or height.  Multiple values\ncan be used when separated by '+'. In such case values are summed together.\n\nNote that if inputs are of different sizes gaps may appear, as not all of the output\nvideo frame will be filled. Similarly, videos can overlap each other if their position\ndoesn't leave enough space for the full frame of adjoining videos.\n\nFor 2 inputs, a default layout of \"00|w00\" is set. In all other cases, a layout must be\nset by the user.\n"
                },
                {
                    "name": "shortest",
                    "content": "If set to 1, force the output to terminate when the shortest input terminates. Default\nvalue is 0.\n"
                },
                {
                    "name": "fill",
                    "content": "If set to valid color, all unused pixels will be filled with that color.  By default fill\nis set to none, so it is disabled.\n\nExamples\n\n•   Display 4 inputs into 2x2 grid.\n\nLayout:\n\ninput1(0, 0)  | input3(w0, 0)\ninput2(0, h0) | input4(w0, h0)\n\n\n\nxstack=inputs=4:layout=00|0h0|w00|w0h0\n\nNote that if inputs are of different sizes, gaps or overlaps may occur.\n\n•   Display 4 inputs into 1x4 grid.\n\nLayout:\n\ninput1(0, 0)\ninput2(0, h0)\ninput3(0, h0+h1)\ninput4(0, h0+h1+h2)\n\n\n\nxstack=inputs=4:layout=00|0h0|0h0+h1|0h0+h1+h2\n\nNote that if inputs are of different widths, unused space will appear.\n\n•   Display 9 inputs into 3x3 grid.\n\nLayout:\n\ninput1(0, 0)       | input4(w0, 0)      | input7(w0+w3, 0)\ninput2(0, h0)      | input5(w0, h0)     | input8(w0+w3, h0)\ninput3(0, h0+h1)   | input6(w0, h0+h1)  | input9(w0+w3, h0+h1)\n\n\n\nxstack=inputs=9:layout=00|0h0|0h0+h1|w00|w0h0|w0h0+h1|w0+w30|w0+w3h0|w0+w3h0+h1\n\nNote that if inputs are of different sizes, gaps or overlaps may occur.\n\n•   Display 16 inputs into 4x4 grid.\n\nLayout:\n\ninput1(0, 0)       | input5(w0, 0)       | input9 (w0+w4, 0)       | input13(w0+w4+w8, 0)\ninput2(0, h0)      | input6(w0, h0)      | input10(w0+w4, h0)      | input14(w0+w4+w8, h0)\ninput3(0, h0+h1)   | input7(w0, h0+h1)   | input11(w0+w4, h0+h1)   | input15(w0+w4+w8, h0+h1)\ninput4(0, h0+h1+h2)| input8(w0, h0+h1+h2)| input12(w0+w4, h0+h1+h2)| input16(w0+w4+w8, h0+h1+h2)\n\n\n\nxstack=inputs=16:layout=00|0h0|0h0+h1|0h0+h1+h2|w00|w0h0|w0h0+h1|w0h0+h1+h2|w0+w40|\nw0+w4h0|w0+w4h0+h1|w0+w4h0+h1+h2|w0+w4+w80|w0+w4+w8h0|w0+w4+w8h0+h1|w0+w4+w8h0+h1+h2\n\nNote that if inputs are of different sizes, gaps or overlaps may occur.\n"
                },
                {
                    "name": "yadif",
                    "content": "Deinterlace the input video (\"yadif\" means \"yet another deinterlacing filter\").\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "mode",
                    "content": "The interlacing mode to adopt. It accepts one of the following values:\n\n0, sendframe\nOutput one frame for each frame.\n\n1, sendfield\nOutput one frame for each field.\n\n2, sendframenospatial\nLike \"sendframe\", but it skips the spatial interlacing check.\n\n3, sendfieldnospatial\nLike \"sendfield\", but it skips the spatial interlacing check.\n\nThe default value is \"sendframe\".\n"
                },
                {
                    "name": "parity",
                    "content": "The picture field parity assumed for the input interlaced video. It accepts one of the\nfollowing values:\n\n0, tff\nAssume the top field is first.\n\n1, bff\nAssume the bottom field is first.\n\n-1, auto\nEnable automatic detection of field parity.\n\nThe default value is \"auto\".  If the interlacing is unknown or the decoder does not\nexport this information, top field first will be assumed.\n"
                },
                {
                    "name": "deint",
                    "content": "Specify which frames to deinterlace. Accepts one of the following values:\n\n0, all\nDeinterlace all frames.\n\n1, interlaced\nOnly deinterlace frames marked as interlaced.\n\nThe default value is \"all\".\n\nyadifcuda\nDeinterlace the input video using the yadif algorithm, but implemented in CUDA so that it can\nwork as part of a GPU accelerated pipeline with nvdec and/or nvenc.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "mode",
                    "content": "The interlacing mode to adopt. It accepts one of the following values:\n\n0, sendframe\nOutput one frame for each frame.\n\n1, sendfield\nOutput one frame for each field.\n\n2, sendframenospatial\nLike \"sendframe\", but it skips the spatial interlacing check.\n\n3, sendfieldnospatial\nLike \"sendfield\", but it skips the spatial interlacing check.\n\nThe default value is \"sendframe\".\n"
                },
                {
                    "name": "parity",
                    "content": "The picture field parity assumed for the input interlaced video. It accepts one of the\nfollowing values:\n\n0, tff\nAssume the top field is first.\n\n1, bff\nAssume the bottom field is first.\n\n-1, auto\nEnable automatic detection of field parity.\n\nThe default value is \"auto\".  If the interlacing is unknown or the decoder does not\nexport this information, top field first will be assumed.\n"
                },
                {
                    "name": "deint",
                    "content": "Specify which frames to deinterlace. Accepts one of the following values:\n\n0, all\nDeinterlace all frames.\n\n1, interlaced\nOnly deinterlace frames marked as interlaced.\n\nThe default value is \"all\".\n"
                },
                {
                    "name": "yaepblur",
                    "content": "Apply blur filter while preserving edges (\"yaepblur\" means \"yet another edge preserving blur\nfilter\").  The algorithm is described in \"J. S. Lee, Digital image enhancement and noise\nfiltering by use of local statistics, IEEE Trans. Pattern Anal. Mach. Intell. PAMI-2, 1980.\"\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "radius, r",
                    "content": "Set the window radius. Default value is 3.\n"
                },
                {
                    "name": "planes, p",
                    "content": "Set which planes to filter. Default is only the first plane.\n"
                },
                {
                    "name": "sigma, s",
                    "content": "Set blur strength. Default value is 128.\n\nCommands\n\nThis filter supports same commands as options.\n"
                },
                {
                    "name": "zoompan",
                    "content": "Apply Zoom & Pan effect.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "zoom, z",
                    "content": "Set the zoom expression. Range is 1-10. Default is 1.\n\nx\ny   Set the x and y expression. Default is 0.\n\nd   Set the duration expression in number of frames.  This sets for how many number of frames\neffect will last for single input image. Default is 90.\n\ns   Set the output image size, default is 'hd720'.\n\nfps Set the output frame rate, default is '25'.\n\nEach expression can contain the following constants:\n\ninw, iw\nInput width.\n\ninh, ih\nInput height.\n\noutw, ow\nOutput width.\n\nouth, oh\nOutput height.\n\nin  Input frame count.\n\non  Output frame count.\n\nintime, it\nThe input timestamp expressed in seconds. It's NAN if the input timestamp is unknown.\n\nouttime, time, ot\nThe output timestamp expressed in seconds.\n\nx\ny   Last calculated 'x' and 'y' position from 'x' and 'y' expression for current input frame.\n\npx\npy  'x' and 'y' of last output frame of previous input frame or 0 when there was not yet such\nframe (first input frame).\n"
                },
                {
                    "name": "zoom",
                    "content": "Last calculated zoom from 'z' expression for current input frame.\n"
                },
                {
                    "name": "pzoom",
                    "content": "Last calculated zoom of last output frame of previous input frame.\n"
                },
                {
                    "name": "duration",
                    "content": "Number of output frames for current input frame. Calculated from 'd' expression for each\ninput frame.\n"
                },
                {
                    "name": "pduration",
                    "content": "number of output frames created for previous input frame\n\na   Rational number: input width / input height\n\nsar sample aspect ratio\n\ndar display aspect ratio\n\nExamples\n\n•   Zoom in up to 1.5x and pan at same time to some spot near center of picture:\n\nzoompan=z='min(zoom+0.0015,1.5)':d=700:x='if(gte(zoom,1.5),x,x+1/a)':y='if(gte(zoom,1.5),y,y+1)':s=640x360\n\n•   Zoom in up to 1.5x and pan always at center of picture:\n\nzoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'\n\n•   Same as above but without pausing:\n\nzoompan=z='min(max(zoom,pzoom)+0.0015,1.5)':d=1:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'\n\n•   Zoom in 2x into center of picture only for the first second of the input video:\n\nzoompan=z='if(between(intime,0,1),2,1)':d=1:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'\n"
                },
                {
                    "name": "zscale",
                    "content": "Scale (resize) the input video, using the z.lib library:\n<https://github.com/sekrit-twc/zimg>. To enable compilation of this filter, you need to\nconfigure FFmpeg with \"--enable-libzimg\".\n\nThe zscale filter forces the output display aspect ratio to be the same as the input, by\nchanging the output sample aspect ratio.\n\nIf the input image format is different from the format requested by the next filter, the\nzscale filter will convert the input to the requested format.\n\nOptions\n\nThe filter accepts the following options.\n"
                },
                {
                    "name": "width, w",
                    "content": ""
                },
                {
                    "name": "height, h",
                    "content": "Set the output video dimension expression. Default value is the input dimension.\n\nIf the width or w value is 0, the input width is used for the output. If the height or h\nvalue is 0, the input height is used for the output.\n\nIf one and only one of the values is -n with n >= 1, the zscale filter will use a value\nthat maintains the aspect ratio of the input image, calculated from the other specified\ndimension. After that it will, however, make sure that the calculated dimension is\ndivisible by n and adjust the value if necessary.\n\nIf both values are -n with n >= 1, the behavior will be identical to both values being\nset to 0 as previously detailed.\n\nSee below for the list of accepted constants for use in the dimension expression.\n"
                },
                {
                    "name": "size, s",
                    "content": "Set the video size. For the syntax of this option, check the \"Video size\" section in the\nffmpeg-utils manual.\n"
                },
                {
                    "name": "dither, d",
                    "content": "Set the dither type.\n\nPossible values are:\n\nnone\nordered\nrandom\nerrordiffusion\n\nDefault is none.\n"
                },
                {
                    "name": "filter, f",
                    "content": "Set the resize filter type.\n\nPossible values are:\n\npoint\nbilinear\nbicubic\nspline16\nspline36\nlanczos\n\nDefault is bilinear.\n"
                },
                {
                    "name": "range, r",
                    "content": "Set the color range.\n\nPossible values are:\n\ninput\nlimited\nfull\n\nDefault is same as input.\n"
                },
                {
                    "name": "primaries, p",
                    "content": "Set the color primaries.\n\nPossible values are:\n\ninput\n709\nunspecified\n170m\n240m\n2020\n\nDefault is same as input.\n"
                },
                {
                    "name": "transfer, t",
                    "content": "Set the transfer characteristics.\n\nPossible values are:\n\ninput\n709\nunspecified\n601\nlinear\n202010\n202012\nsmpte2084\niec61966-2-1\narib-std-b67\n\nDefault is same as input.\n"
                },
                {
                    "name": "matrix, m",
                    "content": "Set the colorspace matrix.\n\nPossible value are:\n\ninput\n709\nunspecified\n470bg\n170m\n2020ncl\n2020cl\n\nDefault is same as input.\n"
                },
                {
                    "name": "rangein, rin",
                    "content": "Set the input color range.\n\nPossible values are:\n\ninput\nlimited\nfull\n\nDefault is same as input.\n"
                },
                {
                    "name": "primariesin, pin",
                    "content": "Set the input color primaries.\n\nPossible values are:\n\ninput\n709\nunspecified\n170m\n240m\n2020\n\nDefault is same as input.\n"
                },
                {
                    "name": "transferin, tin",
                    "content": "Set the input transfer characteristics.\n\nPossible values are:\n\ninput\n709\nunspecified\n601\nlinear\n202010\n202012\n\nDefault is same as input.\n"
                },
                {
                    "name": "matrixin, min",
                    "content": "Set the input colorspace matrix.\n\nPossible value are:\n\ninput\n709\nunspecified\n470bg\n170m\n2020ncl\n2020cl"
                },
                {
                    "name": "chromal, c",
                    "content": "Set the output chroma location.\n\nPossible values are:\n\ninput\nleft\ncenter\ntopleft\ntop\nbottomleft\nbottom"
                },
                {
                    "name": "chromalin, cin",
                    "content": "Set the input chroma location.\n\nPossible values are:\n\ninput\nleft\ncenter\ntopleft\ntop\nbottomleft\nbottom\nnpl Set the nominal peak luminance.\n\nparama\nParameter A for scaling filters. Parameter \"b\" for bicubic, and the number of filter taps\nfor lanczos.\n\nparamb\nParameter B for scaling filters. Parameter \"c\" for bicubic.\n\nThe values of the w and h options are expressions containing the following constants:\n\ninw\ninh\nThe input width and height\n\niw\nih  These are the same as inw and inh.\n\noutw\nouth\nThe output (scaled) width and height\n\now\noh  These are the same as outw and outh\n\na   The same as iw / ih\n\nsar input sample aspect ratio\n\ndar The input display aspect ratio. Calculated from \"(iw / ih) * sar\".\n\nhsub\nvsub\nhorizontal and vertical input chroma subsample values. For example for the pixel format\n\"yuv422p\" hsub is 2 and vsub is 1.\n\nohsub\novsub\nhorizontal and vertical output chroma subsample values. For example for the pixel format\n\"yuv422p\" hsub is 2 and vsub is 1.\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "width, w",
                    "content": ""
                },
                {
                    "name": "height, h",
                    "content": "Set the output video dimension expression.  The command accepts the same syntax of the\ncorresponding option.\n\nIf the specified expression is not valid, it is kept at its current value.\n"
                }
            ]
        },
        "OPENCL VIDEO FILTERS": {
            "content": "Below is a description of the currently available OpenCL video filters.\n\nTo enable compilation of these filters you need to configure FFmpeg with \"--enable-opencl\".\n\nRunning OpenCL filters requires you to initialize a hardware device and to pass that device\nto all filters in any filter graph.\n",
            "subsections": [
                {
                    "name": "-init",
                    "content": "Initialise a new hardware device of type opencl called name, using the given device\nparameters.\n"
                },
                {
                    "name": "-filter",
                    "content": "Pass the hardware device called name to all filters in any filter graph.\n\nFor more detailed information see <https://www.ffmpeg.org/ffmpeg.html#Advanced-Video-options>\n\n•   Example of choosing the first device on the second platform and running avgbluropencl\nfilter with default parameters on it.\n\n-inithwdevice opencl=gpu:1.0 -filterhwdevice gpu -i INPUT -vf \"hwupload, avgbluropencl, hwdownload\" OUTPUT\n\nSince OpenCL filters are not able to access frame data in normal memory, all frame data needs\nto be uploaded(hwupload) to hardware surfaces connected to the appropriate device before\nbeing used and then downloaded(hwdownload) back to normal memory. Note that hwupload will\nupload to a surface with the same layout as the software frame, so it may be necessary to add\na format filter immediately before to get the input into the right format and hwdownload does\nnot support all formats on the output - it may be necessary to insert an additional format\nfilter immediately following in the graph to get the output in a supported format.\n\navgbluropencl\nApply average blur filter.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "sizeX",
                    "content": "Set horizontal radius size.  Range is \"[1, 1024]\" and default value is 1.\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to filter. Default value is 0xf, by which all planes are processed.\n"
                },
                {
                    "name": "sizeY",
                    "content": "Set vertical radius size. Range is \"[1, 1024]\" and default value is 0. If zero, \"sizeX\"\nvalue will be used.\n\nExample\n\n•   Apply average blur filter with horizontal and vertical size of 3, setting each pixel of\nthe output to the average value of the 7x7 region centered on it in the input. For pixels\non the edges of the image, the region does not extend beyond the image boundaries, and so\nout-of-range coordinates are not used in the calculations.\n\n-i INPUT -vf \"hwupload, avgbluropencl=3, hwdownload\" OUTPUT\n\nboxbluropencl\nApply a boxblur algorithm to the input video.\n\nIt accepts the following parameters:\n\nlumaradius, lr\nlumapower, lp\nchromaradius, cr\nchromapower, cp\nalpharadius, ar\nalphapower, ap\n\nA description of the accepted options follows.\n\nlumaradius, lr\nchromaradius, cr\nalpharadius, ar\nSet an expression for the box radius in pixels used for blurring the corresponding input\nplane.\n\nThe radius value must be a non-negative number, and must not be greater than the value of\nthe expression \"min(w,h)/2\" for the luma and alpha planes, and of \"min(cw,ch)/2\" for the\nchroma planes.\n\nDefault value for lumaradius is \"2\". If not specified, chromaradius and alpharadius\ndefault to the corresponding value set for lumaradius.\n\nThe expressions can contain the following constants:\n\nw\nh   The input width and height in pixels.\n\ncw\nch  The input chroma image width and height in pixels.\n\nhsub\nvsub\nThe horizontal and vertical chroma subsample values. For example, for the pixel\nformat \"yuv422p\", hsub is 2 and vsub is 1.\n\nlumapower, lp\nchromapower, cp\nalphapower, ap\nSpecify how many times the boxblur filter is applied to the corresponding plane.\n\nDefault value for lumapower is 2. If not specified, chromapower and alphapower default\nto the corresponding value set for lumapower.\n\nA value of 0 will disable the effect.\n\nExamples\n\nApply boxblur filter, setting each pixel of the output to the average value of box-radiuses\nlumaradius, chromaradius, alpharadius for each plane respectively. The filter will apply\nlumapower, chromapower, alphapower times onto the corresponding plane. For pixels on the\nedges of the image, the radius does not extend beyond the image boundaries, and so out-of-\nrange coordinates are not used in the calculations.\n\n•   Apply a boxblur filter with the luma, chroma, and alpha radius set to 2 and luma, chroma,\nand alpha power set to 3. The filter will run 3 times with box-radius set to 2 for every\nplane of the image.\n\n-i INPUT -vf \"hwupload, boxbluropencl=lumaradius=2:lumapower=3, hwdownload\" OUTPUT\n-i INPUT -vf \"hwupload, boxbluropencl=2:3, hwdownload\" OUTPUT\n\n•   Apply a boxblur filter with luma radius set to 2, lumapower to 1, chromaradius to 4,\nchromapower to 5, alpharadius to 3 and alphapower to 7.\n\nFor the luma plane, a 2x2 box radius will be run once.\n\nFor the chroma plane, a 4x4 box radius will be run 5 times.\n\nFor the alpha plane, a 3x3 box radius will be run 7 times.\n\n-i INPUT -vf \"hwupload, boxbluropencl=2:1:4:5:3:7, hwdownload\" OUTPUT\n\ncolorkeyopencl\nRGB colorspace color keying.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "color",
                    "content": "The color which will be replaced with transparency.\n"
                },
                {
                    "name": "similarity",
                    "content": "Similarity percentage with the key color.\n\n0.01 matches only the exact key color, while 1.0 matches everything.\n"
                },
                {
                    "name": "blend",
                    "content": "Blend percentage.\n\n0.0 makes pixels either fully transparent, or not transparent at all.\n\nHigher values result in semi-transparent pixels, with a higher transparency the more\nsimilar the pixels color is to the key color.\n\nExamples\n\n•   Make every semi-green pixel in the input transparent with some slight blending:\n\n-i INPUT -vf \"hwupload, colorkeyopencl=green:0.3:0.1, hwdownload\" OUTPUT\n\nconvolutionopencl\nApply convolution of 3x3, 5x5, 7x7 matrix.\n\nThe filter accepts the following options:\n\n0m\n1m\n2m\n3m  Set matrix for each plane.  Matrix is sequence of 9, 25 or 49 signed numbers.  Default\nvalue for each plane is \"0 0 0 0 1 0 0 0 0\".\n"
                },
                {
                    "name": "0rdiv",
                    "content": ""
                },
                {
                    "name": "1rdiv",
                    "content": ""
                },
                {
                    "name": "2rdiv",
                    "content": ""
                },
                {
                    "name": "3rdiv",
                    "content": "Set multiplier for calculated value for each plane.  If unset or 0, it will be sum of all\nmatrix elements.  The option value must be a float number greater or equal to 0.0.\nDefault value is 1.0.\n"
                },
                {
                    "name": "0bias",
                    "content": ""
                },
                {
                    "name": "1bias",
                    "content": ""
                },
                {
                    "name": "2bias",
                    "content": ""
                },
                {
                    "name": "3bias",
                    "content": "Set bias for each plane. This value is added to the result of the multiplication.  Useful\nfor making the overall image brighter or darker.  The option value must be a float number\ngreater or equal to 0.0. Default value is 0.0.\n\nExamples\n\n•   Apply sharpen:\n\n-i INPUT -vf \"hwupload, convolutionopencl=0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1 0 -1 0, hwdownload\" OUTPUT\n\n•   Apply blur:\n\n-i INPUT -vf \"hwupload, convolutionopencl=1 1 1 1 1 1 1 1 1:1 1 1 1 1 1 1 1 1:1 1 1 1 1 1 1 1 1:1 1 1 1 1 1 1 1 1:1/9:1/9:1/9:1/9, hwdownload\" OUTPUT\n\n•   Apply edge enhance:\n\n-i INPUT -vf \"hwupload, convolutionopencl=0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:5:1:1:1:0:128:128:128, hwdownload\" OUTPUT\n\n•   Apply edge detect:\n\n-i INPUT -vf \"hwupload, convolutionopencl=0 1 0 1 -4 1 0 1 0:0 1 0 1 -4 1 0 1 0:0 1 0 1 -4 1 0 1 0:0 1 0 1 -4 1 0 1 0:5:5:5:1:0:128:128:128, hwdownload\" OUTPUT\n\n•   Apply laplacian edge detector which includes diagonals:\n\n-i INPUT -vf \"hwupload, convolutionopencl=1 1 1 1 -8 1 1 1 1:1 1 1 1 -8 1 1 1 1:1 1 1 1 -8 1 1 1 1:1 1 1 1 -8 1 1 1 1:5:5:5:1:0:128:128:0, hwdownload\" OUTPUT\n\n•   Apply emboss:\n\n-i INPUT -vf \"hwupload, convolutionopencl=-2 -1 0 -1 1 1 0 1 2:-2 -1 0 -1 1 1 0 1 2:-2 -1 0 -1 1 1 0 1 2:-2 -1 0 -1 1 1 0 1 2, hwdownload\" OUTPUT\n\nerosionopencl\nApply erosion effect to the video.\n\nThis filter replaces the pixel by the local(3x3) minimum.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "threshold0",
                    "content": ""
                },
                {
                    "name": "threshold1",
                    "content": ""
                },
                {
                    "name": "threshold2",
                    "content": ""
                },
                {
                    "name": "threshold3",
                    "content": "Limit the maximum change for each plane. Range is \"[0, 65535]\" and default value is\n65535.  If 0, plane will remain unchanged.\n"
                },
                {
                    "name": "coordinates",
                    "content": "Flag which specifies the pixel to refer to.  Range is \"[0, 255]\" and default value is\n255, i.e. all eight pixels are used.\n\nFlags to local 3x3 coordinates region centered on \"x\":\n\n1 2 3\n\n4 x 5\n\n6 7 8\n\nExample\n\n•   Apply erosion filter with threshold0 set to 30, threshold1 set 40, threshold2 set to 50\nand coordinates set to 231, setting each pixel of the output to the local minimum between\npixels: 1, 2, 3, 6, 7, 8 of the 3x3 region centered on it in the input. If the difference\nbetween input pixel and local minimum is more then threshold of the corresponding plane,\noutput pixel will be set to input pixel - threshold of corresponding plane.\n\n-i INPUT -vf \"hwupload, erosionopencl=30:40:50:coordinates=231, hwdownload\" OUTPUT\n\ndeshakeopencl\nFeature-point based video stabilization filter.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "tripod",
                    "content": "Simulates a tripod by preventing any camera movement whatsoever from the original frame.\nDefaults to 0.\n"
                },
                {
                    "name": "debug",
                    "content": "Whether or not additional debug info should be displayed, both in the processed output\nand in the console.\n\nNote that in order to see console debug output you will also need to pass \"-v verbose\" to\nffmpeg.\n\nViewing point matches in the output video is only supported for RGB input.\n\nDefaults to 0.\n\nadaptivecrop\nWhether or not to do a tiny bit of cropping at the borders to cut down on the amount of\nmirrored pixels.\n\nDefaults to 1.\n\nrefinefeatures\nWhether or not feature points should be refined at a sub-pixel level.\n\nThis can be turned off for a slight performance gain at the cost of precision.\n\nDefaults to 1.\n\nsmoothstrength\nThe strength of the smoothing applied to the camera path from 0.0 to 1.0.\n\n1.0 is the maximum smoothing strength while values less than that result in less\nsmoothing.\n\n0.0 causes the filter to adaptively choose a smoothing strength on a per-frame basis.\n\nDefaults to 0.0.\n\nsmoothwindowmultiplier\nControls the size of the smoothing window (the number of frames buffered to determine\nmotion information from).\n\nThe size of the smoothing window is determined by multiplying the framerate of the video\nby this number.\n\nAcceptable values range from 0.1 to 10.0.\n\nLarger values increase the amount of motion data available for determining how to smooth\nthe camera path, potentially improving smoothness, but also increase latency and memory\nusage.\n\nDefaults to 2.0.\n\nExamples\n\n•   Stabilize a video with a fixed, medium smoothing strength:\n\n-i INPUT -vf \"hwupload, deshakeopencl=smoothstrength=0.5, hwdownload\" OUTPUT\n\n•   Stabilize a video with debugging (both in console and in rendered video):\n\n-i INPUT -filtercomplex \"[0:v]format=rgba, hwupload, deshakeopencl=debug=1, hwdownload, format=rgba, format=yuv420p\" -v verbose OUTPUT\n\ndilationopencl\nApply dilation effect to the video.\n\nThis filter replaces the pixel by the local(3x3) maximum.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "threshold0",
                    "content": ""
                },
                {
                    "name": "threshold1",
                    "content": ""
                },
                {
                    "name": "threshold2",
                    "content": ""
                },
                {
                    "name": "threshold3",
                    "content": "Limit the maximum change for each plane. Range is \"[0, 65535]\" and default value is\n65535.  If 0, plane will remain unchanged.\n"
                },
                {
                    "name": "coordinates",
                    "content": "Flag which specifies the pixel to refer to.  Range is \"[0, 255]\" and default value is\n255, i.e. all eight pixels are used.\n\nFlags to local 3x3 coordinates region centered on \"x\":\n\n1 2 3\n\n4 x 5\n\n6 7 8\n\nExample\n\n•   Apply dilation filter with threshold0 set to 30, threshold1 set 40, threshold2 set to 50\nand coordinates set to 231, setting each pixel of the output to the local maximum between\npixels: 1, 2, 3, 6, 7, 8 of the 3x3 region centered on it in the input. If the difference\nbetween input pixel and local maximum is more then threshold of the corresponding plane,\noutput pixel will be set to input pixel + threshold of corresponding plane.\n\n-i INPUT -vf \"hwupload, dilationopencl=30:40:50:coordinates=231, hwdownload\" OUTPUT\n\nnlmeansopencl\nNon-local Means denoise filter through OpenCL, this filter accepts same options as nlmeans.\n\noverlayopencl\nOverlay one video on top of another.\n\nIt takes two inputs and has one output. The first input is the \"main\" video on which the\nsecond input is overlaid.  This filter requires same memory layout for all the inputs. So,\nformat conversion may be needed.\n\nThe filter accepts the following options:\n\nx   Set the x coordinate of the overlaid video on the main video.  Default value is 0.\n\ny   Set the y coordinate of the overlaid video on the main video.  Default value is 0.\n\nExamples\n\n•   Overlay an image LOGO at the top-left corner of the INPUT video. Both inputs are yuv420p\nformat.\n\n-i INPUT -i LOGO -filtercomplex \"[0:v]hwupload[a], [1:v]format=yuv420p, hwupload[b], [a][b]overlayopencl, hwdownload\" OUTPUT\n\n•   The inputs have same memory layout for color channels , the overlay has additional alpha\nplane, like INPUT is yuv420p, and the LOGO is yuva420p.\n\n-i INPUT -i LOGO -filtercomplex \"[0:v]hwupload[a], [1:v]format=yuva420p, hwupload[b], [a][b]overlayopencl, hwdownload\" OUTPUT\n\npadopencl\nAdd paddings to the input image, and place the original input at the provided x, y\ncoordinates.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "width, w",
                    "content": ""
                },
                {
                    "name": "height, h",
                    "content": "Specify an expression for the size of the output image with the paddings added. If the\nvalue for width or height is 0, the corresponding input size is used for the output.\n\nThe width expression can reference the value set by the height expression, and vice\nversa.\n\nThe default value of width and height is 0.\n\nx\ny   Specify the offsets to place the input image at within the padded area, with respect to\nthe top/left border of the output image.\n\nThe x expression can reference the value set by the y expression, and vice versa.\n\nThe default value of x and y is 0.\n\nIf x or y evaluate to a negative number, they'll be changed so the input image is\ncentered on the padded area.\n"
                },
                {
                    "name": "color",
                    "content": "Specify the color of the padded area. For the syntax of this option, check the \"Color\"\nsection in the ffmpeg-utils manual.\n"
                },
                {
                    "name": "aspect",
                    "content": "Pad to an aspect instead to a resolution.\n\nThe value for the width, height, x, and y options are expressions containing the following\nconstants:\n\ninw\ninh\nThe input video width and height.\n\niw\nih  These are the same as inw and inh.\n\noutw\nouth\nThe output width and height (the size of the padded area), as specified by the width and\nheight expressions.\n\now\noh  These are the same as outw and outh.\n\nx\ny   The x and y offsets as specified by the x and y expressions, or NAN if not yet specified.\n\na   same as iw / ih\n\nsar input sample aspect ratio\n\ndar input display aspect ratio, it is the same as (iw / ih) * sar\n\nprewittopencl\nApply the Prewitt operator (<https://en.wikipedia.org/wiki/Prewittoperator>) to input video\nstream.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to filter. Default value is 0xf, by which all planes are processed.\n"
                },
                {
                    "name": "scale",
                    "content": "Set value which will be multiplied with filtered result.  Range is \"[0.0, 65535]\" and\ndefault value is 1.0.\n"
                },
                {
                    "name": "delta",
                    "content": "Set value which will be added to filtered result.  Range is \"[-65535, 65535]\" and default\nvalue is 0.0.\n\nExample\n\n•   Apply the Prewitt operator with scale set to 2 and delta set to 10.\n\n-i INPUT -vf \"hwupload, prewittopencl=scale=2:delta=10, hwdownload\" OUTPUT\n\nprogramopencl\nFilter video using an OpenCL program.\n"
                },
                {
                    "name": "source",
                    "content": "OpenCL program source file.\n"
                },
                {
                    "name": "kernel",
                    "content": "Kernel name in program.\n"
                },
                {
                    "name": "inputs",
                    "content": "Number of inputs to the filter.  Defaults to 1.\n"
                },
                {
                    "name": "size, s",
                    "content": "Size of output frames.  Defaults to the same as the first input.\n\nThe \"programopencl\" filter also supports the framesync options.\n\nThe program source file must contain a kernel function with the given name, which will be run\nonce for each plane of the output.  Each run on a plane gets enqueued as a separate 2D global\nNDRange with one work-item for each pixel to be generated.  The global ID offset for each\nwork-item is therefore the coordinates of a pixel in the destination image.\n\nThe kernel function needs to take the following arguments:\n\n•   Destination image, writeonly image2dt.\n\nThis image will become the output; the kernel should write all of it.\n\n•   Frame index, unsigned int.\n\nThis is a counter starting from zero and increasing by one for each frame.\n\n•   Source images, readonly image2dt.\n\nThese are the most recent images on each input.  The kernel may read from them to\ngenerate the output, but they can't be written to.\n\nExample programs:\n\n•   Copy the input to the output (output must be the same size as the input).\n\nkernel void copy(writeonly image2dt destination,\nunsigned int index,\nreadonly  image2dt source)\n{\nconst samplert sampler = CLKNORMALIZEDCOORDSFALSE;\n\nint2 location = (int2)(getglobalid(0), getglobalid(1));\n\nfloat4 value = readimagef(source, sampler, location);\n\nwriteimagef(destination, location, value);\n}\n\n•   Apply a simple transformation, rotating the input by an amount increasing with the index\ncounter.  Pixel values are linearly interpolated by the sampler, and the output need not\nhave the same dimensions as the input.\n\nkernel void rotateimage(writeonly image2dt dst,\nunsigned int index,\nreadonly  image2dt src)\n{\nconst samplert sampler = (CLKNORMALIZEDCOORDSFALSE |\nCLKFILTERLINEAR);\n\nfloat angle = (float)index / 100.0f;\n\nfloat2 dstdim = convertfloat2(getimagedim(dst));\nfloat2 srcdim = convertfloat2(getimagedim(src));\n\nfloat2 dstcen = dstdim / 2.0f;\nfloat2 srccen = srcdim / 2.0f;\n\nint2   dstloc = (int2)(getglobalid(0), getglobalid(1));\n\nfloat2 dstpos = convertfloat2(dstloc) - dstcen;\nfloat2 srcpos = {\ncos(angle) * dstpos.x - sin(angle) * dstpos.y,\nsin(angle) * dstpos.x + cos(angle) * dstpos.y\n};\nsrcpos = srcpos * srcdim / dstdim;\n\nfloat2 srcloc = srcpos + srccen;\n\nif (srcloc.x < 0.0f      || srcloc.y < 0.0f ||\nsrcloc.x > srcdim.x || srcloc.y > srcdim.y)\nwriteimagef(dst, dstloc, 0.5f);\nelse\nwriteimagef(dst, dstloc, readimagef(src, sampler, srcloc));\n}\n\n•   Blend two inputs together, with the amount of each input used varying with the index\ncounter.\n\nkernel void blendimages(writeonly image2dt dst,\nunsigned int index,\nreadonly  image2dt src1,\nreadonly  image2dt src2)\n{\nconst samplert sampler = (CLKNORMALIZEDCOORDSFALSE |\nCLKFILTERLINEAR);\n\nfloat blend = (cos((float)index / 50.0f) + 1.0f) / 2.0f;\n\nint2  dstloc = (int2)(getglobalid(0), getglobalid(1));\nint2 src1loc = dstloc * getimagedim(src1) / getimagedim(dst);\nint2 src2loc = dstloc * getimagedim(src2) / getimagedim(dst);\n\nfloat4 val1 = readimagef(src1, sampler, src1loc);\nfloat4 val2 = readimagef(src2, sampler, src2loc);\n\nwriteimagef(dst, dstloc, val1 * blend + val2 * (1.0f - blend));\n}\n\nrobertsopencl\nApply the Roberts cross operator (<https://en.wikipedia.org/wiki/Robertscross>) to input\nvideo stream.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to filter. Default value is 0xf, by which all planes are processed.\n"
                },
                {
                    "name": "scale",
                    "content": "Set value which will be multiplied with filtered result.  Range is \"[0.0, 65535]\" and\ndefault value is 1.0.\n"
                },
                {
                    "name": "delta",
                    "content": "Set value which will be added to filtered result.  Range is \"[-65535, 65535]\" and default\nvalue is 0.0.\n\nExample\n\n•   Apply the Roberts cross operator with scale set to 2 and delta set to 10\n\n-i INPUT -vf \"hwupload, robertsopencl=scale=2:delta=10, hwdownload\" OUTPUT\n\nsobelopencl\nApply the Sobel operator (<https://en.wikipedia.org/wiki/Sobeloperator>) to input video\nstream.\n\nThe filter accepts the following option:\n"
                },
                {
                    "name": "planes",
                    "content": "Set which planes to filter. Default value is 0xf, by which all planes are processed.\n"
                },
                {
                    "name": "scale",
                    "content": "Set value which will be multiplied with filtered result.  Range is \"[0.0, 65535]\" and\ndefault value is 1.0.\n"
                },
                {
                    "name": "delta",
                    "content": "Set value which will be added to filtered result.  Range is \"[-65535, 65535]\" and default\nvalue is 0.0.\n\nExample\n\n•   Apply sobel operator with scale set to 2 and delta set to 10\n\n-i INPUT -vf \"hwupload, sobelopencl=scale=2:delta=10, hwdownload\" OUTPUT\n\ntonemapopencl\nPerform HDR(PQ/HLG) to SDR conversion with tone-mapping.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "tonemap",
                    "content": "Specify the tone-mapping operator to be used. Same as tonemap option in tonemap.\n"
                },
                {
                    "name": "param",
                    "content": "Tune the tone mapping algorithm. same as param option in tonemap.\n"
                },
                {
                    "name": "desat",
                    "content": "Apply desaturation for highlights that exceed this level of brightness. The higher the\nparameter, the more color information will be preserved. This setting helps prevent\nunnaturally blown-out colors for super-highlights, by (smoothly) turning into white\ninstead. This makes images feel more natural, at the cost of reducing information about\nout-of-range colors.\n\nThe default value is 0.5, and the algorithm here is a little different from the cpu\nversion tonemap currently. A setting of 0.0 disables this option.\n"
                },
                {
                    "name": "threshold",
                    "content": "The tonemapping algorithm parameters is fine-tuned per each scene. And a threshold is\nused to detect whether the scene has changed or not. If the distance between the current\nframe average brightness and the current running average exceeds a threshold value, we\nwould re-calculate scene average and peak brightness.  The default value is 0.2.\n"
                },
                {
                    "name": "format",
                    "content": "Specify the output pixel format.\n\nCurrently supported formats are:\n\np010\nnv12"
                },
                {
                    "name": "range, r",
                    "content": "Set the output color range.\n\nPossible values are:\n\ntv/mpeg\npc/jpeg\n\nDefault is same as input.\n"
                },
                {
                    "name": "primaries, p",
                    "content": "Set the output color primaries.\n\nPossible values are:\n\nbt709\nbt2020\n\nDefault is same as input.\n"
                },
                {
                    "name": "transfer, t",
                    "content": "Set the output transfer characteristics.\n\nPossible values are:\n\nbt709\nbt2020\n\nDefault is bt709.\n"
                },
                {
                    "name": "matrix, m",
                    "content": "Set the output colorspace matrix.\n\nPossible value are:\n\nbt709\nbt2020\n\nDefault is same as input.\n\nExample\n\n•   Convert HDR(PQ/HLG) video to bt2020-transfer-characteristic p010 format using linear\noperator.\n\n-i INPUT -vf \"format=p010,hwupload,tonemapopencl=t=bt2020:tonemap=linear:format=p010,hwdownload,format=p010\" OUTPUT\n\nunsharpopencl\nSharpen or blur the input video.\n\nIt accepts the following parameters:\n\nlumamsizex, lx\nSet the luma matrix horizontal size.  Range is \"[1, 23]\" and default value is 5.\n\nlumamsizey, ly\nSet the luma matrix vertical size.  Range is \"[1, 23]\" and default value is 5.\n\nlumaamount, la\nSet the luma effect strength.  Range is \"[-10, 10]\" and default value is 1.0.\n\nNegative values will blur the input video, while positive values will sharpen it, a value\nof zero will disable the effect.\n\nchromamsizex, cx\nSet the chroma matrix horizontal size.  Range is \"[1, 23]\" and default value is 5.\n\nchromamsizey, cy\nSet the chroma matrix vertical size.  Range is \"[1, 23]\" and default value is 5.\n\nchromaamount, ca\nSet the chroma effect strength.  Range is \"[-10, 10]\" and default value is 0.0.\n\nNegative values will blur the input video, while positive values will sharpen it, a value\nof zero will disable the effect.\n\nAll parameters are optional and default to the equivalent of the string '5:5:1.0:5:5:0.0'.\n\nExamples\n\n•   Apply strong luma sharpen effect:\n\n-i INPUT -vf \"hwupload, unsharpopencl=lumamsizex=7:lumamsizey=7:lumaamount=2.5, hwdownload\" OUTPUT\n\n•   Apply a strong blur of both luma and chroma parameters:\n\n-i INPUT -vf \"hwupload, unsharpopencl=7:7:-2:7:7:-2, hwdownload\" OUTPUT\n\nxfadeopencl\nCross fade two videos with custom transition effect by using OpenCL.\n\nIt accepts the following options:\n"
                },
                {
                    "name": "transition",
                    "content": "Set one of possible transition effects.\n\ncustom\nSelect custom transition effect, the actual transition description will be picked\nfrom source and kernel options.\n\nfade\nwipeleft\nwiperight\nwipeup\nwipedown\nslideleft\nslideright\nslideup\nslidedown\nDefault transition is fade.\n"
                },
                {
                    "name": "source",
                    "content": "OpenCL program source file for custom transition.\n"
                },
                {
                    "name": "kernel",
                    "content": "Set name of kernel to use for custom transition from program source file.\n"
                },
                {
                    "name": "duration",
                    "content": "Set duration of video transition.\n"
                },
                {
                    "name": "offset",
                    "content": "Set time of start of transition relative to first video.\n\nThe program source file must contain a kernel function with the given name, which will be run\nonce for each plane of the output.  Each run on a plane gets enqueued as a separate 2D global\nNDRange with one work-item for each pixel to be generated.  The global ID offset for each\nwork-item is therefore the coordinates of a pixel in the destination image.\n\nThe kernel function needs to take the following arguments:\n\n•   Destination image, writeonly image2dt.\n\nThis image will become the output; the kernel should write all of it.\n\n•   First Source image, readonly image2dt.  Second Source image, readonly image2dt.\n\nThese are the most recent images on each input.  The kernel may read from them to\ngenerate the output, but they can't be written to.\n\n•   Transition progress, float. This value is always between 0 and 1 inclusive.\n\nExample programs:\n\n•   Apply dots curtain transition effect:\n\nkernel void blendimages(writeonly image2dt dst,\nreadonly  image2dt src1,\nreadonly  image2dt src2,\nfloat progress)\n{\nconst samplert sampler = (CLKNORMALIZEDCOORDSFALSE |\nCLKFILTERLINEAR);\nint2  p = (int2)(getglobalid(0), getglobalid(1));\nfloat2 rp = (float2)(getglobalid(0), getglobalid(1));\nfloat2 dim = (float2)(getimagedim(src1).x, getimagedim(src1).y);\nrp = rp / dim;\n\nfloat2 dots = (float2)(20.0, 20.0);\nfloat2 center = (float2)(0,0);\nfloat2 unused;\n\nfloat4 val1 = readimagef(src1, sampler, p);\nfloat4 val2 = readimagef(src2, sampler, p);\nbool next = distance(fract(rp * dots, &unused), (float2)(0.5, 0.5)) < (progress / distance(rp, center));\n\nwriteimagef(dst, p, next ? val1 : val2);\n}\n"
                }
            ]
        },
        "VAAPI VIDEO FILTERS": {
            "content": "VAAPI Video filters are usually used with VAAPI decoder and VAAPI encoder. Below is a\ndescription of VAAPI video filters.\n\nTo enable compilation of these filters you need to configure FFmpeg with \"--enable-vaapi\".\n\nTo use vaapi filters, you need to setup the vaapi device correctly. For more information,\nplease read <https://trac.ffmpeg.org/wiki/Hardware/VAAPI>\n\ntonemapvaapi\nPerform HDR(High Dynamic Range) to SDR(Standard Dynamic Range) conversion with tone-mapping.\nIt maps the dynamic range of HDR10 content to the SDR content.  It currently only accepts\nHDR10 as input.\n\nIt accepts the following parameters:\n",
            "subsections": [
                {
                    "name": "format",
                    "content": "Specify the output pixel format.\n\nCurrently supported formats are:\n\np010\nnv12\n\nDefault is nv12.\n"
                },
                {
                    "name": "primaries, p",
                    "content": "Set the output color primaries.\n\nDefault is same as input.\n"
                },
                {
                    "name": "transfer, t",
                    "content": "Set the output transfer characteristics.\n\nDefault is bt709.\n"
                },
                {
                    "name": "matrix, m",
                    "content": "Set the output colorspace matrix.\n\nDefault is same as input.\n\nExample\n\n•   Convert HDR(HDR10) video to bt2020-transfer-characteristic p010 format\n\ntonemapvaapi=format=p010:t=bt2020-10\n"
                }
            ]
        },
        "VIDEO SOURCES": {
            "content": "Below is a description of the currently available video sources.\n",
            "subsections": [
                {
                    "name": "buffer",
                    "content": "Buffer video frames, and make them available to the filter chain.\n\nThis source is mainly intended for a programmatic use, in particular through the interface\ndefined in libavfilter/buffersrc.h.\n\nIt accepts the following parameters:\n\nvideosize\nSpecify the size (width and height) of the buffered video frames. For the syntax of this\noption, check the \"Video size\" section in the ffmpeg-utils manual.\n"
                },
                {
                    "name": "width",
                    "content": "The input video width.\n"
                },
                {
                    "name": "height",
                    "content": "The input video height.\n\npixfmt\nA string representing the pixel format of the buffered video frames.  It may be a number\ncorresponding to a pixel format, or a pixel format name.\n\ntimebase\nSpecify the timebase assumed by the timestamps of the buffered frames.\n\nframerate\nSpecify the frame rate expected for the video stream.\n\npixelaspect, sar\nThe sample (pixel) aspect ratio of the input video.\n\nswsparam\nThis option is deprecated and ignored. Prepend \"swsflags=flags;\" to the filtergraph\ndescription to specify swscale flags for automatically inserted scalers. See Filtergraph\nsyntax.\n\nhwframesctx\nWhen using a hardware pixel format, this should be a reference to an AVHWFramesContext\ndescribing input frames.\n\nFor example:\n\nbuffer=width=320:height=240:pixfmt=yuv410p:timebase=1/24:sar=1\n\nwill instruct the source to accept video frames with size 320x240 and with format \"yuv410p\",\nassuming 1/24 as the timestamps timebase and square pixels (1:1 sample aspect ratio).  Since\nthe pixel format with name \"yuv410p\" corresponds to the number 6 (check the enum\nAVPixelFormat definition in libavutil/pixfmt.h), this example corresponds to:\n\nbuffer=size=320x240:pixfmt=6:timebase=1/24:pixelaspect=1/1\n\nAlternatively, the options can be specified as a flat string, but this syntax is deprecated:\n\nwidth:height:pixfmt:timebase.num:timebase.den:pixelaspect.num:pixelaspect.den\n"
                },
                {
                    "name": "cellauto",
                    "content": "Create a pattern generated by an elementary cellular automaton.\n\nThe initial state of the cellular automaton can be defined through the filename and pattern\noptions. If such options are not specified an initial state is created randomly.\n\nAt each new frame a new row in the video is filled with the result of the cellular automaton\nnext generation. The behavior when the whole frame is filled is defined by the scroll option.\n\nThis source accepts the following options:\n"
                },
                {
                    "name": "filename, f",
                    "content": "Read the initial cellular automaton state, i.e. the starting row, from the specified\nfile.  In the file, each non-whitespace character is considered an alive cell, a newline\nwill terminate the row, and further characters in the file will be ignored.\n"
                },
                {
                    "name": "pattern, p",
                    "content": "Read the initial cellular automaton state, i.e. the starting row, from the specified\nstring.\n\nEach non-whitespace character in the string is considered an alive cell, a newline will\nterminate the row, and further characters in the string will be ignored.\n"
                },
                {
                    "name": "rate, r",
                    "content": "Set the video rate, that is the number of frames generated per second.  Default is 25.\n\nrandomfillratio, ratio\nSet the random fill ratio for the initial cellular automaton row. It is a floating point\nnumber value ranging from 0 to 1, defaults to 1/PHI.\n\nThis option is ignored when a file or a pattern is specified.\n\nrandomseed, seed\nSet the seed for filling randomly the initial row, must be an integer included between 0\nand UINT32MAX. If not specified, or if explicitly set to -1, the filter will try to use\na good random seed on a best effort basis.\n"
                },
                {
                    "name": "rule",
                    "content": "Set the cellular automaton rule, it is a number ranging from 0 to 255.  Default value is\n110.\n"
                },
                {
                    "name": "size, s",
                    "content": "Set the size of the output video. For the syntax of this option, check the \"Video size\"\nsection in the ffmpeg-utils manual.\n\nIf filename or pattern is specified, the size is set by default to the width of the\nspecified initial state row, and the height is set to width * PHI.\n\nIf size is set, it must contain the width of the specified pattern string, and the\nspecified pattern will be centered in the larger row.\n\nIf a filename or a pattern string is not specified, the size value defaults to \"320x518\"\n(used for a randomly generated initial state).\n"
                },
                {
                    "name": "scroll",
                    "content": "If set to 1, scroll the output upward when all the rows in the output have been already\nfilled. If set to 0, the new generated row will be written over the top row just after\nthe bottom row is filled.  Defaults to 1.\n\nstartfull, full\nIf set to 1, completely fill the output with generated rows before outputting the first\nframe.  This is the default behavior, for disabling set the value to 0.\n"
                },
                {
                    "name": "stitch",
                    "content": "If set to 1, stitch the left and right row edges together.  This is the default behavior,\nfor disabling set the value to 0.\n\nExamples\n\n•   Read the initial state from pattern, and specify an output of size 200x400.\n\ncellauto=f=pattern:s=200x400\n\n•   Generate a random initial row with a width of 200 cells, with a fill ratio of 2/3:\n\ncellauto=ratio=2/3:s=200x200\n\n•   Create a pattern generated by rule 18 starting by a single alive cell centered on an\ninitial row with width 100:\n\ncellauto=p=@s=100x400:full=0:rule=18\n\n•   Specify a more elaborated initial pattern:\n\ncellauto=p='@@ @ @@':s=100x400:full=0:rule=18\n"
                },
                {
                    "name": "coreimagesrc",
                    "content": "Video source generated on GPU using Apple's CoreImage API on OSX.\n\nThis video source is a specialized version of the coreimage video filter.  Use a core image\ngenerator at the beginning of the applied filterchain to generate the content.\n\nThe coreimagesrc video source accepts the following options:\n\nlistgenerators\nList all available generators along with all their respective options as well as possible\nminimum and maximum values along with the default values.\n\nlistgenerators=true\n"
                },
                {
                    "name": "size, s",
                    "content": "Specify the size of the sourced video. For the syntax of this option, check the \"Video\nsize\" section in the ffmpeg-utils manual.  The default value is \"320x240\".\n"
                },
                {
                    "name": "rate, r",
                    "content": "Specify the frame rate of the sourced video, as the number of frames generated per\nsecond. It has to be a string in the format frameratenum/framerateden, an integer\nnumber, a floating point number or a valid video frame rate abbreviation. The default\nvalue is \"25\".\n\nsar Set the sample aspect ratio of the sourced video.\n"
                },
                {
                    "name": "duration, d",
                    "content": "Set the duration of the sourced video. See the Time duration section in the\nffmpeg-utils(1) manual for the accepted syntax.\n\nIf not specified, or the expressed duration is negative, the video is supposed to be\ngenerated forever.\n\nAdditionally, all options of the coreimage video filter are accepted.  A complete filterchain\ncan be used for further processing of the generated input without CPU-HOST transfer. See\ncoreimage documentation and examples for details.\n\nExamples\n\n•   Use CIQRCodeGenerator to create a QR code for the FFmpeg homepage, given as complete and\nescaped command-line for Apple's standard bash shell:\n\nffmpeg -f lavfi -i coreimagesrc=s=100x100:filter=CIQRCodeGenerator@inputMessage=https\\\\\\\\\\://FFmpeg.org/@inputCorrectionLevel=H -frames:v 1 QRCode.png\n\nThis example is equivalent to the QRCode example of coreimage without the need for a\nnullsrc video source.\n"
                },
                {
                    "name": "gradients",
                    "content": "Generate several gradients.\n"
                },
                {
                    "name": "size, s",
                    "content": "Set frame size. For the syntax of this option, check the \"Video size\" section in the\nffmpeg-utils manual. Default value is \"640x480\".\n"
                },
                {
                    "name": "rate, r",
                    "content": "Set frame rate, expressed as number of frames per second. Default value is \"25\".\n"
                },
                {
                    "name": "c0, c1, c2, c3, c4, c5, c6, c7",
                    "content": "Set 8 colors. Default values for colors is to pick random one.\n"
                },
                {
                    "name": "x0, y0, y0, y1",
                    "content": "Set gradient line source and destination points. If negative or out of range, random ones\nare picked.\n\nnbcolors, n\nSet number of colors to use at once. Allowed range is from 2 to 8. Default value is 2.\n"
                },
                {
                    "name": "seed",
                    "content": "Set seed for picking gradient line points.\n"
                },
                {
                    "name": "duration, d",
                    "content": "Set the duration of the sourced video. See the Time duration section in the\nffmpeg-utils(1) manual for the accepted syntax.\n\nIf not specified, or the expressed duration is negative, the video is supposed to be\ngenerated forever.\n"
                },
                {
                    "name": "speed",
                    "content": "Set speed of gradients rotation.\n"
                },
                {
                    "name": "mandelbrot",
                    "content": "Generate a Mandelbrot set fractal, and progressively zoom towards the point specified with\nstartx and starty.\n\nThis source accepts the following options:\n\nendpts\nSet the terminal pts value. Default value is 400.\n\nendscale\nSet the terminal scale value.  Must be a floating point value. Default value is 0.3.\n"
                },
                {
                    "name": "inner",
                    "content": "Set the inner coloring mode, that is the algorithm used to draw the Mandelbrot fractal\ninternal region.\n\nIt shall assume one of the following values:\n\nblack\nSet black mode.\n\nconvergence\nShow time until convergence.\n\nmincol\nSet color based on point closest to the origin of the iterations.\n\nperiod\nSet period mode.\n\nDefault value is mincol.\n"
                },
                {
                    "name": "bailout",
                    "content": "Set the bailout value. Default value is 10.0.\n"
                },
                {
                    "name": "maxiter",
                    "content": "Set the maximum of iterations performed by the rendering algorithm. Default value is\n7189.\n"
                },
                {
                    "name": "outer",
                    "content": "Set outer coloring mode.  It shall assume one of following values:\n\niterationcount\nSet iteration count mode.\n\nnormalizediterationcount\nset normalized iteration count mode.\n\nDefault value is normalizediterationcount.\n"
                },
                {
                    "name": "rate, r",
                    "content": "Set frame rate, expressed as number of frames per second. Default value is \"25\".\n"
                },
                {
                    "name": "size, s",
                    "content": "Set frame size. For the syntax of this option, check the \"Video size\" section in the\nffmpeg-utils manual. Default value is \"640x480\".\n\nstartscale\nSet the initial scale value. Default value is 3.0.\n\nstartx\nSet the initial x position. Must be a floating point value between -100 and 100. Default\nvalue is -0.743643887037158704752191506114774.\n\nstarty\nSet the initial y position. Must be a floating point value between -100 and 100. Default\nvalue is -0.131825904205311970493132056385139.\n"
                },
                {
                    "name": "mptestsrc",
                    "content": "Generate various test patterns, as generated by the MPlayer test filter.\n\nThe size of the generated video is fixed, and is 256x256.  This source is useful in\nparticular for testing encoding features.\n\nThis source accepts the following options:\n"
                },
                {
                    "name": "rate, r",
                    "content": "Specify the frame rate of the sourced video, as the number of frames generated per\nsecond. It has to be a string in the format frameratenum/framerateden, an integer\nnumber, a floating point number or a valid video frame rate abbreviation. The default\nvalue is \"25\".\n"
                },
                {
                    "name": "duration, d",
                    "content": "Set the duration of the sourced video. See the Time duration section in the\nffmpeg-utils(1) manual for the accepted syntax.\n\nIf not specified, or the expressed duration is negative, the video is supposed to be\ngenerated forever.\n"
                },
                {
                    "name": "test, t",
                    "content": "Set the number or the name of the test to perform. Supported tests are:\n\ndcluma\ndcchroma\nfreqluma\nfreqchroma\nampluma\nampchroma\ncbp\nmv\nring1\nring2\nall\nmaxframes, m\nSet the maximum number of frames generated for each test, default value is 30.\n\nDefault value is \"all\", which will cycle through the list of all tests.\n\nSome examples:\n\nmptestsrc=t=dcluma\n\nwill generate a \"dcluma\" test pattern.\n\nfrei0rsrc\nProvide a frei0r source.\n\nTo enable compilation of this filter you need to install the frei0r header and configure\nFFmpeg with \"--enable-frei0r\".\n\nThis source accepts the following parameters:\n"
                },
                {
                    "name": "size",
                    "content": "The size of the video to generate. For the syntax of this option, check the \"Video size\"\nsection in the ffmpeg-utils manual.\n"
                },
                {
                    "name": "framerate",
                    "content": "The framerate of the generated video. It may be a string of the form num/den or a frame\nrate abbreviation.\n\nfiltername\nThe name to the frei0r source to load. For more information regarding frei0r and how to\nset the parameters, read the frei0r section in the video filters documentation.\n\nfilterparams\nA '|'-separated list of parameters to pass to the frei0r source.\n\nFor example, to generate a frei0r partik0l source with size 200x200 and frame rate 10 which\nis overlaid on the overlay filter main input:\n\nfrei0rsrc=size=200x200:framerate=10:filtername=partik0l:filterparams=1234 [overlay]; [in][overlay] overlay\n"
                },
                {
                    "name": "life",
                    "content": "Generate a life pattern.\n\nThis source is based on a generalization of John Conway's life game.\n\nThe sourced input represents a life grid, each pixel represents a cell which can be in one of\ntwo possible states, alive or dead. Every cell interacts with its eight neighbours, which are\nthe cells that are horizontally, vertically, or diagonally adjacent.\n\nAt each interaction the grid evolves according to the adopted rule, which specifies the\nnumber of neighbor alive cells which will make a cell stay alive or born. The rule option\nallows one to specify the rule to adopt.\n\nThis source accepts the following options:\n"
                },
                {
                    "name": "filename, f",
                    "content": "Set the file from which to read the initial grid state. In the file, each non-whitespace\ncharacter is considered an alive cell, and newline is used to delimit the end of each\nrow.\n\nIf this option is not specified, the initial grid is generated randomly.\n"
                },
                {
                    "name": "rate, r",
                    "content": "Set the video rate, that is the number of frames generated per second.  Default is 25.\n\nrandomfillratio, ratio\nSet the random fill ratio for the initial random grid. It is a floating point number\nvalue ranging from 0 to 1, defaults to 1/PHI.  It is ignored when a file is specified.\n\nrandomseed, seed\nSet the seed for filling the initial random grid, must be an integer included between 0\nand UINT32MAX. If not specified, or if explicitly set to -1, the filter will try to use\na good random seed on a best effort basis.\n"
                },
                {
                    "name": "rule",
                    "content": "Set the life rule.\n\nA rule can be specified with a code of the kind \"SNS/BNB\", where NS and NB are sequences\nof numbers in the range 0-8, NS specifies the number of alive neighbor cells which make a\nlive cell stay alive, and NB the number of alive neighbor cells which make a dead cell to\nbecome alive (i.e. to \"born\").  \"s\" and \"b\" can be used in place of \"S\" and \"B\",\nrespectively.\n\nAlternatively a rule can be specified by an 18-bits integer. The 9 high order bits are\nused to encode the next cell state if it is alive for each number of neighbor alive\ncells, the low order bits specify the rule for \"borning\" new cells. Higher order bits\nencode for an higher number of neighbor cells.  For example the number 6153 = \"(12<<9)+9\"\nspecifies a stay alive rule of 12 and a born rule of 9, which corresponds to \"S23/B03\".\n\nDefault value is \"S23/B3\", which is the original Conway's game of life rule, and will\nkeep a cell alive if it has 2 or 3 neighbor alive cells, and will born a new cell if\nthere are three alive cells around a dead cell.\n"
                },
                {
                    "name": "size, s",
                    "content": "Set the size of the output video. For the syntax of this option, check the \"Video size\"\nsection in the ffmpeg-utils manual.\n\nIf filename is specified, the size is set by default to the same size of the input file.\nIf size is set, it must contain the size specified in the input file, and the initial\ngrid defined in that file is centered in the larger resulting area.\n\nIf a filename is not specified, the size value defaults to \"320x240\" (used for a randomly\ngenerated initial grid).\n"
                },
                {
                    "name": "stitch",
                    "content": "If set to 1, stitch the left and right grid edges together, and the top and bottom edges\nalso. Defaults to 1.\n"
                },
                {
                    "name": "mold",
                    "content": "Set cell mold speed. If set, a dead cell will go from deathcolor to moldcolor with a\nstep of mold. mold can have a value from 0 to 255.\n\nlifecolor\nSet the color of living (or new born) cells.\n\ndeathcolor\nSet the color of dead cells. If mold is set, this is the first color used to represent a\ndead cell.\n\nmoldcolor\nSet mold color, for definitely dead and moldy cells.\n\nFor the syntax of these 3 color options, check the \"Color\" section in the ffmpeg-utils\nmanual.\n\nExamples\n\n•   Read a grid from pattern, and center it on a grid of size 300x300 pixels:\n\nlife=f=pattern:s=300x300\n\n•   Generate a random grid of size 200x200, with a fill ratio of 2/3:\n\nlife=ratio=2/3:s=200x200\n\n•   Specify a custom rule for evolving a randomly generated grid:\n\nlife=rule=S14/B34\n\n•   Full example with slow death effect (mold) using ffplay:\n\nffplay -f lavfi life=s=300x200:mold=10:r=60:ratio=0.1:deathcolor=#C83232:lifecolor=#00ff00,scale=1200:800:flags=16\n"
                },
                {
                    "name": "allrgb, allyuv, color, haldclutsrc, nullsrc, pal75bars, pal100bars, rgbtestsrc, smptebars,",
                    "content": ""
                },
                {
                    "name": "smptehdbars, testsrc, testsrc2, yuvtestsrc",
                    "content": "The \"allrgb\" source returns frames of size 4096x4096 of all rgb colors.\n\nThe \"allyuv\" source returns frames of size 4096x4096 of all yuv colors.\n\nThe \"color\" source provides an uniformly colored input.\n\nThe \"haldclutsrc\" source provides an identity Hald CLUT. See also haldclut filter.\n\nThe \"nullsrc\" source returns unprocessed video frames. It is mainly useful to be employed in\nanalysis / debugging tools, or as the source for filters which ignore the input data.\n\nThe \"pal75bars\" source generates a color bars pattern, based on EBU PAL recommendations with\n75% color levels.\n\nThe \"pal100bars\" source generates a color bars pattern, based on EBU PAL recommendations with\n100% color levels.\n\nThe \"rgbtestsrc\" source generates an RGB test pattern useful for detecting RGB vs BGR issues.\nYou should see a red, green and blue stripe from top to bottom.\n\nThe \"smptebars\" source generates a color bars pattern, based on the SMPTE Engineering\nGuideline EG 1-1990.\n\nThe \"smptehdbars\" source generates a color bars pattern, based on the SMPTE RP 219-2002.\n\nThe \"testsrc\" source generates a test video pattern, showing a color pattern, a scrolling\ngradient and a timestamp. This is mainly intended for testing purposes.\n\nThe \"testsrc2\" source is similar to testsrc, but supports more pixel formats instead of just\n\"rgb24\". This allows using it as an input for other tests without requiring a format\nconversion.\n\nThe \"yuvtestsrc\" source generates an YUV test pattern. You should see a y, cb and cr stripe\nfrom top to bottom.\n\nThe sources accept the following parameters:\n"
                },
                {
                    "name": "level",
                    "content": "Specify the level of the Hald CLUT, only available in the \"haldclutsrc\" source. A level\nof \"N\" generates a picture of \"N*N*N\" by \"N*N*N\" pixels to be used as identity matrix for\n3D lookup tables. Each component is coded on a \"1/(N*N)\" scale.\n"
                },
                {
                    "name": "color, c",
                    "content": "Specify the color of the source, only available in the \"color\" source. For the syntax of\nthis option, check the \"Color\" section in the ffmpeg-utils manual.\n"
                },
                {
                    "name": "size, s",
                    "content": "Specify the size of the sourced video. For the syntax of this option, check the \"Video\nsize\" section in the ffmpeg-utils manual.  The default value is \"320x240\".\n\nThis option is not available with the \"allrgb\", \"allyuv\", and \"haldclutsrc\" filters.\n"
                },
                {
                    "name": "rate, r",
                    "content": "Specify the frame rate of the sourced video, as the number of frames generated per\nsecond. It has to be a string in the format frameratenum/framerateden, an integer\nnumber, a floating point number or a valid video frame rate abbreviation. The default\nvalue is \"25\".\n"
                },
                {
                    "name": "duration, d",
                    "content": "Set the duration of the sourced video. See the Time duration section in the\nffmpeg-utils(1) manual for the accepted syntax.\n\nIf not specified, or the expressed duration is negative, the video is supposed to be\ngenerated forever.\n\nSince the frame rate is used as time base, all frames including the last one will have\ntheir full duration. If the specified duration is not a multiple of the frame duration,\nit will be rounded up.\n\nsar Set the sample aspect ratio of the sourced video.\n"
                },
                {
                    "name": "alpha",
                    "content": "Specify the alpha (opacity) of the background, only available in the \"testsrc2\" source.\nThe value must be between 0 (fully transparent) and 255 (fully opaque, the default).\n"
                },
                {
                    "name": "decimals, n",
                    "content": "Set the number of decimals to show in the timestamp, only available in the \"testsrc\"\nsource.\n\nThe displayed timestamp value will correspond to the original timestamp value multiplied\nby the power of 10 of the specified value. Default value is 0.\n\nExamples\n\n•   Generate a video with a duration of 5.3 seconds, with size 176x144 and a frame rate of 10\nframes per second:\n\ntestsrc=duration=5.3:size=qcif:rate=10\n\n•   The following graph description will generate a red source with an opacity of 0.2, with\nsize \"qcif\" and a frame rate of 10 frames per second:\n\ncolor=c=red@0.2:s=qcif:r=10\n\n•   If the input content is to be ignored, \"nullsrc\" can be used. The following command\ngenerates noise in the luminance plane by employing the \"geq\" filter:\n\nnullsrc=s=256x256, geq=random(1)*255:128:128\n\nCommands\n\nThe \"color\" source supports the following commands:\n"
                },
                {
                    "name": "c, color",
                    "content": "Set the color of the created image. Accepts the same syntax of the corresponding color\noption.\n"
                },
                {
                    "name": "openclsrc",
                    "content": "Generate video using an OpenCL program.\n"
                },
                {
                    "name": "source",
                    "content": "OpenCL program source file.\n"
                },
                {
                    "name": "kernel",
                    "content": "Kernel name in program.\n"
                },
                {
                    "name": "size, s",
                    "content": "Size of frames to generate.  This must be set.\n"
                },
                {
                    "name": "format",
                    "content": "Pixel format to use for the generated frames.  This must be set.\n"
                },
                {
                    "name": "rate, r",
                    "content": "Number of frames generated every second.  Default value is '25'.\n\nFor details of how the program loading works, see the programopencl filter.\n\nExample programs:\n\n•   Generate a colour ramp by setting pixel values from the position of the pixel in the\noutput image.  (Note that this will work with all pixel formats, but the generated output\nwill not be the same.)\n\nkernel void ramp(writeonly image2dt dst,\nunsigned int index)\n{\nint2 loc = (int2)(getglobalid(0), getglobalid(1));\n\nfloat4 val;\nval.xy = val.zw = convertfloat2(loc) / convertfloat2(getimagedim(dst));\n\nwriteimagef(dst, loc, val);\n}\n\n•   Generate a Sierpinski carpet pattern, panning by a single pixel each frame.\n\nkernel void sierpinskicarpet(writeonly image2dt dst,\nunsigned int index)\n{\nint2 loc = (int2)(getglobalid(0), getglobalid(1));\n\nfloat4 value = 0.0f;\nint x = loc.x + index;\nint y = loc.y + index;\nwhile (x > 0 || y > 0) {\nif (x % 3 == 1 && y % 3 == 1) {\nvalue = 1.0f;\nbreak;\n}\nx /= 3;\ny /= 3;\n}\n\nwriteimagef(dst, loc, value);\n}\n"
                },
                {
                    "name": "sierpinski",
                    "content": "Generate a Sierpinski carpet/triangle fractal, and randomly pan around.\n\nThis source accepts the following options:\n"
                },
                {
                    "name": "size, s",
                    "content": "Set frame size. For the syntax of this option, check the \"Video size\" section in the\nffmpeg-utils manual. Default value is \"640x480\".\n"
                },
                {
                    "name": "rate, r",
                    "content": "Set frame rate, expressed as number of frames per second. Default value is \"25\".\n"
                },
                {
                    "name": "seed",
                    "content": "Set seed which is used for random panning.\n"
                },
                {
                    "name": "jump",
                    "content": "Set max jump for single pan destination. Allowed range is from 1 to 10000.\n"
                },
                {
                    "name": "type",
                    "content": "Set fractal type, can be default \"carpet\" or \"triangle\".\n"
                }
            ]
        },
        "VIDEO SINKS": {
            "content": "Below is a description of the currently available video sinks.\n",
            "subsections": [
                {
                    "name": "buffersink",
                    "content": "Buffer video frames, and make them available to the end of the filter graph.\n\nThis sink is mainly intended for programmatic use, in particular through the interface\ndefined in libavfilter/buffersink.h or the options system.\n\nIt accepts a pointer to an AVBufferSinkContext structure, which defines the incoming buffers'\nformats, to be passed as the opaque parameter to \"avfilterinitfilter\" for initialization.\n"
                },
                {
                    "name": "nullsink",
                    "content": "Null video sink: do absolutely nothing with the input video. It is mainly useful as a\ntemplate and for use in analysis / debugging tools.\n"
                }
            ]
        },
        "MULTIMEDIA FILTERS": {
            "content": "Below is a description of the currently available multimedia filters.\n",
            "subsections": [
                {
                    "name": "abitscope",
                    "content": "Convert input audio to a video output, displaying the audio bit scope.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "rate, r",
                    "content": "Set frame rate, expressed as number of frames per second. Default value is \"25\".\n"
                },
                {
                    "name": "size, s",
                    "content": "Specify the video size for the output. For the syntax of this option, check the \"Video\nsize\" section in the ffmpeg-utils manual.  Default value is \"1024x256\".\n"
                },
                {
                    "name": "colors",
                    "content": "Specify list of colors separated by space or by '|' which will be used to draw channels.\nUnrecognized or missing colors will be replaced by white color.\n"
                },
                {
                    "name": "adrawgraph",
                    "content": "Draw a graph using input audio metadata.\n\nSee drawgraph\n"
                },
                {
                    "name": "agraphmonitor",
                    "content": "See graphmonitor.\n"
                },
                {
                    "name": "ahistogram",
                    "content": "Convert input audio to a video output, displaying the volume histogram.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "dmode",
                    "content": "Specify how histogram is calculated.\n\nIt accepts the following values:\n\nsingle\nUse single histogram for all channels.\n\nseparate\nUse separate histogram for each channel.\n\nDefault is \"single\".\n"
                },
                {
                    "name": "rate, r",
                    "content": "Set frame rate, expressed as number of frames per second. Default value is \"25\".\n"
                },
                {
                    "name": "size, s",
                    "content": "Specify the video size for the output. For the syntax of this option, check the \"Video\nsize\" section in the ffmpeg-utils manual.  Default value is \"hd720\".\n"
                },
                {
                    "name": "scale",
                    "content": "Set display scale.\n\nIt accepts the following values:\n\nlog logarithmic\n\nsqrt\nsquare root\n\ncbrt\ncubic root\n\nlin linear\n\nrlog\nreverse logarithmic\n\nDefault is \"log\".\n"
                },
                {
                    "name": "ascale",
                    "content": "Set amplitude scale.\n\nIt accepts the following values:\n\nlog logarithmic\n\nlin linear\n\nDefault is \"log\".\n"
                },
                {
                    "name": "acount",
                    "content": "Set how much frames to accumulate in histogram.  Default is 1. Setting this to -1\naccumulates all frames.\n"
                },
                {
                    "name": "rheight",
                    "content": "Set histogram ratio of window height.\n"
                },
                {
                    "name": "slide",
                    "content": "Set sonogram sliding.\n\nIt accepts the following values:\n\nreplace\nreplace old rows with new ones.\n\nscroll\nscroll from top to bottom.\n\nDefault is \"replace\".\n"
                },
                {
                    "name": "aphasemeter",
                    "content": "Measures phase of input audio, which is exported as metadata \"lavfi.aphasemeter.phase\",\nrepresenting mean phase of current audio frame. A video output can also be produced and is\nenabled by default. The audio is passed through as first output.\n\nAudio will be rematrixed to stereo if it has a different channel layout. Phase value is in\nrange \"[-1, 1]\" where \"-1\" means left and right channels are completely out of phase and 1\nmeans channels are in phase.\n\nThe filter accepts the following options, all related to its video output:\n"
                },
                {
                    "name": "rate, r",
                    "content": "Set the output frame rate. Default value is 25.\n"
                },
                {
                    "name": "size, s",
                    "content": "Set the video size for the output. For the syntax of this option, check the \"Video size\"\nsection in the ffmpeg-utils manual.  Default value is \"800x400\".\n\nrc\ngc\nbc  Specify the red, green, blue contrast. Default values are 2, 7 and 1.  Allowed range is\n\"[0, 255]\".\n\nmpc Set color which will be used for drawing median phase. If color is \"none\" which is\ndefault, no median phase value will be drawn.\n"
                },
                {
                    "name": "video",
                    "content": "Enable video output. Default is enabled.\n\nphasing detection\n\nThe filter also detects out of phase and mono sequences in stereo streams.  It logs the\nsequence start, end and duration when it lasts longer or as long as the minimum set.\n\nThe filter accepts the following options for this detection:\n"
                },
                {
                    "name": "phasing",
                    "content": "Enable mono and out of phase detection. Default is disabled.\n"
                },
                {
                    "name": "tolerance, t",
                    "content": "Set phase tolerance for mono detection, in amplitude ratio. Default is 0.  Allowed range\nis \"[0, 1]\".\n"
                },
                {
                    "name": "angle, a",
                    "content": "Set angle threshold for out of phase detection, in degree. Default is 170.  Allowed range\nis \"[90, 180]\".\n"
                },
                {
                    "name": "duration, d",
                    "content": "Set mono or out of phase duration until notification, expressed in seconds. Default is 2.\n\nExamples\n\n•   Complete example with ffmpeg to detect 1 second of mono with 0.001 phase tolerance:\n\nffmpeg -i stereo.wav -af aphasemeter=video=0:phasing=1:duration=1:tolerance=0.001 -f null -\n"
                },
                {
                    "name": "avectorscope",
                    "content": "Convert input audio to a video output, representing the audio vector scope.\n\nThe filter is used to measure the difference between channels of stereo audio stream. A\nmonaural signal, consisting of identical left and right signal, results in straight vertical\nline. Any stereo separation is visible as a deviation from this line, creating a Lissajous\nfigure.  If the straight (or deviation from it) but horizontal line appears this indicates\nthat the left and right channels are out of phase.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "mode, m",
                    "content": "Set the vectorscope mode.\n\nAvailable values are:\n\nlissajous\nLissajous rotated by 45 degrees.\n\nlissajousxy\nSame as above but not rotated.\n\npolar\nShape resembling half of circle.\n\nDefault value is lissajous.\n"
                },
                {
                    "name": "size, s",
                    "content": "Set the video size for the output. For the syntax of this option, check the \"Video size\"\nsection in the ffmpeg-utils manual.  Default value is \"400x400\".\n"
                },
                {
                    "name": "rate, r",
                    "content": "Set the output frame rate. Default value is 25.\n\nrc\ngc\nbc\nac  Specify the red, green, blue and alpha contrast. Default values are 40, 160, 80 and 255.\nAllowed range is \"[0, 255]\".\n\nrf\ngf\nbf\naf  Specify the red, green, blue and alpha fade. Default values are 15, 10, 5 and 5.  Allowed\nrange is \"[0, 255]\".\n"
                },
                {
                    "name": "zoom",
                    "content": "Set the zoom factor. Default value is 1. Allowed range is \"[0, 10]\".  Values lower than 1\nwill auto adjust zoom factor to maximal possible value.\n"
                },
                {
                    "name": "draw",
                    "content": "Set the vectorscope drawing mode.\n\nAvailable values are:\n\ndot Draw dot for each sample.\n\nline\nDraw line between previous and current sample.\n\nDefault value is dot.\n"
                },
                {
                    "name": "scale",
                    "content": "Specify amplitude scale of audio samples.\n\nAvailable values are:\n\nlin Linear.\n\nsqrt\nSquare root.\n\ncbrt\nCubic root.\n\nlog Logarithmic.\n"
                },
                {
                    "name": "swap",
                    "content": "Swap left channel axis with right channel axis.\n"
                },
                {
                    "name": "mirror",
                    "content": "Mirror axis.\n\nnone\nNo mirror.\n\nx   Mirror only x axis.\n\ny   Mirror only y axis.\n\nxy  Mirror both axis.\n\nExamples\n\n•   Complete example using ffplay:\n\nffplay -f lavfi 'amovie=input.mp3, asplit [a][out1];\n[a] avectorscope=zoom=1.3:rc=2:gc=200:bc=10:rf=1:gf=8:bf=7 [out0]'\n"
                },
                {
                    "name": "bench, abench",
                    "content": "Benchmark part of a filtergraph.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "action",
                    "content": "Start or stop a timer.\n\nAvailable values are:\n\nstart\nGet the current time, set it as frame metadata (using the key\n\"lavfi.bench.starttime\"), and forward the frame to the next filter.\n\nstop\nGet the current time and fetch the \"lavfi.bench.starttime\" metadata from the input\nframe metadata to get the time difference. Time difference, average, maximum and\nminimum time (respectively \"t\", \"avg\", \"max\" and \"min\") are then printed. The\ntimestamps are expressed in seconds.\n\nExamples\n\n•   Benchmark selectivecolor filter:\n\nbench=start,selectivecolor=reds=-.2 .12 -.49,bench=stop\n"
                },
                {
                    "name": "concat",
                    "content": "Concatenate audio and video streams, joining them together one after the other.\n\nThe filter works on segments of synchronized video and audio streams. All segments must have\nthe same number of streams of each type, and that will also be the number of streams at\noutput.\n\nThe filter accepts the following options:\n\nn   Set the number of segments. Default is 2.\n\nv   Set the number of output video streams, that is also the number of video streams in each\nsegment. Default is 1.\n\na   Set the number of output audio streams, that is also the number of audio streams in each\nsegment. Default is 0.\n"
                },
                {
                    "name": "unsafe",
                    "content": "Activate unsafe mode: do not fail if segments have a different format.\n\nThe filter has v+a outputs: first v video outputs, then a audio outputs.\n\nThere are nx(v+a) inputs: first the inputs for the first segment, in the same order as the\noutputs, then the inputs for the second segment, etc.\n\nRelated streams do not always have exactly the same duration, for various reasons including\ncodec frame size or sloppy authoring. For that reason, related synchronized streams (e.g. a\nvideo and its audio track) should be concatenated at once. The concat filter will use the\nduration of the longest stream in each segment (except the last one), and if necessary pad\nshorter audio streams with silence.\n\nFor this filter to work correctly, all segments must start at timestamp 0.\n\nAll corresponding streams must have the same parameters in all segments; the filtering system\nwill automatically select a common pixel format for video streams, and a common sample\nformat, sample rate and channel layout for audio streams, but other settings, such as\nresolution, must be converted explicitly by the user.\n\nDifferent frame rates are acceptable but will result in variable frame rate at output; be\nsure to configure the output file to handle it.\n\nExamples\n\n•   Concatenate an opening, an episode and an ending, all in bilingual version (video in\nstream 0, audio in streams 1 and 2):\n\nffmpeg -i opening.mkv -i episode.mkv -i ending.mkv -filtercomplex \\\n'[0:0] [0:1] [0:2] [1:0] [1:1] [1:2] [2:0] [2:1] [2:2]\nconcat=n=3:v=1:a=2 [v] [a1] [a2]' \\\n-map '[v]' -map '[a1]' -map '[a2]' output.mkv\n\n•   Concatenate two parts, handling audio and video separately, using the (a)movie sources,\nand adjusting the resolution:\n\nmovie=part1.mp4, scale=512:288 [v1] ; amovie=part1.mp4 [a1] ;\nmovie=part2.mp4, scale=512:288 [v2] ; amovie=part2.mp4 [a2] ;\n[v1] [v2] concat [outv] ; [a1] [a2] concat=v=0:a=1 [outa]\n\nNote that a desync will happen at the stitch if the audio and video streams do not have\nexactly the same duration in the first file.\n\nCommands\n\nThis filter supports the following commands:\n"
                },
                {
                    "name": "next",
                    "content": "Close the current segment and step to the next one\n"
                },
                {
                    "name": "ebur128",
                    "content": "EBU R128 scanner filter. This filter takes an audio stream and analyzes its loudness level.\nBy default, it logs a message at a frequency of 10Hz with the Momentary loudness (identified\nby \"M\"), Short-term loudness (\"S\"), Integrated loudness (\"I\") and Loudness Range (\"LRA\").\n\nThe filter can only analyze streams which have a sampling rate of 48000 Hz and whose sample\nformat is double-precision floating point. The input stream will be converted to this\nspecification, if needed. Users may need to insert aformat and/or aresample filters after\nthis filter to obtain the original parameters.\n\nThe filter also has a video output (see the video option) with a real time graph to observe\nthe loudness evolution. The graphic contains the logged message mentioned above, so it is not\nprinted anymore when this option is set, unless the verbose logging is set. The main graphing\narea contains the short-term loudness (3 seconds of analysis), and the gauge on the right is\nfor the momentary loudness (400 milliseconds), but can optionally be configured to instead\ndisplay short-term loudness (see gauge).\n\nThe green area marks a  +/- 1LU target range around the target loudness (-23LUFS by default,\nunless modified through target).\n\nMore information about the Loudness Recommendation EBU R128 on <http://tech.ebu.ch/loudness>.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "video",
                    "content": "Activate the video output. The audio stream is passed unchanged whether this option is\nset or no. The video stream will be the first output stream if activated. Default is 0.\n"
                },
                {
                    "name": "size",
                    "content": "Set the video size. This option is for video only. For the syntax of this option, check\nthe \"Video size\" section in the ffmpeg-utils manual.  Default and minimum resolution is\n\"640x480\".\n"
                },
                {
                    "name": "meter",
                    "content": "Set the EBU scale meter. Default is 9. Common values are 9 and 18, respectively for EBU\nscale meter +9 and EBU scale meter +18. Any other integer value between this range is\nallowed.\n"
                },
                {
                    "name": "metadata",
                    "content": "Set metadata injection. If set to 1, the audio input will be segmented into 100ms output\nframes, each of them containing various loudness information in metadata.  All the\nmetadata keys are prefixed with \"lavfi.r128.\".\n\nDefault is 0.\n"
                },
                {
                    "name": "framelog",
                    "content": "Force the frame logging level.\n\nAvailable values are:\n\ninfo\ninformation logging level\n\nverbose\nverbose logging level\n\nBy default, the logging level is set to info. If the video or the metadata options are\nset, it switches to verbose.\n"
                },
                {
                    "name": "peak",
                    "content": "Set peak mode(s).\n\nAvailable modes can be cumulated (the option is a \"flag\" type). Possible values are:\n\nnone\nDisable any peak mode (default).\n\nsample\nEnable sample-peak mode.\n\nSimple peak mode looking for the higher sample value. It logs a message for sample-\npeak (identified by \"SPK\").\n\ntrue\nEnable true-peak mode.\n\nIf enabled, the peak lookup is done on an over-sampled version of the input stream\nfor better peak accuracy. It logs a message for true-peak.  (identified by \"TPK\") and\ntrue-peak per frame (identified by \"FTPK\").  This mode requires a build with\n\"libswresample\".\n"
                },
                {
                    "name": "dualmono",
                    "content": "Treat mono input files as \"dual mono\". If a mono file is intended for playback on a\nstereo system, its EBU R128 measurement will be perceptually incorrect.  If set to\n\"true\", this option will compensate for this effect.  Multi-channel input files are not\naffected by this option.\n"
                },
                {
                    "name": "panlaw",
                    "content": "Set a specific pan law to be used for the measurement of dual mono files.  This parameter\nis optional, and has a default value of -3.01dB.\n"
                },
                {
                    "name": "target",
                    "content": "Set a specific target level (in LUFS) used as relative zero in the visualization.  This\nparameter is optional and has a default value of -23LUFS as specified by EBU R128.\nHowever, material published online may prefer a level of -16LUFS (e.g. for use with\npodcasts or video platforms).\n"
                },
                {
                    "name": "gauge",
                    "content": "Set the value displayed by the gauge. Valid values are \"momentary\" and s \"shortterm\". By\ndefault the momentary value will be used, but in certain scenarios it may be more useful\nto observe the short term value instead (e.g.  live mixing).\n"
                },
                {
                    "name": "scale",
                    "content": "Sets the display scale for the loudness. Valid parameters are \"absolute\" (in LUFS) or\n\"relative\" (LU) relative to the target. This only affects the video output, not the\nsummary or continuous log output.\n\nExamples\n\n•   Real-time graph using ffplay, with a EBU scale meter +18:\n\nffplay -f lavfi -i \"amovie=input.mp3,ebur128=video=1:meter=18 [out0][out1]\"\n\n•   Run an analysis with ffmpeg:\n\nffmpeg -nostats -i input.mp3 -filtercomplex ebur128 -f null -\n"
                },
                {
                    "name": "interleave, ainterleave",
                    "content": "Temporally interleave frames from several inputs.\n\n\"interleave\" works with video inputs, \"ainterleave\" with audio.\n\nThese filters read frames from several inputs and send the oldest queued frame to the output.\n\nInput streams must have well defined, monotonically increasing frame timestamp values.\n\nIn order to submit one frame to output, these filters need to enqueue at least one frame for\neach input, so they cannot work in case one input is not yet terminated and will not receive\nincoming frames.\n\nFor example consider the case when one input is a \"select\" filter which always drops input\nframes. The \"interleave\" filter will keep reading from that input, but it will never be able\nto send new frames to output until the input sends an end-of-stream signal.\n\nAlso, depending on inputs synchronization, the filters will drop frames in case one input\nreceives more frames than the other ones, and the queue is already filled.\n\nThese filters accept the following options:\n\nnbinputs, n\nSet the number of different inputs, it is 2 by default.\n"
                },
                {
                    "name": "duration",
                    "content": "How to determine the end-of-stream.\n\nlongest\nThe duration of the longest input. (default)\n\nshortest\nThe duration of the shortest input.\n\nfirst\nThe duration of the first input.\n\nExamples\n\n•   Interleave frames belonging to different streams using ffmpeg:\n\nffmpeg -i bambi.avi -i pr0n.mkv -filtercomplex \"[0:v][1:v] interleave\" out.avi\n\n•   Add flickering blur effect:\n\nselect='if(gt(random(0), 0.2), 1, 2)':n=2 [tmp], boxblur=2:2, [tmp] interleave\n"
                },
                {
                    "name": "metadata, ametadata",
                    "content": "Manipulate frame metadata.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "mode",
                    "content": "Set mode of operation of the filter.\n\nCan be one of the following:\n\nselect\nIf both \"value\" and \"key\" is set, select frames which have such metadata. If only\n\"key\" is set, select every frame that has such key in metadata.\n\nadd Add new metadata \"key\" and \"value\". If key is already available do nothing.\n\nmodify\nModify value of already present key.\n\ndelete\nIf \"value\" is set, delete only keys that have such value.  Otherwise, delete key. If\n\"key\" is not set, delete all metadata values in the frame.\n\nprint\nPrint key and its value if metadata was found. If \"key\" is not set print all metadata\nvalues available in frame.\n\nkey Set key used with all modes. Must be set for all modes except \"print\" and \"delete\".\n"
                },
                {
                    "name": "value",
                    "content": "Set metadata value which will be used. This option is mandatory for \"modify\" and \"add\"\nmode.\n"
                },
                {
                    "name": "function",
                    "content": "Which function to use when comparing metadata value and \"value\".\n\nCan be one of following:\n\nsamestr\nValues are interpreted as strings, returns true if metadata value is same as \"value\".\n\nstartswith\nValues are interpreted as strings, returns true if metadata value starts with the\n\"value\" option string.\n\nless\nValues are interpreted as floats, returns true if metadata value is less than\n\"value\".\n\nequal\nValues are interpreted as floats, returns true if \"value\" is equal with metadata\nvalue.\n\ngreater\nValues are interpreted as floats, returns true if metadata value is greater than\n\"value\".\n\nexpr\nValues are interpreted as floats, returns true if expression from option \"expr\"\nevaluates to true.\n\nendswith\nValues are interpreted as strings, returns true if metadata value ends with the\n\"value\" option string.\n"
                },
                {
                    "name": "expr",
                    "content": "Set expression which is used when \"function\" is set to \"expr\".  The expression is\nevaluated through the eval API and can contain the following constants:\n\nVALUE1\nFloat representation of \"value\" from metadata key.\n\nVALUE2\nFloat representation of \"value\" as supplied by user in \"value\" option.\n"
                },
                {
                    "name": "file",
                    "content": "If specified in \"print\" mode, output is written to the named file. Instead of plain\nfilename any writable url can be specified. Filename ``-'' is a shorthand for standard\noutput. If \"file\" option is not set, output is written to the log with AVLOGINFO\nloglevel.\n"
                },
                {
                    "name": "direct",
                    "content": "Reduces buffering in print mode when output is written to a URL set using file.\n\nExamples\n\n•   Print all metadata values for frames with key \"lavfi.signalstats.YDIF\" with values\nbetween 0 and 1.\n\nsignalstats,metadata=print:key=lavfi.signalstats.YDIF:value=0:function=expr:expr='between(VALUE1,0,1)'\n\n•   Print silencedetect output to file metadata.txt.\n\nsilencedetect,ametadata=mode=print:file=metadata.txt\n\n•   Direct all metadata to a pipe with file descriptor 4.\n\nmetadata=mode=print:file='pipe\\:4'\n"
                },
                {
                    "name": "perms, aperms",
                    "content": "Set read/write permissions for the output frames.\n\nThese filters are mainly aimed at developers to test direct path in the following filter in\nthe filtergraph.\n\nThe filters accept the following options:\n"
                },
                {
                    "name": "mode",
                    "content": "Select the permissions mode.\n\nIt accepts the following values:\n\nnone\nDo nothing. This is the default.\n\nro  Set all the output frames read-only.\n\nrw  Set all the output frames directly writable.\n\ntoggle\nMake the frame read-only if writable, and writable if read-only.\n\nrandom\nSet each output frame read-only or writable randomly.\n"
                },
                {
                    "name": "seed",
                    "content": "Set the seed for the random mode, must be an integer included between 0 and \"UINT32MAX\".\nIf not specified, or if explicitly set to \"-1\", the filter will try to use a good random\nseed on a best effort basis.\n\nNote: in case of auto-inserted filter between the permission filter and the following one,\nthe permission might not be received as expected in that following filter. Inserting a format\nor aformat filter before the perms/aperms filter can avoid this problem.\n"
                },
                {
                    "name": "realtime, arealtime",
                    "content": "Slow down filtering to match real time approximately.\n\nThese filters will pause the filtering for a variable amount of time to match the output rate\nwith the input timestamps.  They are similar to the re option to \"ffmpeg\".\n\nThey accept the following options:\n"
                },
                {
                    "name": "limit",
                    "content": "Time limit for the pauses. Any pause longer than that will be considered a timestamp\ndiscontinuity and reset the timer. Default is 2 seconds.\n"
                },
                {
                    "name": "speed",
                    "content": "Speed factor for processing. The value must be a float larger than zero.  Values larger\nthan 1.0 will result in faster than realtime processing, smaller will slow processing\ndown. The limit is automatically adapted accordingly. Default is 1.0.\n\nA processing speed faster than what is possible without these filters cannot be achieved.\n"
                },
                {
                    "name": "select, aselect",
                    "content": "Select frames to pass in output.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "expr, e",
                    "content": "Set expression, which is evaluated for each input frame.\n\nIf the expression is evaluated to zero, the frame is discarded.\n\nIf the evaluation result is negative or NaN, the frame is sent to the first output;\notherwise it is sent to the output with index \"ceil(val)-1\", assuming that the input\nindex starts from 0.\n\nFor example a value of 1.2 corresponds to the output with index \"ceil(1.2)-1 = 2-1 = 1\",\nthat is the second output.\n"
                },
                {
                    "name": "outputs, n",
                    "content": "Set the number of outputs. The output to which to send the selected frame is based on the\nresult of the evaluation. Default value is 1.\n\nThe expression can contain the following constants:\n\nn   The (sequential) number of the filtered frame, starting from 0.\n\nselectedn\nThe (sequential) number of the selected frame, starting from 0.\n\nprevselectedn\nThe sequential number of the last selected frame. It's NAN if undefined.\n\nTB  The timebase of the input timestamps.\n\npts The PTS (Presentation TimeStamp) of the filtered video frame, expressed in TB units. It's\nNAN if undefined.\n\nt   The PTS of the filtered video frame, expressed in seconds. It's NAN if undefined.\n\nprevpts\nThe PTS of the previously filtered video frame. It's NAN if undefined.\n\nprevselectedpts\nThe PTS of the last previously filtered video frame. It's NAN if undefined.\n\nprevselectedt\nThe PTS of the last previously selected video frame, expressed in seconds. It's NAN if\nundefined.\n\nstartpts\nThe PTS of the first video frame in the video. It's NAN if undefined.\n\nstartt\nThe time of the first video frame in the video. It's NAN if undefined.\n\npicttype (video only)\nThe type of the filtered frame. It can assume one of the following values:\n\nI\nP\nB\nS\nSI\nSP\nBI\ninterlacetype (video only)\nThe frame interlace type. It can assume one of the following values:\n\nPROGRESSIVE\nThe frame is progressive (not interlaced).\n\nTOPFIRST\nThe frame is top-field-first.\n\nBOTTOMFIRST\nThe frame is bottom-field-first.\n\nconsumedsamplen (audio only)\nthe number of selected samples before the current frame\n\nsamplesn (audio only)\nthe number of samples in the current frame\n\nsamplerate (audio only)\nthe input sample rate\n\nkey This is 1 if the filtered frame is a key-frame, 0 otherwise.\n\npos the position in the file of the filtered frame, -1 if the information is not available\n(e.g. for synthetic video)\n\nscene (video only)\nvalue between 0 and 1 to indicate a new scene; a low value reflects a low probability for\nthe current frame to introduce a new scene, while a higher value means the current frame\nis more likely to be one (see the example below)\n\nconcatdecselect\nThe concat demuxer can select only part of a concat input file by setting an inpoint and\nan outpoint, but the output packets may not be entirely contained in the selected\ninterval. By using this variable, it is possible to skip frames generated by the concat\ndemuxer which are not exactly contained in the selected interval.\n\nThis works by comparing the frame pts against the lavf.concat.starttime and the\nlavf.concat.duration packet metadata values which are also present in the decoded frames.\n\nThe concatdecselect variable is -1 if the frame pts is at least starttime and either\nthe duration metadata is missing or the frame pts is less than starttime + duration, 0\notherwise, and NaN if the starttime metadata is missing.\n\nThat basically means that an input frame is selected if its pts is within the interval\nset by the concat demuxer.\n\nThe default value of the select expression is \"1\".\n\nExamples\n\n•   Select all frames in input:\n\nselect\n\nThe example above is the same as:\n\nselect=1\n\n•   Skip all frames:\n\nselect=0\n\n•   Select only I-frames:\n\nselect='eq(picttype\\,I)'\n\n•   Select one frame every 100:\n\nselect='not(mod(n\\,100))'\n\n•   Select only frames contained in the 10-20 time interval:\n\nselect=between(t\\,10\\,20)\n\n•   Select only I-frames contained in the 10-20 time interval:\n\nselect=between(t\\,10\\,20)*eq(picttype\\,I)\n\n•   Select frames with a minimum distance of 10 seconds:\n\nselect='isnan(prevselectedt)+gte(t-prevselectedt\\,10)'\n\n•   Use aselect to select only audio frames with samples number > 100:\n\naselect='gt(samplesn\\,100)'\n\n•   Create a mosaic of the first scenes:\n\nffmpeg -i video.avi -vf select='gt(scene\\,0.4)',scale=160:120,tile -frames:v 1 preview.png\n\nComparing scene against a value between 0.3 and 0.5 is generally a sane choice.\n\n•   Send even and odd frames to separate outputs, and compose them:\n\nselect=n=2:e='mod(n, 2)+1' [odd][even]; [odd] pad=h=2*ih [tmp]; [tmp][even] overlay=y=h\n\n•   Select useful frames from an ffconcat file which is using inpoints and outpoints but\nwhere the source files are not intra frame only.\n\nffmpeg -copyts -vsync 0 -segmenttimemetadata 1 -i input.ffconcat -vf select=concatdecselect -af aselect=concatdecselect output.avi\n"
                },
                {
                    "name": "sendcmd, asendcmd",
                    "content": "Send commands to filters in the filtergraph.\n\nThese filters read commands to be sent to other filters in the filtergraph.\n\n\"sendcmd\" must be inserted between two video filters, \"asendcmd\" must be inserted between two\naudio filters, but apart from that they act the same way.\n\nThe specification of commands can be provided in the filter arguments with the commands\noption, or in a file specified by the filename option.\n\nThese filters accept the following options:\n"
                },
                {
                    "name": "commands, c",
                    "content": "Set the commands to be read and sent to the other filters.\n"
                },
                {
                    "name": "filename, f",
                    "content": "Set the filename of the commands to be read and sent to the other filters.\n\nCommands syntax\n\nA commands description consists of a sequence of interval specifications, comprising a list\nof commands to be executed when a particular event related to that interval occurs. The\noccurring event is typically the current frame time entering or leaving a given time\ninterval.\n\nAn interval is specified by the following syntax:\n\n<START>[-<END>] <COMMANDS>;\n\nThe time interval is specified by the START and END times.  END is optional and defaults to\nthe maximum time.\n\nThe current frame time is considered within the specified interval if it is included in the\ninterval [START, END), that is when the time is greater or equal to START and is lesser than\nEND.\n\nCOMMANDS consists of a sequence of one or more command specifications, separated by \",\",\nrelating to that interval.  The syntax of a command specification is given by:\n\n[<FLAGS>] <TARGET> <COMMAND> <ARG>\n\nFLAGS is optional and specifies the type of events relating to the time interval which enable\nsending the specified command, and must be a non-null sequence of identifier flags separated\nby \"+\" or \"|\" and enclosed between \"[\" and \"]\".\n\nThe following flags are recognized:\n"
                },
                {
                    "name": "enter",
                    "content": "The command is sent when the current frame timestamp enters the specified interval. In\nother words, the command is sent when the previous frame timestamp was not in the given\ninterval, and the current is.\n"
                },
                {
                    "name": "leave",
                    "content": "The command is sent when the current frame timestamp leaves the specified interval. In\nother words, the command is sent when the previous frame timestamp was in the given\ninterval, and the current is not.\n"
                },
                {
                    "name": "expr",
                    "content": "The command ARG is interpreted as expression and result of expression is passed as ARG.\n\nThe expression is evaluated through the eval API and can contain the following constants:\n\nPOS Original position in the file of the frame, or undefined if undefined for the current\nframe.\n\nPTS The presentation timestamp in input.\n\nN   The count of the input frame for video or audio, starting from 0.\n\nT   The time in seconds of the current frame.\n\nTS  The start time in seconds of the current command interval.\n\nTE  The end time in seconds of the current command interval.\n\nTI  The interpolated time of the current command interval, TI = (T - TS) / (TE - TS).\n\nIf FLAGS is not specified, a default value of \"[enter]\" is assumed.\n\nTARGET specifies the target of the command, usually the name of the filter class or a\nspecific filter instance name.\n\nCOMMAND specifies the name of the command for the target filter.\n\nARG is optional and specifies the optional list of argument for the given COMMAND.\n\nBetween one interval specification and another, whitespaces, or sequences of characters\nstarting with \"#\" until the end of line, are ignored and can be used to annotate comments.\n\nA simplified BNF description of the commands specification syntax follows:\n\n<COMMANDFLAG>  ::= \"enter\" | \"leave\"\n<COMMANDFLAGS> ::= <COMMANDFLAG> [(+|\"|\")<COMMANDFLAG>]\n<COMMAND>       ::= [\"[\" <COMMANDFLAGS> \"]\"] <TARGET> <COMMAND> [<ARG>]\n<COMMANDS>      ::= <COMMAND> [,<COMMANDS>]\n<INTERVAL>      ::= <START>[-<END>] <COMMANDS>\n<INTERVALS>     ::= <INTERVAL>[;<INTERVALS>]\n\nExamples\n\n•   Specify audio tempo change at second 4:\n\nasendcmd=c='4.0 atempo tempo 1.5',atempo\n\n•   Target a specific filter instance:\n\nasendcmd=c='4.0 atempo@my tempo 1.5',atempo@my\n\n•   Specify a list of drawtext and hue commands in a file.\n\n# show text in the interval 5-10\n5.0-10.0 [enter] drawtext reinit 'fontfile=FreeSerif.ttf:text=hello world',\n[leave] drawtext reinit 'fontfile=FreeSerif.ttf:text=';\n\n# desaturate the image in the interval 15-20\n15.0-20.0 [enter] hue s 0,\n[enter] drawtext reinit 'fontfile=FreeSerif.ttf:text=nocolor',\n[leave] hue s 1,\n[leave] drawtext reinit 'fontfile=FreeSerif.ttf:text=color';\n\n# apply an exponential saturation fade-out effect, starting from time 25\n25 [enter] hue s exp(25-t)\n\nA filtergraph allowing to read and process the above command list stored in a file\ntest.cmd, can be specified with:\n\nsendcmd=f=test.cmd,drawtext=fontfile=FreeSerif.ttf:text='',hue\n"
                },
                {
                    "name": "setpts, asetpts",
                    "content": "Change the PTS (presentation timestamp) of the input frames.\n\n\"setpts\" works on video frames, \"asetpts\" on audio frames.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "expr",
                    "content": "The expression which is evaluated for each frame to construct its timestamp.\n\nThe expression is evaluated through the eval API and can contain the following constants:\n\nFRAMERATE, FR\nframe rate, only defined for constant frame-rate video\n\nPTS The presentation timestamp in input\n\nN   The count of the input frame for video or the number of consumed samples, not including\nthe current frame for audio, starting from 0.\n\nNBCONSUMEDSAMPLES\nThe number of consumed samples, not including the current frame (only audio)\n\nNBSAMPLES, S\nThe number of samples in the current frame (only audio)\n\nSAMPLERATE, SR\nThe audio sample rate.\n\nSTARTPTS\nThe PTS of the first frame.\n\nSTARTT\nthe time in seconds of the first frame\n\nINTERLACED\nState whether the current frame is interlaced.\n\nT   the time in seconds of the current frame\n\nPOS original position in the file of the frame, or undefined if undefined for the current\nframe\n\nPREVINPTS\nThe previous input PTS.\n\nPREVINT\nprevious input time in seconds\n\nPREVOUTPTS\nThe previous output PTS.\n\nPREVOUTT\nprevious output time in seconds\n\nRTCTIME\nThe wallclock (RTC) time in microseconds. This is deprecated, use time(0) instead.\n\nRTCSTART\nThe wallclock (RTC) time at the start of the movie in microseconds.\n\nTB  The timebase of the input timestamps.\n\nExamples\n\n•   Start counting PTS from zero\n\nsetpts=PTS-STARTPTS\n\n•   Apply fast motion effect:\n\nsetpts=0.5*PTS\n\n•   Apply slow motion effect:\n\nsetpts=2.0*PTS\n\n•   Set fixed rate of 25 frames per second:\n\nsetpts=N/(25*TB)\n\n•   Set fixed rate 25 fps with some jitter:\n\nsetpts='1/(25*TB) * (N + 0.05 * sin(N*2*PI/25))'\n\n•   Apply an offset of 10 seconds to the input PTS:\n\nsetpts=PTS+10/TB\n\n•   Generate timestamps from a \"live source\" and rebase onto the current timebase:\n\nsetpts='(RTCTIME - RTCSTART) / (TB * 1000000)'\n\n•   Generate timestamps by counting samples:\n\nasetpts=N/SR/TB\n"
                },
                {
                    "name": "setrange",
                    "content": "Force color range for the output video frame.\n\nThe \"setrange\" filter marks the color range property for the output frames. It does not\nchange the input frame, but only sets the corresponding property, which affects how the frame\nis treated by following filters.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "range",
                    "content": "Available values are:\n\nauto\nKeep the same color range property.\n\nunspecified, unknown\nSet the color range as unspecified.\n\nlimited, tv, mpeg\nSet the color range as limited.\n\nfull, pc, jpeg\nSet the color range as full.\n"
                },
                {
                    "name": "settb, asettb",
                    "content": "Set the timebase to use for the output frames timestamps.  It is mainly useful for testing\ntimebase configuration.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "expr, tb",
                    "content": "The expression which is evaluated into the output timebase.\n\nThe value for tb is an arithmetic expression representing a rational. The expression can\ncontain the constants \"AVTB\" (the default timebase), \"intb\" (the input timebase) and \"sr\"\n(the sample rate, audio only). Default value is \"intb\".\n\nExamples\n\n•   Set the timebase to 1/25:\n\nsettb=expr=1/25\n\n•   Set the timebase to 1/10:\n\nsettb=expr=0.1\n\n•   Set the timebase to 1001/1000:\n\nsettb=1+0.001\n\n•   Set the timebase to 2*intb:\n\nsettb=2*intb\n\n•   Set the default timebase value:\n\nsettb=AVTB\n"
                },
                {
                    "name": "showcqt",
                    "content": "Convert input audio to a video output representing frequency spectrum logarithmically using\nBrown-Puckette constant Q transform algorithm with direct frequency domain coefficient\ncalculation (but the transform itself is not really constant Q, instead the Q factor is\nactually variable/clamped), with musical tone scale, from E0 to D#10.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "size, s",
                    "content": "Specify the video size for the output. It must be even. For the syntax of this option,\ncheck the \"Video size\" section in the ffmpeg-utils manual.  Default value is \"1920x1080\".\n"
                },
                {
                    "name": "fps, rate, r",
                    "content": "Set the output frame rate. Default value is 25.\n\nbarh\nSet the bargraph height. It must be even. Default value is \"-1\" which computes the\nbargraph height automatically.\n\naxish\nSet the axis height. It must be even. Default value is \"-1\" which computes the axis\nheight automatically.\n\nsonoh\nSet the sonogram height. It must be even. Default value is \"-1\" which computes the\nsonogram height automatically.\n"
                },
                {
                    "name": "fullhd",
                    "content": "Set the fullhd resolution. This option is deprecated, use size, s instead. Default value\nis 1.\n\nsonov, volume\nSpecify the sonogram volume expression. It can contain variables:\n\nbarv\nthe barv evaluated expression\n\nfrequency, freq, f\nthe frequency where it is evaluated\n\ntimeclamp, tc\nthe value of timeclamp option\n\nand functions:\n\naweighting(f)\nA-weighting of equal loudness\n\nbweighting(f)\nB-weighting of equal loudness\n\ncweighting(f)\nC-weighting of equal loudness.\n\nDefault value is 16.\n\nbarv, volume2\nSpecify the bargraph volume expression. It can contain variables:\n\nsonov\nthe sonov evaluated expression\n\nfrequency, freq, f\nthe frequency where it is evaluated\n\ntimeclamp, tc\nthe value of timeclamp option\n\nand functions:\n\naweighting(f)\nA-weighting of equal loudness\n\nbweighting(f)\nB-weighting of equal loudness\n\ncweighting(f)\nC-weighting of equal loudness.\n\nDefault value is \"sonov\".\n\nsonog, gamma\nSpecify the sonogram gamma. Lower gamma makes the spectrum more contrast, higher gamma\nmakes the spectrum having more range. Default value is 3.  Acceptable range is \"[1, 7]\".\n\nbarg, gamma2\nSpecify the bargraph gamma. Default value is 1. Acceptable range is \"[1, 7]\".\n\nbart\nSpecify the bargraph transparency level. Lower value makes the bargraph sharper.  Default\nvalue is 1. Acceptable range is \"[0, 1]\".\n"
                },
                {
                    "name": "timeclamp, tc",
                    "content": "Specify the transform timeclamp. At low frequency, there is trade-off between accuracy in\ntime domain and frequency domain. If timeclamp is lower, event in time domain is\nrepresented more accurately (such as fast bass drum), otherwise event in frequency domain\nis represented more accurately (such as bass guitar). Acceptable range is \"[0.002, 1]\".\nDefault value is 0.17.\n"
                },
                {
                    "name": "attack",
                    "content": "Set attack time in seconds. The default is 0 (disabled). Otherwise, it limits future\nsamples by applying asymmetric windowing in time domain, useful when low latency is\nrequired. Accepted range is \"[0, 1]\".\n"
                },
                {
                    "name": "basefreq",
                    "content": "Specify the transform base frequency. Default value is 20.01523126408007475, which is\nfrequency 50 cents below E0. Acceptable range is \"[10, 100000]\".\n"
                },
                {
                    "name": "endfreq",
                    "content": "Specify the transform end frequency. Default value is 20495.59681441799654, which is\nfrequency 50 cents above D#10. Acceptable range is \"[10, 100000]\".\n"
                },
                {
                    "name": "coeffclamp",
                    "content": "This option is deprecated and ignored.\n"
                },
                {
                    "name": "tlength",
                    "content": "Specify the transform length in time domain. Use this option to control accuracy trade-\noff between time domain and frequency domain at every frequency sample.  It can contain\nvariables:\n\nfrequency, freq, f\nthe frequency where it is evaluated\n\ntimeclamp, tc\nthe value of timeclamp option.\n\nDefault value is \"384*tc/(384+tc*f)\".\n"
                },
                {
                    "name": "count",
                    "content": "Specify the transform count for every video frame. Default value is 6.  Acceptable range\nis \"[1, 30]\".\n"
                },
                {
                    "name": "fcount",
                    "content": "Specify the transform count for every single pixel. Default value is 0, which makes it\ncomputed automatically. Acceptable range is \"[0, 10]\".\n"
                },
                {
                    "name": "fontfile",
                    "content": "Specify font file for use with freetype to draw the axis. If not specified, use embedded\nfont. Note that drawing with font file or embedded font is not implemented with custom\nbasefreq and endfreq, use axisfile option instead.\n"
                },
                {
                    "name": "font",
                    "content": "Specify fontconfig pattern. This has lower priority than fontfile. The \":\" in the pattern\nmay be replaced by \"|\" to avoid unnecessary escaping.\n"
                },
                {
                    "name": "fontcolor",
                    "content": "Specify font color expression. This is arithmetic expression that should return integer\nvalue 0xRRGGBB. It can contain variables:\n\nfrequency, freq, f\nthe frequency where it is evaluated\n\ntimeclamp, tc\nthe value of timeclamp option\n\nand functions:\n\nmidi(f)\nmidi number of frequency f, some midi numbers: E0(16), C1(24), C2(36), A4(69)\n\nr(x), g(x), b(x)\nred, green, and blue value of intensity x.\n\nDefault value is \"st(0, (midi(f)-59.5)/12); st(1, if(between(ld(0),0,1),\n0.5-0.5*cos(2*PI*ld(0)), 0)); r(1-ld(1)) + b(ld(1))\".\n"
                },
                {
                    "name": "axisfile",
                    "content": "Specify image file to draw the axis. This option override fontfile and fontcolor option.\n"
                },
                {
                    "name": "axis, text",
                    "content": "Enable/disable drawing text to the axis. If it is set to 0, drawing to the axis is\ndisabled, ignoring fontfile and axisfile option.  Default value is 1.\n\ncsp Set colorspace. The accepted values are:\n\nunspecified\nUnspecified (default)\n\nbt709\nBT.709\n\nfcc FCC\n\nbt470bg\nBT.470BG or BT.601-6 625\n\nsmpte170m\nSMPTE-170M or BT.601-6 525\n\nsmpte240m\nSMPTE-240M\n\nbt2020ncl\nBT.2020 with non-constant luminance\n"
                },
                {
                    "name": "cscheme",
                    "content": "Set spectrogram color scheme. This is list of floating point values with format\n\"leftr|leftg|leftb|rightr|rightg|rightb\".  The default is \"1|0.5|0|0|0.5|1\".\n\nExamples\n\n•   Playing audio while showing the spectrum:\n\nffplay -f lavfi 'amovie=a.mp3, asplit [a][out1]; [a] showcqt [out0]'\n\n•   Same as above, but with frame rate 30 fps:\n\nffplay -f lavfi 'amovie=a.mp3, asplit [a][out1]; [a] showcqt=fps=30:count=5 [out0]'\n\n•   Playing at 1280x720:\n\nffplay -f lavfi 'amovie=a.mp3, asplit [a][out1]; [a] showcqt=s=1280x720:count=4 [out0]'\n\n•   Disable sonogram display:\n\nsonoh=0\n\n•   A1 and its harmonics: A1, A2, (near)E3, A3:\n\nffplay -f lavfi 'aevalsrc=0.1*sin(2*PI*55*t)+0.1*sin(4*PI*55*t)+0.1*sin(6*PI*55*t)+0.1*sin(8*PI*55*t),\nasplit[a][out1]; [a] showcqt [out0]'\n\n•   Same as above, but with more accuracy in frequency domain:\n\nffplay -f lavfi 'aevalsrc=0.1*sin(2*PI*55*t)+0.1*sin(4*PI*55*t)+0.1*sin(6*PI*55*t)+0.1*sin(8*PI*55*t),\nasplit[a][out1]; [a] showcqt=timeclamp=0.5 [out0]'\n\n•   Custom volume:\n\nbarv=10:sonov=barv*aweighting(f)\n\n•   Custom gamma, now spectrum is linear to the amplitude.\n\nbarg=2:sonog=2\n\n•   Custom tlength equation:\n\ntc=0.33:tlength='st(0,0.17); 384*tc / (384 / ld(0) + tc*f /(1-ld(0))) + 384*tc / (tc*f / ld(0) + 384 /(1-ld(0)))'\n\n•   Custom fontcolor and fontfile, C-note is colored green, others are colored blue:\n\nfontcolor='if(mod(floor(midi(f)+0.5),12), 0x0000FF, g(1))':fontfile=myfont.ttf\n\n•   Custom font using fontconfig:\n\nfont='Courier New,Monospace,mono|bold'\n\n•   Custom frequency range with custom axis using image file:\n\naxisfile=myaxis.png:basefreq=40:endfreq=10000\n"
                },
                {
                    "name": "showfreqs",
                    "content": "Convert input audio to video output representing the audio power spectrum.  Audio amplitude\nis on Y-axis while frequency is on X-axis.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "size, s",
                    "content": "Specify size of video. For the syntax of this option, check the \"Video size\" section in\nthe ffmpeg-utils manual.  Default is \"1024x512\".\n"
                },
                {
                    "name": "mode",
                    "content": "Set display mode.  This set how each frequency bin will be represented.\n\nIt accepts the following values:\n\nline\nbar\ndot\n\nDefault is \"bar\".\n"
                },
                {
                    "name": "ascale",
                    "content": "Set amplitude scale.\n\nIt accepts the following values:\n\nlin Linear scale.\n\nsqrt\nSquare root scale.\n\ncbrt\nCubic root scale.\n\nlog Logarithmic scale.\n\nDefault is \"log\".\n"
                },
                {
                    "name": "fscale",
                    "content": "Set frequency scale.\n\nIt accepts the following values:\n\nlin Linear scale.\n\nlog Logarithmic scale.\n\nrlog\nReverse logarithmic scale.\n\nDefault is \"lin\".\n\nwinsize\nSet window size. Allowed range is from 16 to 65536.\n\nDefault is 2048\n\nwinfunc\nSet windowing function.\n\nIt accepts the following values:\n\nrect\nbartlett\nhanning\nhamming\nblackman\nwelch\nflattop\nbharris\nbnuttall\nbhann\nsine\nnuttall\nlanczos\ngauss\ntukey\ndolph\ncauchy\nparzen\npoisson\nbohman\n\nDefault is \"hanning\".\n"
                },
                {
                    "name": "overlap",
                    "content": "Set window overlap. In range \"[0, 1]\". Default is 1, which means optimal overlap for\nselected window function will be picked.\n"
                },
                {
                    "name": "averaging",
                    "content": "Set time averaging. Setting this to 0 will display current maximal peaks.  Default is 1,\nwhich means time averaging is disabled.\n"
                },
                {
                    "name": "colors",
                    "content": "Specify list of colors separated by space or by '|' which will be used to draw channel\nfrequencies. Unrecognized or missing colors will be replaced by white color.\n"
                },
                {
                    "name": "cmode",
                    "content": "Set channel display mode.\n\nIt accepts the following values:\n\ncombined\nseparate\n\nDefault is \"combined\".\n"
                },
                {
                    "name": "minamp",
                    "content": "Set minimum amplitude used in \"log\" amplitude scaler.\n"
                },
                {
                    "name": "data",
                    "content": "Set data display mode.\n\nIt accepts the following values:\n\nmagnitude\nphase\ndelay\n\nDefault is \"magnitude\".\n"
                },
                {
                    "name": "showspatial",
                    "content": "Convert stereo input audio to a video output, representing the spatial relationship between\ntwo channels.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "size, s",
                    "content": "Specify the video size for the output. For the syntax of this option, check the \"Video\nsize\" section in the ffmpeg-utils manual.  Default value is \"512x512\".\n\nwinsize\nSet window size. Allowed range is from 1024 to 65536. Default size is 4096.\n\nwinfunc\nSet window function.\n\nIt accepts the following values:\n\nrect\nbartlett\nhann\nhanning\nhamming\nblackman\nwelch\nflattop\nbharris\nbnuttall\nbhann\nsine\nnuttall\nlanczos\ngauss\ntukey\ndolph\ncauchy\nparzen\npoisson\nbohman\n\nDefault value is \"hann\".\n"
                },
                {
                    "name": "overlap",
                    "content": "Set ratio of overlap window. Default value is 0.5.  When value is 1 overlap is set to\nrecommended size for specific window function currently used.\n"
                },
                {
                    "name": "showspectrum",
                    "content": "Convert input audio to a video output, representing the audio frequency spectrum.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "size, s",
                    "content": "Specify the video size for the output. For the syntax of this option, check the \"Video\nsize\" section in the ffmpeg-utils manual.  Default value is \"640x512\".\n"
                },
                {
                    "name": "slide",
                    "content": "Specify how the spectrum should slide along the window.\n\nIt accepts the following values:\n\nreplace\nthe samples start again on the left when they reach the right\n\nscroll\nthe samples scroll from right to left\n\nfullframe\nframes are only produced when the samples reach the right\n\nrscroll\nthe samples scroll from left to right\n\nDefault value is \"replace\".\n"
                },
                {
                    "name": "mode",
                    "content": "Specify display mode.\n\nIt accepts the following values:\n\ncombined\nall channels are displayed in the same row\n\nseparate\nall channels are displayed in separate rows\n\nDefault value is combined.\n"
                },
                {
                    "name": "color",
                    "content": "Specify display color mode.\n\nIt accepts the following values:\n\nchannel\neach channel is displayed in a separate color\n\nintensity\neach channel is displayed using the same color scheme\n\nrainbow\neach channel is displayed using the rainbow color scheme\n\nmoreland\neach channel is displayed using the moreland color scheme\n\nnebulae\neach channel is displayed using the nebulae color scheme\n\nfire\neach channel is displayed using the fire color scheme\n\nfiery\neach channel is displayed using the fiery color scheme\n\nfruit\neach channel is displayed using the fruit color scheme\n\ncool\neach channel is displayed using the cool color scheme\n\nmagma\neach channel is displayed using the magma color scheme\n\ngreen\neach channel is displayed using the green color scheme\n\nviridis\neach channel is displayed using the viridis color scheme\n\nplasma\neach channel is displayed using the plasma color scheme\n\ncividis\neach channel is displayed using the cividis color scheme\n\nterrain\neach channel is displayed using the terrain color scheme\n\nDefault value is channel.\n"
                },
                {
                    "name": "scale",
                    "content": "Specify scale used for calculating intensity color values.\n\nIt accepts the following values:\n\nlin linear\n\nsqrt\nsquare root, default\n\ncbrt\ncubic root\n\nlog logarithmic\n\n4thrt\n4th root\n\n5thrt\n5th root\n\nDefault value is sqrt.\n"
                },
                {
                    "name": "fscale",
                    "content": "Specify frequency scale.\n\nIt accepts the following values:\n\nlin linear\n\nlog logarithmic\n\nDefault value is lin.\n"
                },
                {
                    "name": "saturation",
                    "content": "Set saturation modifier for displayed colors. Negative values provide alternative color\nscheme. 0 is no saturation at all.  Saturation must be in [-10.0, 10.0] range.  Default\nvalue is 1.\n\nwinfunc\nSet window function.\n\nIt accepts the following values:\n\nrect\nbartlett\nhann\nhanning\nhamming\nblackman\nwelch\nflattop\nbharris\nbnuttall\nbhann\nsine\nnuttall\nlanczos\ngauss\ntukey\ndolph\ncauchy\nparzen\npoisson\nbohman\n\nDefault value is \"hann\".\n"
                },
                {
                    "name": "orientation",
                    "content": "Set orientation of time vs frequency axis. Can be \"vertical\" or \"horizontal\". Default is\n\"vertical\".\n"
                },
                {
                    "name": "overlap",
                    "content": "Set ratio of overlap window. Default value is 0.  When value is 1 overlap is set to\nrecommended size for specific window function currently used.\n"
                },
                {
                    "name": "gain",
                    "content": "Set scale gain for calculating intensity color values.  Default value is 1.\n"
                },
                {
                    "name": "data",
                    "content": "Set which data to display. Can be \"magnitude\", default or \"phase\".\n"
                },
                {
                    "name": "rotation",
                    "content": "Set color rotation, must be in [-1.0, 1.0] range.  Default value is 0.\n"
                },
                {
                    "name": "start",
                    "content": "Set start frequency from which to display spectrogram. Default is 0.\n"
                },
                {
                    "name": "stop",
                    "content": "Set stop frequency to which to display spectrogram. Default is 0.\n\nfps Set upper frame rate limit. Default is \"auto\", unlimited.\n"
                },
                {
                    "name": "legend",
                    "content": "Draw time and frequency axes and legends. Default is disabled.\n\nThe usage is very similar to the showwaves filter; see the examples in that section.\n\nExamples\n\n•   Large window with logarithmic color scaling:\n\nshowspectrum=s=1280x480:scale=log\n\n•   Complete example for a colored and sliding spectrum per channel using ffplay:\n\nffplay -f lavfi 'amovie=input.mp3, asplit [a][out1];\n[a] showspectrum=mode=separate:color=intensity:slide=1:scale=cbrt [out0]'\n"
                },
                {
                    "name": "showspectrumpic",
                    "content": "Convert input audio to a single video frame, representing the audio frequency spectrum.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "size, s",
                    "content": "Specify the video size for the output. For the syntax of this option, check the \"Video\nsize\" section in the ffmpeg-utils manual.  Default value is \"4096x2048\".\n"
                },
                {
                    "name": "mode",
                    "content": "Specify display mode.\n\nIt accepts the following values:\n\ncombined\nall channels are displayed in the same row\n\nseparate\nall channels are displayed in separate rows\n\nDefault value is combined.\n"
                },
                {
                    "name": "color",
                    "content": "Specify display color mode.\n\nIt accepts the following values:\n\nchannel\neach channel is displayed in a separate color\n\nintensity\neach channel is displayed using the same color scheme\n\nrainbow\neach channel is displayed using the rainbow color scheme\n\nmoreland\neach channel is displayed using the moreland color scheme\n\nnebulae\neach channel is displayed using the nebulae color scheme\n\nfire\neach channel is displayed using the fire color scheme\n\nfiery\neach channel is displayed using the fiery color scheme\n\nfruit\neach channel is displayed using the fruit color scheme\n\ncool\neach channel is displayed using the cool color scheme\n\nmagma\neach channel is displayed using the magma color scheme\n\ngreen\neach channel is displayed using the green color scheme\n\nviridis\neach channel is displayed using the viridis color scheme\n\nplasma\neach channel is displayed using the plasma color scheme\n\ncividis\neach channel is displayed using the cividis color scheme\n\nterrain\neach channel is displayed using the terrain color scheme\n\nDefault value is intensity.\n"
                },
                {
                    "name": "scale",
                    "content": "Specify scale used for calculating intensity color values.\n\nIt accepts the following values:\n\nlin linear\n\nsqrt\nsquare root, default\n\ncbrt\ncubic root\n\nlog logarithmic\n\n4thrt\n4th root\n\n5thrt\n5th root\n\nDefault value is log.\n"
                },
                {
                    "name": "fscale",
                    "content": "Specify frequency scale.\n\nIt accepts the following values:\n\nlin linear\n\nlog logarithmic\n\nDefault value is lin.\n"
                },
                {
                    "name": "saturation",
                    "content": "Set saturation modifier for displayed colors. Negative values provide alternative color\nscheme. 0 is no saturation at all.  Saturation must be in [-10.0, 10.0] range.  Default\nvalue is 1.\n\nwinfunc\nSet window function.\n\nIt accepts the following values:\n\nrect\nbartlett\nhann\nhanning\nhamming\nblackman\nwelch\nflattop\nbharris\nbnuttall\nbhann\nsine\nnuttall\nlanczos\ngauss\ntukey\ndolph\ncauchy\nparzen\npoisson\nbohman\n\nDefault value is \"hann\".\n"
                },
                {
                    "name": "orientation",
                    "content": "Set orientation of time vs frequency axis. Can be \"vertical\" or \"horizontal\". Default is\n\"vertical\".\n"
                },
                {
                    "name": "gain",
                    "content": "Set scale gain for calculating intensity color values.  Default value is 1.\n"
                },
                {
                    "name": "legend",
                    "content": "Draw time and frequency axes and legends. Default is enabled.\n"
                },
                {
                    "name": "rotation",
                    "content": "Set color rotation, must be in [-1.0, 1.0] range.  Default value is 0.\n"
                },
                {
                    "name": "start",
                    "content": "Set start frequency from which to display spectrogram. Default is 0.\n"
                },
                {
                    "name": "stop",
                    "content": "Set stop frequency to which to display spectrogram. Default is 0.\n\nExamples\n\n•   Extract an audio spectrogram of a whole audio track in a 1024x1024 picture using ffmpeg:\n\nffmpeg -i audio.flac -lavfi showspectrumpic=s=1024x1024 spectrogram.png\n"
                },
                {
                    "name": "showvolume",
                    "content": "Convert input audio volume to a video output.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "rate, r",
                    "content": "Set video rate.\n\nb   Set border width, allowed range is [0, 5]. Default is 1.\n\nw   Set channel width, allowed range is [80, 8192]. Default is 400.\n\nh   Set channel height, allowed range is [1, 900]. Default is 20.\n\nf   Set fade, allowed range is [0, 1]. Default is 0.95.\n\nc   Set volume color expression.\n\nThe expression can use the following variables:\n\nVOLUME\nCurrent max volume of channel in dB.\n\nPEAK\nCurrent peak.\n\nCHANNEL\nCurrent channel number, starting from 0.\n\nt   If set, displays channel names. Default is enabled.\n\nv   If set, displays volume values. Default is enabled.\n\no   Set orientation, can be horizontal: \"h\" or vertical: \"v\", default is \"h\".\n\ns   Set step size, allowed range is [0, 5]. Default is 0, which means step is disabled.\n\np   Set background opacity, allowed range is [0, 1]. Default is 0.\n\nm   Set metering mode, can be peak: \"p\" or rms: \"r\", default is \"p\".\n\nds  Set display scale, can be linear: \"lin\" or log: \"log\", default is \"lin\".\n\ndm  In second.  If set to > 0., display a line for the max level in the previous seconds.\ndefault is disabled: 0.\n\ndmc The color of the max line. Use when \"dm\" option is set to > 0.  default is: \"orange\"\n"
                },
                {
                    "name": "showwaves",
                    "content": "Convert input audio to a video output, representing the samples waves.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "size, s",
                    "content": "Specify the video size for the output. For the syntax of this option, check the \"Video\nsize\" section in the ffmpeg-utils manual.  Default value is \"600x240\".\n"
                },
                {
                    "name": "mode",
                    "content": "Set display mode.\n\nAvailable values are:\n\npoint\nDraw a point for each sample.\n\nline\nDraw a vertical line for each sample.\n\np2p Draw a point for each sample and a line between them.\n\ncline\nDraw a centered vertical line for each sample.\n\nDefault value is \"point\".\n\nn   Set the number of samples which are printed on the same column. A larger value will\ndecrease the frame rate. Must be a positive integer. This option can be set only if the\nvalue for rate is not explicitly specified.\n"
                },
                {
                    "name": "rate, r",
                    "content": "Set the (approximate) output frame rate. This is done by setting the option n. Default\nvalue is \"25\".\n\nsplitchannels\nSet if channels should be drawn separately or overlap. Default value is 0.\n"
                },
                {
                    "name": "colors",
                    "content": "Set colors separated by '|' which are going to be used for drawing of each channel.\n"
                },
                {
                    "name": "scale",
                    "content": "Set amplitude scale.\n\nAvailable values are:\n\nlin Linear.\n\nlog Logarithmic.\n\nsqrt\nSquare root.\n\ncbrt\nCubic root.\n\nDefault is linear.\n"
                },
                {
                    "name": "draw",
                    "content": "Set the draw mode. This is mostly useful to set for high n.\n\nAvailable values are:\n\nscale\nScale pixel values for each drawn sample.\n\nfull\nDraw every sample directly.\n\nDefault value is \"scale\".\n\nExamples\n\n•   Output the input file audio and the corresponding video representation at the same time:\n\namovie=a.mp3,asplit[out0],showwaves[out1]\n\n•   Create a synthetic signal and show it with showwaves, forcing a frame rate of 30 frames\nper second:\n\naevalsrc=sin(1*2*PI*t)*sin(880*2*PI*t):cos(2*PI*200*t),asplit[out0],showwaves=r=30[out1]\n"
                },
                {
                    "name": "showwavespic",
                    "content": "Convert input audio to a single video frame, representing the samples waves.\n\nThe filter accepts the following options:\n"
                },
                {
                    "name": "size, s",
                    "content": "Specify the video size for the output. For the syntax of this option, check the \"Video\nsize\" section in the ffmpeg-utils manual.  Default value is \"600x240\".\n\nsplitchannels\nSet if channels should be drawn separately or overlap. Default value is 0.\n"
                },
                {
                    "name": "colors",
                    "content": "Set colors separated by '|' which are going to be used for drawing of each channel.\n"
                },
                {
                    "name": "scale",
                    "content": "Set amplitude scale.\n\nAvailable values are:\n\nlin Linear.\n\nlog Logarithmic.\n\nsqrt\nSquare root.\n\ncbrt\nCubic root.\n\nDefault is linear.\n"
                },
                {
                    "name": "draw",
                    "content": "Set the draw mode.\n\nAvailable values are:\n\nscale\nScale pixel values for each drawn sample.\n\nfull\nDraw every sample directly.\n\nDefault value is \"scale\".\n"
                },
                {
                    "name": "filter",
                    "content": "Set the filter mode.\n\nAvailable values are:\n\naverage\nUse average samples values for each drawn sample.\n\npeak\nUse peak samples values for each drawn sample.\n\nDefault value is \"average\".\n\nExamples\n\n•   Extract a channel split representation of the wave form of a whole audio track in a\n1024x800 picture using ffmpeg:\n\nffmpeg -i audio.flac -lavfi showwavespic=splitchannels=1:s=1024x800 waveform.png\n"
                },
                {
                    "name": "sidedata, asidedata",
                    "content": "Delete frame side data, or select frames based on it.\n\nThis filter accepts the following options:\n"
                },
                {
                    "name": "mode",
                    "content": "Set mode of operation of the filter.\n\nCan be one of the following:\n\nselect\nSelect every frame with side data of \"type\".\n\ndelete\nDelete side data of \"type\". If \"type\" is not set, delete all side data in the frame.\n"
                },
                {
                    "name": "type",
                    "content": "Set side data type used with all modes. Must be set for \"select\" mode. For the list of\nframe side data types, refer to the \"AVFrameSideDataType\" enum in libavutil/frame.h. For\nexample, to choose \"AVFRAMEDATAPANSCAN\" side data, you must specify \"PANSCAN\".\n"
                },
                {
                    "name": "spectrumsynth",
                    "content": "Synthesize audio from 2 input video spectrums, first input stream represents magnitude across\ntime and second represents phase across time.  The filter will transform from frequency\ndomain as displayed in videos back to time domain as presented in audio output.\n\nThis filter is primarily created for reversing processed showspectrum filter outputs, but can\nsynthesize sound from other spectrograms too.  But in such case results are going to be poor\nif the phase data is not available, because in such cases phase data need to be recreated,\nusually it's just recreated from random noise.  For best results use gray only output\n(\"channel\" color mode in showspectrum filter) and \"log\" scale for magnitude video and \"lin\"\nscale for phase video. To produce phase, for 2nd video, use \"data\" option. Inputs videos\nshould generally use \"fullframe\" slide mode as that saves resources needed for decoding\nvideo.\n\nThe filter accepts the following options:\n\nsamplerate\nSpecify sample rate of output audio, the sample rate of audio from which spectrum was\ngenerated may differ.\n"
                },
                {
                    "name": "channels",
                    "content": "Set number of channels represented in input video spectrums.\n"
                },
                {
                    "name": "scale",
                    "content": "Set scale which was used when generating magnitude input spectrum.  Can be \"lin\" or\n\"log\". Default is \"log\".\n"
                },
                {
                    "name": "slide",
                    "content": "Set slide which was used when generating inputs spectrums.  Can be \"replace\", \"scroll\",\n\"fullframe\" or \"rscroll\".  Default is \"fullframe\".\n\nwinfunc\nSet window function used for resynthesis.\n"
                },
                {
                    "name": "overlap",
                    "content": "Set window overlap. In range \"[0, 1]\". Default is 1, which means optimal overlap for\nselected window function will be picked.\n"
                },
                {
                    "name": "orientation",
                    "content": "Set orientation of input videos. Can be \"vertical\" or \"horizontal\".  Default is\n\"vertical\".\n\nExamples\n\n•   First create magnitude and phase videos from audio, assuming audio is stereo with 44100\nsample rate, then resynthesize videos back to audio with spectrumsynth:\n\nffmpeg -i input.flac -lavfi showspectrum=mode=separate:scale=log:overlap=0.875:color=channel:slide=fullframe:data=magnitude -an -c:v rawvideo magnitude.nut\nffmpeg -i input.flac -lavfi showspectrum=mode=separate:scale=lin:overlap=0.875:color=channel:slide=fullframe:data=phase -an -c:v rawvideo phase.nut\nffmpeg -i magnitude.nut -i phase.nut -lavfi spectrumsynth=channels=2:samplerate=44100:winfunc=hann:overlap=0.875:slide=fullframe output.flac\n"
                },
                {
                    "name": "split, asplit",
                    "content": "Split input into several identical outputs.\n\n\"asplit\" works with audio input, \"split\" with video.\n\nThe filter accepts a single parameter which specifies the number of outputs. If unspecified,\nit defaults to 2.\n\nExamples\n\n•   Create two separate outputs from the same input:\n\n[in] split [out0][out1]\n\n•   To create 3 or more outputs, you need to specify the number of outputs, like in:\n\n[in] asplit=3 [out0][out1][out2]\n\n•   Create two separate outputs from the same input, one cropped and one padded:\n\n[in] split [splitout1][splitout2];\n[splitout1] crop=100:100:0:0    [cropout];\n[splitout2] pad=200:200:100:100 [padout];\n\n•   Create 5 copies of the input audio with ffmpeg:\n\nffmpeg -i INPUT -filtercomplex asplit=5 OUTPUT\n"
                },
                {
                    "name": "zmq, azmq",
                    "content": "Receive commands sent through a libzmq client, and forward them to filters in the\nfiltergraph.\n\n\"zmq\" and \"azmq\" work as a pass-through filters. \"zmq\" must be inserted between two video\nfilters, \"azmq\" between two audio filters. Both are capable to send messages to any filter\ntype.\n\nTo enable these filters you need to install the libzmq library and headers and configure\nFFmpeg with \"--enable-libzmq\".\n\nFor more information about libzmq see: <http://www.zeromq.org/>\n\nThe \"zmq\" and \"azmq\" filters work as a libzmq server, which receives messages sent through a\nnetwork interface defined by the bindaddress (or the abbreviation \"b\") option.  Default\nvalue of this option is tcp://localhost:5555. You may want to alter this value to your needs,\nbut do not forget to escape any ':' signs (see filtergraph escaping).\n\nThe received message must be in the form:\n\n<TARGET> <COMMAND> [<ARG>]\n\nTARGET specifies the target of the command, usually the name of the filter class or a\nspecific filter instance name. The default filter instance name uses the pattern\nParsed<filtername><index>, but you can override this by using the filtername@id syntax\n(see Filtergraph syntax).\n\nCOMMAND specifies the name of the command for the target filter.\n\nARG is optional and specifies the optional argument list for the given COMMAND.\n\nUpon reception, the message is processed and the corresponding command is injected into the\nfiltergraph. Depending on the result, the filter will send a reply to the client, adopting\nthe format:\n\n<ERRORCODE> <ERRORREASON>\n<MESSAGE>\n\nMESSAGE is optional.\n\nExamples\n\nLook at tools/zmqsend for an example of a zmq client which can be used to send commands\nprocessed by these filters.\n\nConsider the following filtergraph generated by ffplay.  In this example the last overlay\nfilter has an instance name. All other filters will have default instance names.\n\nffplay -dumpgraph 1 -f lavfi \"\ncolor=s=100x100:c=red  [l];\ncolor=s=100x100:c=blue [r];\nnullsrc=s=200x100, zmq [bg];\n[bg][l]   overlay     [bg+l];\n[bg+l][r] overlay@my=x=100 \"\n\nTo change the color of the left side of the video, the following command can be used:\n\necho Parsedcolor0 c yellow | tools/zmqsend\n\nTo change the right side:\n\necho Parsedcolor1 c pink | tools/zmqsend\n\nTo change the position of the right side:\n\necho overlay@my x 150 | tools/zmqsend\n"
                }
            ]
        },
        "MULTIMEDIA SOURCES": {
            "content": "Below is a description of the currently available multimedia sources.\n",
            "subsections": [
                {
                    "name": "amovie",
                    "content": "This is the same as movie source, except it selects an audio stream by default.\n"
                },
                {
                    "name": "movie",
                    "content": "Read audio and/or video stream(s) from a movie container.\n\nIt accepts the following parameters:\n"
                },
                {
                    "name": "filename",
                    "content": "The name of the resource to read (not necessarily a file; it can also be a device or a\nstream accessed through some protocol).\n\nformatname, f\nSpecifies the format assumed for the movie to read, and can be either the name of a\ncontainer or an input device. If not specified, the format is guessed from moviename or\nby probing.\n\nseekpoint, sp\nSpecifies the seek point in seconds. The frames will be output starting from this seek\npoint. The parameter is evaluated with \"avstrtod\", so the numerical value may be\nsuffixed by an IS postfix. The default value is \"0\".\n"
                },
                {
                    "name": "streams, s",
                    "content": "Specifies the streams to read. Several streams can be specified, separated by \"+\". The\nsource will then have as many outputs, in the same order. The syntax is explained in the\n\"Stream specifiers\" section in the ffmpeg manual. Two special names, \"dv\" and \"da\"\nspecify respectively the default (best suited) video and audio stream. Default is \"dv\",\nor \"da\" if the filter is called as \"amovie\".\n\nstreamindex, si\nSpecifies the index of the video stream to read. If the value is -1, the most suitable\nvideo stream will be automatically selected. The default value is \"-1\". Deprecated. If\nthe filter is called \"amovie\", it will select audio instead of video.\n"
                },
                {
                    "name": "loop",
                    "content": "Specifies how many times to read the stream in sequence.  If the value is 0, the stream\nwill be looped infinitely.  Default value is \"1\".\n\nNote that when the movie is looped the source timestamps are not changed, so it will\ngenerate non monotonically increasing timestamps.\n"
                },
                {
                    "name": "discontinuity",
                    "content": "Specifies the time difference between frames above which the point is considered a\ntimestamp discontinuity which is removed by adjusting the later timestamps.\n\nIt allows overlaying a second video on top of the main input of a filtergraph, as shown in\nthis graph:\n\ninput -----------> deltapts0 --> overlay --> output\n^\n|\nmovie --> scale--> deltapts1 -------+\n\nExamples\n\n•   Skip 3.2 seconds from the start of the AVI file in.avi, and overlay it on top of the\ninput labelled \"in\":\n\nmovie=in.avi:seekpoint=3.2, scale=180:-1, setpts=PTS-STARTPTS [over];\n[in] setpts=PTS-STARTPTS [main];\n[main][over] overlay=16:16 [out]\n\n•   Read from a video4linux2 device, and overlay it on top of the input labelled \"in\":\n\nmovie=/dev/video0:f=video4linux2, scale=180:-1, setpts=PTS-STARTPTS [over];\n[in] setpts=PTS-STARTPTS [main];\n[main][over] overlay=16:16 [out]\n\n•   Read the first video stream and the audio stream with id 0x81 from dvd.vob; the video is\nconnected to the pad named \"video\" and the audio is connected to the pad named \"audio\":\n\nmovie=dvd.vob:s=v:0+#0x81 [video] [audio]\n\nCommands\n\nBoth movie and amovie support the following commands:\n"
                },
                {
                    "name": "seek",
                    "content": "Perform seek using \"avseekframe\".  The syntax is: seek streamindex|timestamp|flags\n\n•   streamindex: If streamindex is -1, a default stream is selected, and timestamp is\nautomatically converted from AVTIMEBASE units to the stream specific timebase.\n\n•   timestamp: Timestamp in AVStream.timebase units or, if no stream is specified, in\nAVTIMEBASE units.\n\n•   flags: Flags which select direction and seeking mode.\n\ngetduration\nGet movie duration in AVTIMEBASE units.\n"
                }
            ]
        },
        "EXTERNAL LIBRARIES": {
            "content": "FFmpeg can be hooked up with a number of external libraries to add support for more formats.\nNone of them are used by default, their use has to be explicitly requested by passing the\nappropriate flags to ./configure.\n",
            "subsections": [
                {
                    "name": "Alliance for Open Media (AOM)",
                    "content": "FFmpeg can make use of the AOM library for AV1 decoding and encoding.\n\nGo to <http://aomedia.org/> and follow the instructions for installing the library. Then pass\n\"--enable-libaom\" to configure to enable it.\n\nAMD AMF/VCE\nFFmpeg can use the AMD Advanced Media Framework library for accelerated H.264 and HEVC(only\nwindows) encoding on hardware with Video Coding Engine (VCE).\n\nTo enable support you must obtain the AMF framework header files(version 1.4.9+) from\n<https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git>.\n\nCreate an \"AMF/\" directory in the system include path.  Copy the contents of\n\"AMF/amf/public/include/\" into that directory.  Then configure FFmpeg with \"--enable-amf\".\n\nInitialization of amf encoder occurs in this order: 1) trying to initialize through dx11(only\nwindows) 2) trying to initialize through dx9(only windows) 3) trying to initialize through\nvulkan\n\nTo use h.264(AMD VCE) encoder on linux amdgru-pro version 19.20+ and amf-amdgpu-pro\npackage(amdgru-pro contains, but does not install automatically) are required.\n\nThis driver can be installed using amdgpu-pro-install script in official amd driver archive.\n"
                },
                {
                    "name": "AviSynth",
                    "content": "FFmpeg can read AviSynth scripts as input. To enable support, pass \"--enable-avisynth\" to\nconfigure after installing the headers provided by\n<https://github.com/AviSynth/AviSynthPlus>.  AviSynth+ can be configured to install only the\nheaders by either passing \"-DHEADERSONLY:bool=on\" to the normal CMake-based build system, or\nby using the supplied \"GNUmakefile\".\n\nFor Windows, supported AviSynth variants are <http://avisynth.nl> for 32-bit builds and\n<http://avisynth.nl/index.php/AviSynth+> for 32-bit and 64-bit builds.\n\nFor Linux, macOS, and BSD, the only supported AviSynth variant is\n<https://github.com/AviSynth/AviSynthPlus>, starting with version 3.5.\n\nIn 2016, AviSynth+ added support for building with GCC. However, due to the\neccentricities of Windows' calling conventions, 32-bit GCC builds of AviSynth+ are not\ncompatible with typical 32-bit builds of FFmpeg.\n\nBy default, FFmpeg assumes compatibility with 32-bit MSVC builds of AviSynth+ since that\nis the most widely-used and entrenched build configuration.  Users can override this and\nenable support for 32-bit GCC builds of AviSynth+ by passing \"-DAVSCWIN32GCC32\" to\n\"--extra-cflags\" when configuring FFmpeg.\n\n64-bit builds of FFmpeg are not affected, and can use either MSVC or GCC builds of\nAviSynth+ without any special flags.\n\nAviSynth(+) is loaded dynamically.  Distributors can build FFmpeg with\n\"--enable-avisynth\", and the binaries will work regardless of the end user having\nAviSynth installed.  If/when an end user would like to use AviSynth scripts, then they\ncan install AviSynth(+) and FFmpeg will be able to find and use it to open scripts.\n"
                },
                {
                    "name": "Chromaprint",
                    "content": "FFmpeg can make use of the Chromaprint library for generating audio fingerprints.  Pass\n\"--enable-chromaprint\" to configure to enable it. See <https://acoustid.org/chromaprint>.\n"
                },
                {
                    "name": "codec2",
                    "content": "FFmpeg can make use of the codec2 library for codec2 decoding and encoding.  There is\ncurrently no native decoder, so libcodec2 must be used for decoding.\n\nGo to <http://freedv.org/>, download \"Codec 2 source archive\".  Build and install using\nCMake. Debian users can install the libcodec2-dev package instead.  Once libcodec2 is\ninstalled you can pass \"--enable-libcodec2\" to configure to enable it.\n\nThe easiest way to use codec2 is with .c2 files, since they contain the mode information\nrequired for decoding.  To encode such a file, use a .c2 file extension and give the\nlibcodec2 encoder the -mode option: \"ffmpeg -i input.wav -mode 700C output.c2\".  Playback is\nas simple as \"ffplay output.c2\".  For a list of supported modes, run \"ffmpeg -h\nencoder=libcodec2\".  Raw codec2 files are also supported.  To make sense of them the mode in\nuse needs to be specified as a format option: \"ffmpeg -f codec2raw -mode 1300 -i input.raw\noutput.wav\".\n"
                },
                {
                    "name": "dav1d",
                    "content": "FFmpeg can make use of the dav1d library for AV1 video decoding.\n\nGo to <https://code.videolan.org/videolan/dav1d> and follow the instructions for installing\nthe library. Then pass \"--enable-libdav1d\" to configure to enable it.\n"
                },
                {
                    "name": "davs2",
                    "content": "FFmpeg can make use of the davs2 library for AVS2-P2/IEEE1857.4 video decoding.\n\nGo to <https://github.com/pkuvcl/davs2> and follow the instructions for installing the\nlibrary. Then pass \"--enable-libdavs2\" to configure to enable it.\n\nlibdavs2 is under the GNU Public License Version 2 or later (see\n<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html> for details), you must upgrade\nFFmpeg's license to GPL in order to use it.\n"
                },
                {
                    "name": "uavs3d",
                    "content": "FFmpeg can make use of the uavs3d library for AVS3-P2/IEEE1857.10 video decoding.\n\nGo to <https://github.com/uavs3/uavs3d> and follow the instructions for installing the\nlibrary. Then pass \"--enable-libuavs3d\" to configure to enable it.\n"
                },
                {
                    "name": "Game Music Emu",
                    "content": "FFmpeg can make use of the Game Music Emu library to read audio from supported video game\nmusic file formats. Pass \"--enable-libgme\" to configure to enable it. See\n<https://bitbucket.org/mpyne/game-music-emu/overview>.\n"
                },
                {
                    "name": "Intel QuickSync Video",
                    "content": "FFmpeg can use Intel QuickSync Video (QSV) for accelerated decoding and encoding of multiple\ncodecs. To use QSV, FFmpeg must be linked against the \"libmfx\" dispatcher, which loads the\nactual decoding libraries.\n\nThe dispatcher is open source and can be downloaded from\n<https://github.com/lu-zero/mfxdispatch.git>. FFmpeg needs to be configured with the\n\"--enable-libmfx\" option and \"pkg-config\" needs to be able to locate the dispatcher's \".pc\"\nfiles.\n"
                },
                {
                    "name": "Kvazaar",
                    "content": "FFmpeg can make use of the Kvazaar library for HEVC encoding.\n\nGo to <https://github.com/ultravideo/kvazaar> and follow the instructions for installing the\nlibrary. Then pass \"--enable-libkvazaar\" to configure to enable it.\n\nLAME\nFFmpeg can make use of the LAME library for MP3 encoding.\n\nGo to <http://lame.sourceforge.net/> and follow the instructions for installing the library.\nThen pass \"--enable-libmp3lame\" to configure to enable it.\n"
                },
                {
                    "name": "libilbc",
                    "content": "iLBC is a narrowband speech codec that has been made freely available by Google as part of\nthe WebRTC project. libilbc is a packaging friendly copy of the iLBC codec. FFmpeg can make\nuse of the libilbc library for iLBC decoding and encoding.\n\nGo to <https://github.com/TimothyGu/libilbc> and follow the instructions for installing the\nlibrary. Then pass \"--enable-libilbc\" to configure to enable it.\n"
                },
                {
                    "name": "libvpx",
                    "content": "FFmpeg can make use of the libvpx library for VP8/VP9 decoding and encoding.\n\nGo to <http://www.webmproject.org/> and follow the instructions for installing the library.\nThen pass \"--enable-libvpx\" to configure to enable it.\n"
                },
                {
                    "name": "ModPlug",
                    "content": "FFmpeg can make use of this library, originating in Modplug-XMMS, to read from MOD-like music\nfiles.  See <https://github.com/Konstanty/libmodplug>. Pass \"--enable-libmodplug\" to\nconfigure to enable it.\n"
                },
                {
                    "name": "OpenCORE, VisualOn, and Fraunhofer libraries",
                    "content": "Spun off Google Android sources, OpenCore, VisualOn and Fraunhofer libraries provide encoders\nfor a number of audio codecs.\n\nOpenCORE and VisualOn libraries are under the Apache License 2.0 (see\n<http://www.apache.org/licenses/LICENSE-2.0> for details), which is incompatible to the\nLGPL version 2.1 and GPL version 2. You have to upgrade FFmpeg's license to LGPL version\n3 (or if you have enabled GPL components, GPL version 3) by passing \"--enable-version3\"\nto configure in order to use it.\n\nThe license of the Fraunhofer AAC library is incompatible with the GPL.  Therefore, for\nGPL builds, you have to pass \"--enable-nonfree\" to configure in order to use it. To the\nbest of our knowledge, it is compatible with the LGPL.\n\nOpenCORE AMR\n\nFFmpeg can make use of the OpenCORE libraries for AMR-NB decoding/encoding and AMR-WB\ndecoding.\n\nGo to <http://sourceforge.net/projects/opencore-amr/> and follow the instructions for\ninstalling the libraries.  Then pass \"--enable-libopencore-amrnb\" and/or\n\"--enable-libopencore-amrwb\" to configure to enable them.\n\nVisualOn AMR-WB encoder library\n\nFFmpeg can make use of the VisualOn AMR-WBenc library for AMR-WB encoding.\n\nGo to <http://sourceforge.net/projects/opencore-amr/> and follow the instructions for\ninstalling the library.  Then pass \"--enable-libvo-amrwbenc\" to configure to enable it.\n\nFraunhofer AAC library\n\nFFmpeg can make use of the Fraunhofer AAC library for AAC decoding & encoding.\n\nGo to <http://sourceforge.net/projects/opencore-amr/> and follow the instructions for\ninstalling the library.  Then pass \"--enable-libfdk-aac\" to configure to enable it.\n"
                },
                {
                    "name": "OpenH264",
                    "content": "FFmpeg can make use of the OpenH264 library for H.264 decoding and encoding.\n\nGo to <http://www.openh264.org/> and follow the instructions for installing the library. Then\npass \"--enable-libopenh264\" to configure to enable it.\n\nFor decoding, this library is much more limited than the built-in decoder in libavcodec;\ncurrently, this library lacks support for decoding B-frames and some other main/high profile\nfeatures. (It currently only supports constrained baseline profile and CABAC.) Using it is\nmostly useful for testing and for taking advantage of Cisco's patent portfolio license\n(<http://www.openh264.org/BINARYLICENSE.txt>).\n"
                },
                {
                    "name": "OpenJPEG",
                    "content": "FFmpeg can use the OpenJPEG libraries for decoding/encoding J2K videos.  Go to\n<http://www.openjpeg.org/> to get the libraries and follow the installation instructions.  To\nenable using OpenJPEG in FFmpeg, pass \"--enable-libopenjpeg\" to ./configure.\n"
                },
                {
                    "name": "rav1e",
                    "content": "FFmpeg can make use of rav1e (Rust AV1 Encoder) via its C bindings to encode videos.  Go to\n<https://github.com/xiph/rav1e/> and follow the instructions to build the C library. To\nenable using rav1e in FFmpeg, pass \"--enable-librav1e\" to ./configure.\n\nSVT-AV1\nFFmpeg can make use of the Scalable Video Technology for AV1 library for AV1 encoding.\n\nGo to <https://github.com/OpenVisualCloud/SVT-AV1/> and follow the instructions for\ninstalling the library. Then pass \"--enable-libsvtav1\" to configure to enable it.\n"
                },
                {
                    "name": "TwoLAME",
                    "content": "FFmpeg can make use of the TwoLAME library for MP2 encoding.\n\nGo to <http://www.twolame.org/> and follow the instructions for installing the library.  Then\npass \"--enable-libtwolame\" to configure to enable it.\n"
                },
                {
                    "name": "VapourSynth",
                    "content": "FFmpeg can read VapourSynth scripts as input. To enable support, pass \"--enable-vapoursynth\"\nto configure. Vapoursynth is detected via \"pkg-config\". Versions 42 or greater supported.\nSee <http://www.vapoursynth.com/>.\n\nDue to security concerns, Vapoursynth scripts will not be autodetected so the input format\nhas to be forced. For ff* CLI tools, add \"-f vapoursynth\" before the input \"-i\nyourscript.vpy\".\n"
                },
                {
                    "name": "x264",
                    "content": "FFmpeg can make use of the x264 library for H.264 encoding.\n\nGo to <http://www.videolan.org/developers/x264.html> and follow the instructions for\ninstalling the library. Then pass \"--enable-libx264\" to configure to enable it.\n\nx264 is under the GNU Public License Version 2 or later (see\n<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html> for details), you must upgrade\nFFmpeg's license to GPL in order to use it.\n"
                },
                {
                    "name": "x265",
                    "content": "FFmpeg can make use of the x265 library for HEVC encoding.\n\nGo to <http://x265.org/developers.html> and follow the instructions for installing the\nlibrary. Then pass \"--enable-libx265\" to configure to enable it.\n\nx265 is under the GNU Public License Version 2 or later (see\n<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html> for details), you must upgrade\nFFmpeg's license to GPL in order to use it.\n"
                },
                {
                    "name": "xavs",
                    "content": "FFmpeg can make use of the xavs library for AVS encoding.\n\nGo to <http://xavs.sf.net/> and follow the instructions for installing the library. Then pass\n\"--enable-libxavs\" to configure to enable it.\n"
                },
                {
                    "name": "xavs2",
                    "content": "FFmpeg can make use of the xavs2 library for AVS2-P2/IEEE1857.4 video encoding.\n\nGo to <https://github.com/pkuvcl/xavs2> and follow the instructions for installing the\nlibrary. Then pass \"--enable-libxavs2\" to configure to enable it.\n\nlibxavs2 is under the GNU Public License Version 2 or later (see\n<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html> for details), you must upgrade\nFFmpeg's license to GPL in order to use it.\n\nZVBI\nZVBI is a VBI decoding library which can be used by FFmpeg to decode DVB teletext pages and\nDVB teletext subtitles.\n\nGo to <http://sourceforge.net/projects/zapping/> and follow the instructions for installing\nthe library. Then pass \"--enable-libzvbi\" to configure to enable it.\n"
                }
            ]
        },
        "SUPPORTED FILE FORMATS": {
            "content": "You can use the \"-formats\" and \"-codecs\" options to have an exhaustive list.\n",
            "subsections": [
                {
                    "name": "File Formats",
                    "content": "FFmpeg supports the following file formats through the \"libavformat\" library:\n"
                },
                {
                    "name": "Name  :  Encoding @tab Decoding @tab Comments",
                    "content": ""
                },
                {
                    "name": "3dostr                     :    @tab X",
                    "content": ""
                },
                {
                    "name": "4xm                        :    @tab X",
                    "content": "@tab 4X Technologies format, used in some games.\n"
                },
                {
                    "name": "8088flex TMV               :    @tab X",
                    "content": ""
                },
                {
                    "name": "AAX                        :    @tab X",
                    "content": "@tab Audible Enhanced Audio format, used in audiobooks.\n"
                },
                {
                    "name": "AA                         :    @tab X",
                    "content": "@tab Audible Format 2, 3, and 4, used in audiobooks.\n"
                },
                {
                    "name": "ACT Voice                  :    @tab X",
                    "content": "@tab contains G.729 audio\n"
                },
                {
                    "name": "Adobe Filmstrip            :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Audio IFF (AIFF)           :  X @tab X",
                    "content": ""
                },
                {
                    "name": "American Laser Games MM    :    @tab X",
                    "content": "@tab Multimedia format used in games like Mad Dog McCree.\n"
                },
                {
                    "name": "3GPP AMR                   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Amazing Studio Packed Animation File   :    @tab X",
                    "content": "@tab Multimedia format used in game Heart Of Darkness.\n"
                },
                {
                    "name": "Apple HTTP Live Streaming  :    @tab X",
                    "content": ""
                },
                {
                    "name": "Artworx Data Format        :    @tab X",
                    "content": ""
                },
                {
                    "name": "Interplay ACM              :    @tab X",
                    "content": "@tab Audio only format used in some Interplay games.\n"
                },
                {
                    "name": "ADP                        :    @tab X",
                    "content": "@tab Audio format used on the Nintendo Gamecube.\n"
                },
                {
                    "name": "AFC                        :    @tab X",
                    "content": "@tab Audio format used on the Nintendo Gamecube.\n"
                },
                {
                    "name": "ADS/SS2                    :    @tab X",
                    "content": "@tab Audio format used on the PS2.\n"
                },
                {
                    "name": "APNG                       :  X @tab X",
                    "content": ""
                },
                {
                    "name": "ASF                        :  X @tab X",
                    "content": "@tab Advanced / Active Streaming Format.\n"
                },
                {
                    "name": "AST                        :  X @tab X",
                    "content": "@tab Audio format used on the Nintendo Wii.\n"
                },
                {
                    "name": "AVI                        :  X @tab X",
                    "content": ""
                },
                {
                    "name": "AviSynth                   :    @tab X",
                    "content": ""
                },
                {
                    "name": "AVR                        :    @tab X",
                    "content": "@tab Audio format used on Mac.\n"
                },
                {
                    "name": "AVS                        :    @tab X",
                    "content": "@tab Multimedia format used by the Creature Shock game.\n"
                },
                {
                    "name": "Beam Software SIFF         :    @tab X",
                    "content": "@tab Audio and video format used in some games by Beam Software.\n"
                },
                {
                    "name": "Bethesda Softworks VID     :    @tab X",
                    "content": "@tab Used in some games from Bethesda Softworks.\n"
                },
                {
                    "name": "Binary text                :    @tab X",
                    "content": ""
                },
                {
                    "name": "Bink                       :    @tab X",
                    "content": "@tab Multimedia format used by many games.\n"
                },
                {
                    "name": "Bink Audio                 :    @tab X",
                    "content": "@tab Audio only multimedia format used by some games.\n"
                },
                {
                    "name": "Bitmap Brothers JV         :    @tab X",
                    "content": "@tab Used in Z and Z95 games.\n"
                },
                {
                    "name": "BRP                        :    @tab X",
                    "content": "@tab Argonaut Games format.\n"
                },
                {
                    "name": "Brute Force & Ignorance    :    @tab X",
                    "content": "@tab Used in the game Flash Traffic: City of Angels.\n"
                },
                {
                    "name": "BFSTM                      :    @tab X",
                    "content": "@tab Audio format used on the Nintendo WiiU (based on BRSTM).\n"
                },
                {
                    "name": "BRSTM                      :    @tab X",
                    "content": "@tab Audio format used on the Nintendo Wii.\n"
                },
                {
                    "name": "BW64                       :    @tab X",
                    "content": "@tab Broadcast Wave 64bit.\n"
                },
                {
                    "name": "BWF                        :  X @tab X",
                    "content": ""
                },
                {
                    "name": "codec2 (raw)               :  X @tab X",
                    "content": "@tab Must be given -mode format option to decode correctly.\n"
                },
                {
                    "name": "codec2 (.c2 files)         :  X @tab X",
                    "content": "@tab Contains header with version and mode info, simplifying playback.\n"
                },
                {
                    "name": "CRI ADX                    :  X @tab X",
                    "content": "@tab Audio-only format used in console video games.\n"
                },
                {
                    "name": "CRI AIX                    :    @tab X",
                    "content": ""
                },
                {
                    "name": "CRI HCA                    :    @tab X",
                    "content": "@tab Audio-only format used in console video games.\n"
                },
                {
                    "name": "Discworld II BMV           :    @tab X",
                    "content": ""
                },
                {
                    "name": "Interplay C93              :    @tab X",
                    "content": "@tab Used in the game Cyberia from Interplay.\n"
                },
                {
                    "name": "Delphine Software International CIN  :    @tab X",
                    "content": "@tab Multimedia format used by Delphine Software games.\n"
                },
                {
                    "name": "Digital Speech Standard (DSS)  :    @tab X",
                    "content": ""
                },
                {
                    "name": "CD+G                       :    @tab X",
                    "content": "@tab Video format used by CD+G karaoke disks\n"
                },
                {
                    "name": "Phantom Cine               :    @tab X",
                    "content": ""
                },
                {
                    "name": "Commodore CDXL             :    @tab X",
                    "content": "@tab Amiga CD video format\n"
                },
                {
                    "name": "Core Audio Format          :  X @tab X",
                    "content": "@tab Apple Core Audio Format\n"
                },
                {
                    "name": "CRC testing format         :  X @tab",
                    "content": ""
                },
                {
                    "name": "Creative Voice             :  X @tab X",
                    "content": "@tab Created for the Sound Blaster Pro.\n"
                },
                {
                    "name": "CRYO APC                   :    @tab X",
                    "content": "@tab Audio format used in some games by CRYO Interactive Entertainment.\n"
                },
                {
                    "name": "D-Cinema audio             :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Deluxe Paint Animation     :    @tab X",
                    "content": ""
                },
                {
                    "name": "DCSTR                      :    @tab X",
                    "content": ""
                },
                {
                    "name": "DFA                        :    @tab X",
                    "content": "@tab This format is used in Chronomaster game\n"
                },
                {
                    "name": "DirectDraw Surface         :    @tab X",
                    "content": ""
                },
                {
                    "name": "DSD Stream File (DSF)      :    @tab X",
                    "content": ""
                },
                {
                    "name": "DV video                   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "DXA                        :    @tab X",
                    "content": "@tab This format is used in the non-Windows version of the Feeble Files\ngame and different game cutscenes repacked for use with ScummVM.\n"
                },
                {
                    "name": "Electronic Arts cdata   :     @tab X",
                    "content": ""
                },
                {
                    "name": "Electronic Arts Multimedia   :     @tab X",
                    "content": "@tab Used in various EA games; files have extensions like WVE and UV2.\n"
                },
                {
                    "name": "Ensoniq Paris Audio File   :    @tab X",
                    "content": ""
                },
                {
                    "name": "FFM (FFserver live feed)   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Flash (SWF)                :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Flash 9 (AVM2)             :  X @tab X",
                    "content": "@tab Only embedded audio is decoded.\n"
                },
                {
                    "name": "FLI/FLC/FLX animation      :    @tab X",
                    "content": "@tab .fli/.flc files\n"
                },
                {
                    "name": "Flash Video (FLV)          :  X @tab X",
                    "content": "@tab Macromedia Flash video files\n"
                },
                {
                    "name": "framecrc testing format    :  X @tab",
                    "content": ""
                },
                {
                    "name": "FunCom ISS                 :    @tab X",
                    "content": "@tab Audio format used in various games from FunCom like The Longest Journey.\n"
                },
                {
                    "name": "G.723.1                    :  X @tab X",
                    "content": ""
                },
                {
                    "name": "G.726                      :    @tab X @tab Both left- and right-justified.",
                    "content": ""
                },
                {
                    "name": "G.729 BIT                  :  X @tab X",
                    "content": ""
                },
                {
                    "name": "G.729 raw                  :    @tab X",
                    "content": ""
                },
                {
                    "name": "GENH                       :    @tab X",
                    "content": "@tab Audio format for various games.\n"
                },
                {
                    "name": "GIF Animation              :  X @tab X",
                    "content": ""
                },
                {
                    "name": "GXF                        :  X @tab X",
                    "content": "@tab General eXchange Format SMPTE 360M, used by Thomson Grass Valley\nplayout servers.\n"
                },
                {
                    "name": "HNM  :    @tab X",
                    "content": "@tab Only version 4 supported, used in some games from Cryo Interactive\n"
                },
                {
                    "name": "iCEDraw File               :    @tab X",
                    "content": ""
                },
                {
                    "name": "ICO                        :  X @tab X",
                    "content": "@tab Microsoft Windows ICO\n"
                },
                {
                    "name": "id Quake II CIN video      :    @tab X",
                    "content": ""
                },
                {
                    "name": "id RoQ                     :  X @tab X",
                    "content": "@tab Used in Quake III, Jedi Knight 2 and other computer games.\n"
                },
                {
                    "name": "IEC61937 encapsulation  :  X @tab X",
                    "content": ""
                },
                {
                    "name": "IFF                        :    @tab X",
                    "content": "@tab Interchange File Format\n"
                },
                {
                    "name": "IFV                        :    @tab X",
                    "content": "@tab A format used by some old CCTV DVRs.\n"
                },
                {
                    "name": "iLBC                       :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Interplay MVE              :    @tab X",
                    "content": "@tab Format used in various Interplay computer games.\n"
                },
                {
                    "name": "Iterated Systems ClearVideo  :      @tab  X",
                    "content": "@tab I-frames only\n"
                },
                {
                    "name": "IV8                        :    @tab X",
                    "content": "@tab A format generated by IndigoVision 8000 video server.\n"
                },
                {
                    "name": "IVF (On2)                  :  X @tab X",
                    "content": "@tab A format used by libvpx\n"
                },
                {
                    "name": "Internet Video Recording   :    @tab X",
                    "content": ""
                },
                {
                    "name": "IRCAM                      :  X @tab X",
                    "content": ""
                },
                {
                    "name": "LATM                       :  X @tab X",
                    "content": ""
                },
                {
                    "name": "LMLM4                      :    @tab X",
                    "content": "@tab Used by Linux Media Labs MPEG-4 PCI boards\n"
                },
                {
                    "name": "LOAS                       :    @tab X",
                    "content": "@tab contains LATM multiplexed AAC audio\n"
                },
                {
                    "name": "LRC                        :  X @tab X",
                    "content": ""
                },
                {
                    "name": "LVF                        :    @tab X",
                    "content": ""
                },
                {
                    "name": "LXF                        :    @tab X",
                    "content": "@tab VR native stream format, used by Leitch/Harris' video servers.\n"
                },
                {
                    "name": "Magic Lantern Video (MLV)  :    @tab X",
                    "content": ""
                },
                {
                    "name": "Matroska                   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Matroska audio             :  X @tab",
                    "content": ""
                },
                {
                    "name": "FFmpeg metadata            :  X @tab X",
                    "content": "@tab Metadata in text format.\n"
                },
                {
                    "name": "MAXIS XA                   :    @tab X",
                    "content": "@tab Used in Sim City 3000; file extension .xa.\n"
                },
                {
                    "name": "MCA                        :    @tab X",
                    "content": "@tab Used in some games from Capcom; file extension .mca.\n"
                },
                {
                    "name": "MD Studio                  :    @tab X",
                    "content": ""
                },
                {
                    "name": "Metal Gear Solid: The Twin Snakes  :  @tab X",
                    "content": ""
                },
                {
                    "name": "Megalux Frame              :    @tab X",
                    "content": "@tab Used by Megalux Ultimate Paint\n"
                },
                {
                    "name": "Mobotix .mxg               :    @tab X",
                    "content": ""
                },
                {
                    "name": "Monkey's Audio             :    @tab X",
                    "content": ""
                },
                {
                    "name": "Motion Pixels MVI          :    @tab X",
                    "content": ""
                },
                {
                    "name": "MOV/QuickTime/MP4          :  X @tab X",
                    "content": "@tab 3GP, 3GP2, PSP, iPod variants supported\n"
                },
                {
                    "name": "MP2                        :  X @tab X",
                    "content": ""
                },
                {
                    "name": "MP3                        :  X @tab X",
                    "content": ""
                },
                {
                    "name": "MPEG-1 System              :  X @tab X",
                    "content": "@tab muxed audio and video, VCD format supported\n"
                },
                {
                    "name": "MPEG-PS (program stream)   :  X @tab X",
                    "content": "@tab also known as C<VOB> file, SVCD and DVD format supported\n"
                },
                {
                    "name": "MPEG-TS (transport stream)  :  X @tab X",
                    "content": "@tab also known as DVB Transport Stream\n"
                },
                {
                    "name": "MPEG-4                     :  X @tab X",
                    "content": "@tab MPEG-4 is a variant of QuickTime.\n"
                },
                {
                    "name": "MSF                        :    @tab X",
                    "content": "@tab Audio format used on the PS3.\n"
                },
                {
                    "name": "Mirillis FIC video         :    @tab X",
                    "content": "@tab No cursor rendering.\n"
                },
                {
                    "name": "MIDI Sample Dump Standard  :    @tab X",
                    "content": ""
                },
                {
                    "name": "MIME multipart JPEG        :  X @tab",
                    "content": ""
                },
                {
                    "name": "MSN TCP webcam             :    @tab X",
                    "content": "@tab Used by MSN Messenger webcam streams.\n"
                },
                {
                    "name": "MTV                        :    @tab X",
                    "content": ""
                },
                {
                    "name": "Musepack                   :    @tab X",
                    "content": ""
                },
                {
                    "name": "Musepack SV8               :    @tab X",
                    "content": ""
                },
                {
                    "name": "Material eXchange Format (MXF)  :  X @tab X",
                    "content": "@tab SMPTE 377M, used by D-Cinema, broadcast industry.\n"
                },
                {
                    "name": "Material eXchange Format (MXF), D-10 Mapping  :  X @tab X",
                    "content": "@tab SMPTE 386M, D-10/IMX Mapping.\n"
                },
                {
                    "name": "NC camera feed             :    @tab X",
                    "content": "@tab NC (AVIP NC4600) camera streams\n"
                },
                {
                    "name": "NIST SPeech HEader REsources  :    @tab X",
                    "content": ""
                },
                {
                    "name": "Computerized Speech Lab NSP  :    @tab X",
                    "content": ""
                },
                {
                    "name": "NTT TwinVQ (VQF)           :    @tab X",
                    "content": "@tab Nippon Telegraph and Telephone Corporation TwinVQ.\n"
                },
                {
                    "name": "Nullsoft Streaming Video   :    @tab X",
                    "content": ""
                },
                {
                    "name": "NuppelVideo                :    @tab X",
                    "content": ""
                },
                {
                    "name": "NUT                        :  X @tab X",
                    "content": "@tab NUT Open Container Format\n"
                },
                {
                    "name": "Ogg                        :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Playstation Portable PMP   :    @tab X",
                    "content": ""
                },
                {
                    "name": "Portable Voice Format      :    @tab X",
                    "content": ""
                },
                {
                    "name": "TechnoTrend PVA            :    @tab X",
                    "content": "@tab Used by TechnoTrend DVB PCI boards.\n"
                },
                {
                    "name": "QCP                        :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw ADTS (AAC)             :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw AC-3                   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw AMR-NB                 :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw AMR-WB                 :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw aptX                   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw aptX HD                :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw Chinese AVS video      :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw Dirac                  :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw DNxHD                  :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw DTS                    :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw DTS-HD                 :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw E-AC-3                 :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw FLAC                   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw GSM                    :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw H.261                  :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw H.263                  :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw H.264                  :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw HEVC                   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw Ingenient MJPEG        :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw MJPEG                  :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw MLP                    :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw MPEG                   :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw MPEG-1                 :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw MPEG-2                 :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw MPEG-4                 :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw NULL                   :  X @tab",
                    "content": ""
                },
                {
                    "name": "raw video                  :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw id RoQ                 :  X @tab",
                    "content": ""
                },
                {
                    "name": "raw SBC                    :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw Shorten                :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw TAK                    :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw TrueHD                 :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw VC-1                   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM A-law              :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM mu-law             :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM Archimedes VIDC    :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM signed 8 bit       :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM signed 16 bit big-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM signed 16 bit little-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM signed 24 bit big-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM signed 24 bit little-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM signed 32 bit big-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM signed 32 bit little-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM signed 64 bit big-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM signed 64 bit little-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM unsigned 8 bit     :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM unsigned 16 bit big-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM unsigned 16 bit little-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM unsigned 24 bit big-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM unsigned 24 bit little-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM unsigned 32 bit big-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM unsigned 32 bit little-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM 16.8 floating point little-endian  :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM 24.0 floating point little-endian  :    @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM floating-point 32 bit big-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM floating-point 32 bit little-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM floating-point 64 bit big-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "raw PCM floating-point 64 bit little-endian   :  X @tab X",
                    "content": ""
                },
                {
                    "name": "RDT                        :    @tab X",
                    "content": ""
                },
                {
                    "name": "REDCODE R3D                :    @tab X",
                    "content": "@tab File format used by RED Digital cameras, contains JPEG 2000 frames and PCM audio.\n"
                },
                {
                    "name": "RealMedia                  :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Redirector                 :    @tab X",
                    "content": ""
                },
                {
                    "name": "RedSpark                   :    @tab X",
                    "content": ""
                },
                {
                    "name": "Renderware TeXture Dictionary  :    @tab X",
                    "content": ""
                },
                {
                    "name": "Resolume DXV               :    @tab X",
                    "content": ""
                },
                {
                    "name": "RF64                       :    @tab X",
                    "content": ""
                },
                {
                    "name": "RL2                        :    @tab X",
                    "content": "@tab Audio and video format used in some games by Entertainment Software Partners.\n"
                },
                {
                    "name": "RPL/ARMovie                :    @tab X",
                    "content": ""
                },
                {
                    "name": "Lego Mindstorms RSO        :  X @tab X",
                    "content": ""
                },
                {
                    "name": "RSD                        :    @tab X",
                    "content": ""
                },
                {
                    "name": "RTMP                       :  X @tab X",
                    "content": "@tab Output is performed by publishing stream to RTMP server\n"
                },
                {
                    "name": "RTP                        :  X @tab X",
                    "content": ""
                },
                {
                    "name": "RTSP                       :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Sample Dump eXchange       :    @tab X",
                    "content": ""
                },
                {
                    "name": "SAP                        :  X @tab X",
                    "content": ""
                },
                {
                    "name": "SBG                        :    @tab X",
                    "content": ""
                },
                {
                    "name": "SDP                        :    @tab X",
                    "content": ""
                },
                {
                    "name": "SER                        :    @tab X",
                    "content": ""
                },
                {
                    "name": "Sega FILM/CPK              :  X @tab X",
                    "content": "@tab Used in many Sega Saturn console games.\n"
                },
                {
                    "name": "Silicon Graphics Movie     :    @tab X",
                    "content": ""
                },
                {
                    "name": "Sierra SOL                 :    @tab X",
                    "content": "@tab .sol files used in Sierra Online games.\n"
                },
                {
                    "name": "Sierra VMD                 :    @tab X",
                    "content": "@tab Used in Sierra CD-ROM games.\n"
                },
                {
                    "name": "Smacker                    :    @tab X",
                    "content": "@tab Multimedia format used by many games.\n"
                },
                {
                    "name": "SMJPEG                     :  X @tab X",
                    "content": "@tab Used in certain Loki game ports.\n"
                },
                {
                    "name": "SMPTE 337M encapsulation   :    @tab X",
                    "content": ""
                },
                {
                    "name": "Smush                      :    @tab X",
                    "content": "@tab Multimedia format used in some LucasArts games.\n"
                },
                {
                    "name": "Sony OpenMG (OMA)          :  X @tab X",
                    "content": "@tab Audio format used in Sony Sonic Stage and Sony Vegas.\n"
                },
                {
                    "name": "Sony PlayStation STR       :    @tab X",
                    "content": ""
                },
                {
                    "name": "Sony Wave64 (W64)          :  X @tab X",
                    "content": ""
                },
                {
                    "name": "SoX native format          :  X @tab X",
                    "content": ""
                },
                {
                    "name": "SUN AU format              :  X @tab X",
                    "content": ""
                },
                {
                    "name": "SUP raw PGS subtitles      :  X @tab X",
                    "content": ""
                },
                {
                    "name": "SVAG                       :    @tab X",
                    "content": "@tab Audio format used in Konami PS2 games.\n"
                },
                {
                    "name": "TDSC                       :    @tab X",
                    "content": ""
                },
                {
                    "name": "Text files                 :    @tab X",
                    "content": ""
                },
                {
                    "name": "THP                        :    @tab X",
                    "content": "@tab Used on the Nintendo GameCube.\n"
                },
                {
                    "name": "Tiertex Limited SEQ        :    @tab X",
                    "content": "@tab Tiertex .seq files used in the DOS CD-ROM version of the game Flashback.\n"
                },
                {
                    "name": "True Audio                 :  X @tab X",
                    "content": ""
                },
                {
                    "name": "VAG                        :    @tab X",
                    "content": "@tab Audio format used in many Sony PS2 games.\n"
                },
                {
                    "name": "VC-1 test bitstream        :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Vidvox Hap                 :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Vivo                       :    @tab X",
                    "content": ""
                },
                {
                    "name": "VPK                        :    @tab X",
                    "content": "@tab Audio format used in Sony PS games.\n"
                },
                {
                    "name": "WAV                        :  X @tab X",
                    "content": ""
                },
                {
                    "name": "WavPack                    :  X @tab X",
                    "content": ""
                },
                {
                    "name": "WebM                       :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Windows Televison (WTV)    :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Wing Commander III movie   :    @tab X",
                    "content": "@tab Multimedia format used in Origin's Wing Commander III computer game.\n"
                },
                {
                    "name": "Westwood Studios audio     :    @tab X",
                    "content": "@tab Multimedia format used in Westwood Studios games.\n"
                },
                {
                    "name": "Westwood Studios VQA       :    @tab X",
                    "content": "@tab Multimedia format used in Westwood Studios games.\n"
                },
                {
                    "name": "Wideband Single-bit Data (WSD)  :    @tab X",
                    "content": ""
                },
                {
                    "name": "WVE                        :    @tab X",
                    "content": ""
                },
                {
                    "name": "XMV                        :    @tab X",
                    "content": "@tab Microsoft video container used in Xbox games.\n"
                },
                {
                    "name": "XVAG                       :    @tab X",
                    "content": "@tab Audio format used on the PS3.\n"
                },
                {
                    "name": "xWMA                       :    @tab X",
                    "content": "@tab Microsoft audio container used by XAudio 2.\n"
                },
                {
                    "name": "eXtended BINary text (XBIN)  :  @tab X",
                    "content": ""
                },
                {
                    "name": "YUV4MPEG pipe              :  X @tab X",
                    "content": ""
                },
                {
                    "name": "Psygnosis YOP              :    @tab X",
                    "content": "\"X\" means that the feature in that column (encoding / decoding) is supported.\n"
                },
                {
                    "name": "Image Formats",
                    "content": "FFmpeg can read and write images for each frame of a video sequence. The following image\nformats are supported:\n"
                },
                {
                    "name": "Name  :  Encoding @tab Decoding @tab Comments",
                    "content": ""
                },
                {
                    "name": ".Y.U.V        :  X @tab X",
                    "content": "@tab one raw file per component\n"
                },
                {
                    "name": "Alias PIX     :  X @tab X",
                    "content": "@tab Alias/Wavefront PIX image format\n"
                },
                {
                    "name": "animated GIF  :  X @tab X",
                    "content": ""
                },
                {
                    "name": "APNG          :  X @tab X",
                    "content": "@tab Animated Portable Network Graphics\n"
                },
                {
                    "name": "BMP           :  X @tab X",
                    "content": "@tab Microsoft BMP image\n"
                },
                {
                    "name": "BRender PIX   :    @tab X",
                    "content": "@tab Argonaut BRender 3D engine image format.\n"
                },
                {
                    "name": "CRI           :    @tab X",
                    "content": "@tab Cintel RAW\n"
                },
                {
                    "name": "DPX           :  X @tab X",
                    "content": "@tab Digital Picture Exchange\n"
                },
                {
                    "name": "EXR           :    @tab X",
                    "content": "@tab OpenEXR\n"
                },
                {
                    "name": "FITS          :  X @tab X",
                    "content": "@tab Flexible Image Transport System\n"
                },
                {
                    "name": "JPEG          :  X @tab X",
                    "content": "@tab Progressive JPEG is not supported.\n"
                },
                {
                    "name": "JPEG 2000     :  X @tab X",
                    "content": ""
                },
                {
                    "name": "JPEG-LS       :  X @tab X",
                    "content": ""
                },
                {
                    "name": "LJPEG         :  X @tab",
                    "content": "@tab Lossless JPEG\n"
                },
                {
                    "name": "MSP           :    @tab X",
                    "content": "@tab Microsoft Paint image\n"
                },
                {
                    "name": "PAM           :  X @tab X",
                    "content": "@tab PAM is a PNM extension with alpha support.\n"
                },
                {
                    "name": "PBM           :  X @tab X",
                    "content": "@tab Portable BitMap image\n"
                },
                {
                    "name": "PCD           :    @tab X",
                    "content": "@tab PhotoCD\n"
                },
                {
                    "name": "PCX           :  X @tab X",
                    "content": "@tab PC Paintbrush\n"
                },
                {
                    "name": "PFM           :  X @tab X",
                    "content": "@tab Portable FloatMap image\n"
                },
                {
                    "name": "PGM           :  X @tab X",
                    "content": "@tab Portable GrayMap image\n"
                },
                {
                    "name": "PGMYUV        :  X @tab X",
                    "content": "@tab PGM with U and V components in YUV 4:2:0\n"
                },
                {
                    "name": "PGX           :    @tab X",
                    "content": "@tab PGX file decoder\n"
                },
                {
                    "name": "PIC           :  @tab X",
                    "content": "@tab Pictor/PC Paint\n"
                },
                {
                    "name": "PNG           :  X @tab X",
                    "content": "@tab Portable Network Graphics image\n"
                },
                {
                    "name": "PPM           :  X @tab X",
                    "content": "@tab Portable PixelMap image\n"
                },
                {
                    "name": "PSD           :    @tab X",
                    "content": "@tab Photoshop\n"
                },
                {
                    "name": "PTX           :    @tab X",
                    "content": "@tab V.Flash PTX format\n"
                },
                {
                    "name": "SGI           :  X @tab X",
                    "content": "@tab SGI RGB image format\n"
                },
                {
                    "name": "Sun Rasterfile   :  X @tab X",
                    "content": "@tab Sun RAS image format\n"
                },
                {
                    "name": "TIFF          :  X @tab X",
                    "content": "@tab YUV, JPEG and some extension is not supported yet.\n"
                },
                {
                    "name": "Truevision Targa   :  X @tab X",
                    "content": "@tab Targa (.TGA) image format\n"
                },
                {
                    "name": "WebP          :  E @tab X",
                    "content": "@tab WebP image format, encoding supported through external library libwebp\n"
                },
                {
                    "name": "XBM   :  X @tab X",
                    "content": "@tab X BitMap image format\n"
                },
                {
                    "name": "XFace  :  X @tab X",
                    "content": "@tab X-Face image format\n"
                },
                {
                    "name": "XPM   :    @tab X",
                    "content": "@tab X PixMap image format\n"
                },
                {
                    "name": "XWD   :  X @tab X",
                    "content": "@tab X Window Dump image format\n\n\"X\" means that the feature in that column (encoding / decoding) is supported.\n\n\"E\" means that support is provided through an external library.\n"
                },
                {
                    "name": "Video Codecs",
                    "content": ""
                },
                {
                    "name": "Name  :  Encoding @tab Decoding @tab Comments",
                    "content": ""
                },
                {
                    "name": "4X Movie                :      @tab  X",
                    "content": "@tab Used in certain computer games.\n"
                },
                {
                    "name": "8088flex TMV            :      @tab  X",
                    "content": ""
                },
                {
                    "name": "A64 multicolor          :   X  @tab",
                    "content": "@tab Creates video suitable to be played on a commodore 64 (multicolor mode).\n"
                },
                {
                    "name": "Amazing Studio PAF Video  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "American Laser Games MM   :     @tab X",
                    "content": "@tab Used in games like Mad Dog McCree.\n"
                },
                {
                    "name": "Amuse Graphics Movie    :      @tab  X",
                    "content": ""
                },
                {
                    "name": "AMV Video               :   X  @tab  X",
                    "content": "@tab Used in Chinese MP3 players.\n"
                },
                {
                    "name": "ANSI/ASCII art          :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Apple Intermediate Codec  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Apple MJPEG-B           :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Apple Pixlet            :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Apple ProRes            :   X  @tab  X",
                    "content": "@tab fourcc: apch,apcn,apcs,apco,ap4h,ap4x\n"
                },
                {
                    "name": "Apple QuickDraw         :      @tab  X",
                    "content": "@tab fourcc: qdrw\n"
                },
                {
                    "name": "Argonaut Video          :      @tab  X",
                    "content": "@tab Used in some Argonaut games.\n"
                },
                {
                    "name": "Asus v1                 :   X  @tab  X",
                    "content": "@tab fourcc: ASV1\n"
                },
                {
                    "name": "Asus v2                 :   X  @tab  X",
                    "content": "@tab fourcc: ASV2\n"
                },
                {
                    "name": "ATI VCR1                :      @tab  X",
                    "content": "@tab fourcc: VCR1\n"
                },
                {
                    "name": "ATI VCR2                :      @tab  X",
                    "content": "@tab fourcc: VCR2\n"
                },
                {
                    "name": "Auravision Aura         :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Auravision Aura 2       :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Autodesk Animator Flic video   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Autodesk RLE            :      @tab  X",
                    "content": "@tab fourcc: AASC\n"
                },
                {
                    "name": "AV1                     :   E  @tab  E",
                    "content": "@tab Supported through external libraries libaom, libdav1d, librav1e and libsvtav1\n"
                },
                {
                    "name": "Avid 1:1 10-bit RGB Packer   :   X  @tab  X",
                    "content": "@tab fourcc: AVrp\n"
                },
                {
                    "name": "AVS (Audio Video Standard) video   :      @tab  X",
                    "content": "@tab Video encoding used by the Creature Shock game.\n"
                },
                {
                    "name": "AVS2-P2/IEEE1857.4      :   E  @tab  E",
                    "content": "@tab Supported through external libraries libxavs2 and libdavs2\n"
                },
                {
                    "name": "AVS3-P2/IEEE1857.10     :      @tab  E",
                    "content": "@tab Supported through external library libuavs3d\n"
                },
                {
                    "name": "AYUV                    :   X  @tab  X",
                    "content": "@tab Microsoft uncompressed packed 4:4:4:4\n"
                },
                {
                    "name": "Beam Software VB        :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Bethesda VID video      :      @tab  X",
                    "content": "@tab Used in some games from Bethesda Softworks.\n"
                },
                {
                    "name": "Bink Video              :      @tab  X",
                    "content": ""
                },
                {
                    "name": "BitJazz SheerVideo      :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Bitmap Brothers JV video   :    @tab X",
                    "content": ""
                },
                {
                    "name": "y41p Brooktree uncompressed 4:1:1 12-bit      :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Brooktree ProSumer Video   :      @tab  X",
                    "content": "@tab fourcc: BT20\n"
                },
                {
                    "name": "Brute Force & Ignorance    :    @tab X",
                    "content": "@tab Used in the game Flash Traffic: City of Angels.\n"
                },
                {
                    "name": "C93 video               :      @tab  X",
                    "content": "@tab Codec used in Cyberia game.\n"
                },
                {
                    "name": "CamStudio               :      @tab  X",
                    "content": "@tab fourcc: CSCD\n"
                },
                {
                    "name": "CD+G                    :      @tab  X",
                    "content": "@tab Video codec for CD+G karaoke disks\n"
                },
                {
                    "name": "CDXL                    :      @tab  X",
                    "content": "@tab Amiga CD video codec\n"
                },
                {
                    "name": "Chinese AVS video       :   E  @tab  X",
                    "content": "@tab AVS1-P2, JiZhun profile, encoding through external library libxavs\n"
                },
                {
                    "name": "Delphine Software International CIN video   :      @tab  X",
                    "content": "@tab Codec used in Delphine Software International games.\n"
                },
                {
                    "name": "Discworld II BMV Video  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "CineForm HD             :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Canopus HQ              :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Canopus HQA             :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Canopus HQX             :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Canopus Lossless Codec  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "CDToons                 :      @tab  X",
                    "content": "@tab Codec used in various Broderbund games.\n"
                },
                {
                    "name": "Cinepak                 :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Cirrus Logic AccuPak    :   X  @tab  X",
                    "content": "@tab fourcc: CLJR\n"
                },
                {
                    "name": "CPiA Video Format       :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Creative YUV (CYUV)     :      @tab  X",
                    "content": ""
                },
                {
                    "name": "DFA                     :      @tab  X",
                    "content": "@tab Codec used in Chronomaster game.\n"
                },
                {
                    "name": "Dirac                   :   E  @tab  X",
                    "content": "@tab supported though the native vc2 (Dirac Pro) encoder\n"
                },
                {
                    "name": "Deluxe Paint Animation  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "DNxHD                   :    X @tab  X",
                    "content": "@tab aka SMPTE VC3\n"
                },
                {
                    "name": "Duck TrueMotion 1.0    :      @tab  X",
                    "content": "@tab fourcc: DUCK\n"
                },
                {
                    "name": "Duck TrueMotion 2.0     :      @tab  X",
                    "content": "@tab fourcc: TM20\n"
                },
                {
                    "name": "Duck TrueMotion 2.0 RT  :      @tab  X",
                    "content": "@tab fourcc: TR20\n"
                },
                {
                    "name": "DV (Digital Video)      :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Dxtory capture format   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Feeble Files/ScummVM DXA   :      @tab  X",
                    "content": "@tab Codec originally used in Feeble Files game.\n"
                },
                {
                    "name": "Electronic Arts CMV video   :      @tab  X",
                    "content": "@tab Used in NHL 95 game.\n"
                },
                {
                    "name": "Electronic Arts Madcow video   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Electronic Arts TGV video   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Electronic Arts TGQ video   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Electronic Arts TQI video   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Escape 124              :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Escape 130              :      @tab  X",
                    "content": ""
                },
                {
                    "name": "FFmpeg video codec #1   :   X  @tab  X",
                    "content": "@tab lossless codec (fourcc: FFV1)\n"
                },
                {
                    "name": "Flash Screen Video v1   :   X  @tab  X",
                    "content": "@tab fourcc: FSV1\n"
                },
                {
                    "name": "Flash Screen Video v2   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Flash Video (FLV)       :   X  @tab  X",
                    "content": "@tab Sorenson H.263 used in Flash\n"
                },
                {
                    "name": "FM Screen Capture Codec   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Forward Uncompressed    :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Fraps                   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Go2Meeting              :      @tab  X",
                    "content": "@tab fourcc: G2M2, G2M3\n"
                },
                {
                    "name": "Go2Webinar              :      @tab  X",
                    "content": "@tab fourcc: G2M4\n"
                },
                {
                    "name": "Gremlin Digital Video   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "H.261                   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "H.263 / H.263-1996      :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "H.263+ / H.263-1998 / H.263 version 2   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10   :   E  @tab  X",
                    "content": "@tab encoding supported through external library libx264 and OpenH264\n"
                },
                {
                    "name": "HEVC                    :   X  @tab  X",
                    "content": "@tab encoding supported through external library libx265 and libkvazaar\n"
                },
                {
                    "name": "HNM version 4           :      @tab  X",
                    "content": ""
                },
                {
                    "name": "HuffYUV                 :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "HuffYUV FFmpeg variant  :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "IBM Ultimotion          :      @tab  X",
                    "content": "@tab fourcc: ULTI\n"
                },
                {
                    "name": "id Cinematic video      :      @tab  X",
                    "content": "@tab Used in Quake II.\n"
                },
                {
                    "name": "id RoQ video            :   X  @tab  X",
                    "content": "@tab Used in Quake III, Jedi Knight 2, other computer games.\n"
                },
                {
                    "name": "IFF ILBM                :      @tab  X",
                    "content": "@tab IFF interleaved bitmap\n"
                },
                {
                    "name": "IFF ByteRun1            :      @tab  X",
                    "content": "@tab IFF run length encoded bitmap\n"
                },
                {
                    "name": "Infinity IMM4           :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Intel H.263             :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Intel Indeo 2           :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Intel Indeo 3           :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Intel Indeo 4           :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Intel Indeo 5           :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Interplay C93           :      @tab  X",
                    "content": "@tab Used in the game Cyberia from Interplay.\n"
                },
                {
                    "name": "Interplay MVE video     :      @tab  X",
                    "content": "@tab Used in Interplay .MVE files.\n"
                },
                {
                    "name": "J2K  :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Karl Morton's video codec   :      @tab  X",
                    "content": "@tab Codec used in Worms games.\n"
                },
                {
                    "name": "Kega Game Video (KGV1)  :       @tab  X",
                    "content": "@tab Kega emulator screen capture codec.\n"
                },
                {
                    "name": "Lagarith                :      @tab  X",
                    "content": ""
                },
                {
                    "name": "LCL (LossLess Codec Library) MSZH   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "LCL (LossLess Codec Library) ZLIB   :   E  @tab  E",
                    "content": ""
                },
                {
                    "name": "LOCO                    :      @tab  X",
                    "content": ""
                },
                {
                    "name": "LucasArts SANM/Smush    :      @tab  X",
                    "content": "@tab Used in LucasArts games / SMUSH animations.\n"
                },
                {
                    "name": "lossless MJPEG          :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "MagicYUV Video          :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Mandsoft Screen Capture Codec   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Microsoft ATC Screen    :      @tab  X",
                    "content": "@tab Also known as Microsoft Screen 3.\n"
                },
                {
                    "name": "Microsoft Expression Encoder Screen   :      @tab  X",
                    "content": "@tab Also known as Microsoft Titanium Screen 2.\n"
                },
                {
                    "name": "Microsoft RLE           :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Microsoft Screen 1      :      @tab  X",
                    "content": "@tab Also known as Windows Media Video V7 Screen.\n"
                },
                {
                    "name": "Microsoft Screen 2      :      @tab  X",
                    "content": "@tab Also known as Windows Media Video V9 Screen.\n"
                },
                {
                    "name": "Microsoft Video 1       :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Mimic                   :      @tab  X",
                    "content": "@tab Used in MSN Messenger Webcam streams.\n"
                },
                {
                    "name": "Miro VideoXL            :      @tab  X",
                    "content": "@tab fourcc: VIXL\n"
                },
                {
                    "name": "MJPEG (Motion JPEG)     :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Mobotix MxPEG video     :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Motion Pixels video     :      @tab  X",
                    "content": ""
                },
                {
                    "name": "MPEG-1 video            :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "MPEG-2 video            :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "MPEG-4 part 2           :   X  @tab  X",
                    "content": "@tab libxvidcore can be used alternatively for encoding.\n"
                },
                {
                    "name": "MPEG-4 part 2 Microsoft variant version 1   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "MPEG-4 part 2 Microsoft variant version 2   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "MPEG-4 part 2 Microsoft variant version 3   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Newtek SpeedHQ                :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Nintendo Gamecube THP video   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "NotchLC                 :      @tab  X",
                    "content": ""
                },
                {
                    "name": "NuppelVideo/RTjpeg      :      @tab  X",
                    "content": "@tab Video encoding used in NuppelVideo files.\n"
                },
                {
                    "name": "On2 VP3                 :      @tab  X",
                    "content": "@tab still experimental\n"
                },
                {
                    "name": "On2 VP4                 :      @tab  X",
                    "content": "@tab fourcc: VP40\n"
                },
                {
                    "name": "On2 VP5                 :      @tab  X",
                    "content": "@tab fourcc: VP50\n"
                },
                {
                    "name": "On2 VP6                 :      @tab  X",
                    "content": "@tab fourcc: VP60,VP61,VP62\n"
                },
                {
                    "name": "On2 VP7                 :      @tab  X",
                    "content": "@tab fourcc: VP70,VP71\n"
                },
                {
                    "name": "VP8                     :   E  @tab  X",
                    "content": "@tab fourcc: VP80, encoding supported through external library libvpx\n"
                },
                {
                    "name": "VP9                     :   E  @tab  X",
                    "content": "@tab encoding supported through external library libvpx\n"
                },
                {
                    "name": "Pinnacle TARGA CineWave YUV16  :      @tab  X",
                    "content": "@tab fourcc: Y216\n"
                },
                {
                    "name": "Q-team QPEG             :      @tab  X",
                    "content": "@tab fourccs: QPEG, Q1.0, Q1.1\n"
                },
                {
                    "name": "QuickTime 8BPS video    :      @tab  X",
                    "content": ""
                },
                {
                    "name": "QuickTime Animation (RLE) video   :   X  @tab  X",
                    "content": "@tab fourcc: 'rle '\n"
                },
                {
                    "name": "QuickTime Graphics (SMC)   :      @tab  X",
                    "content": "@tab fourcc: 'smc '\n"
                },
                {
                    "name": "QuickTime video (RPZA)  :   X  @tab  X",
                    "content": "@tab fourcc: rpza\n"
                },
                {
                    "name": "R10K AJA Kona 10-bit RGB Codec      :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "R210 Quicktime Uncompressed RGB 10-bit      :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Raw Video               :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "RealVideo 1.0           :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "RealVideo 2.0           :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "RealVideo 3.0           :      @tab  X",
                    "content": "@tab still far from ideal\n"
                },
                {
                    "name": "RealVideo 4.0           :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Renderware TXD (TeXture Dictionary)   :      @tab  X",
                    "content": "@tab Texture dictionaries used by the Renderware Engine.\n"
                },
                {
                    "name": "RL2 video               :      @tab  X",
                    "content": "@tab used in some games by Entertainment Software Partners\n"
                },
                {
                    "name": "ScreenPressor           :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Screenpresso            :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Screen Recorder Gold Codec   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Sierra VMD video        :      @tab  X",
                    "content": "@tab Used in Sierra VMD files.\n"
                },
                {
                    "name": "Silicon Graphics Motion Video Compressor 1 (MVC1)   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Silicon Graphics Motion Video Compressor 2 (MVC2)   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Silicon Graphics RLE 8-bit video   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Smacker video           :      @tab  X",
                    "content": "@tab Video encoding used in Smacker.\n"
                },
                {
                    "name": "SMPTE VC-1              :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Snow                    :   X  @tab  X",
                    "content": "@tab experimental wavelet codec (fourcc: SNOW)\n"
                },
                {
                    "name": "Sony PlayStation MDEC (Motion DECoder)   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Sorenson Vector Quantizer 1   :   X  @tab  X",
                    "content": "@tab fourcc: SVQ1\n"
                },
                {
                    "name": "Sorenson Vector Quantizer 3   :      @tab  X",
                    "content": "@tab fourcc: SVQ3\n"
                },
                {
                    "name": "Sunplus JPEG (SP5X)     :      @tab  X",
                    "content": "@tab fourcc: SP5X\n"
                },
                {
                    "name": "TechSmith Screen Capture Codec   :      @tab  X",
                    "content": "@tab fourcc: TSCC\n"
                },
                {
                    "name": "TechSmith Screen Capture Codec 2   :      @tab  X",
                    "content": "@tab fourcc: TSC2\n"
                },
                {
                    "name": "Theora                  :   E  @tab  X",
                    "content": "@tab encoding supported through external library libtheora\n"
                },
                {
                    "name": "Tiertex Limited SEQ video   :      @tab  X",
                    "content": "@tab Codec used in DOS CD-ROM FlashBack game.\n"
                },
                {
                    "name": "Ut Video                :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "v210 QuickTime uncompressed 4:2:2 10-bit      :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "v308 QuickTime uncompressed 4:4:4             :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "v408 QuickTime uncompressed 4:4:4:4           :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "v410 QuickTime uncompressed 4:4:4 10-bit      :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "VBLE Lossless Codec     :      @tab  X",
                    "content": ""
                },
                {
                    "name": "VMware Screen Codec / VMware Video   :      @tab  X",
                    "content": "@tab Codec used in videos captured by VMware.\n"
                },
                {
                    "name": "Westwood Studios VQA (Vector Quantized Animation) video   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Windows Media Image     :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Windows Media Video 7   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Windows Media Video 8   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Windows Media Video 9   :      @tab  X",
                    "content": "@tab not completely working\n"
                },
                {
                    "name": "Wing Commander III / Xan   :      @tab  X",
                    "content": "@tab Used in Wing Commander III .MVE files.\n"
                },
                {
                    "name": "Wing Commander IV / Xan   :      @tab  X",
                    "content": "@tab Used in Wing Commander IV.\n"
                },
                {
                    "name": "Winnov WNV1             :      @tab  X",
                    "content": ""
                },
                {
                    "name": "WMV7                    :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "YAMAHA SMAF             :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Psygnosis YOP Video     :      @tab  X",
                    "content": ""
                },
                {
                    "name": "yuv4                    :   X  @tab  X",
                    "content": "@tab libquicktime uncompressed packed 4:2:0\n"
                },
                {
                    "name": "ZeroCodec Lossless Video  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ZLIB                    :   X  @tab  X",
                    "content": "@tab part of LCL, encoder experimental\n"
                },
                {
                    "name": "Zip Motion Blocks Video   :    X @tab  X",
                    "content": "@tab Encoder works only in PAL8.\n\n\"X\" means that the feature in that column (encoding / decoding) is supported.\n\n\"E\" means that support is provided through an external library.\n"
                },
                {
                    "name": "Audio Codecs",
                    "content": ""
                },
                {
                    "name": "Name  :  Encoding @tab Decoding @tab Comments",
                    "content": ""
                },
                {
                    "name": "8SVX exponential        :      @tab  X",
                    "content": ""
                },
                {
                    "name": "8SVX fibonacci          :      @tab  X",
                    "content": ""
                },
                {
                    "name": "AAC                     :  EX  @tab  X",
                    "content": "@tab encoding supported through internal encoder and external library libfdk-aac\n"
                },
                {
                    "name": "AAC+                    :   E  @tab  IX",
                    "content": "@tab encoding supported through external library libfdk-aac\n"
                },
                {
                    "name": "AC-3                    :  IX  @tab  IX",
                    "content": ""
                },
                {
                    "name": "ACELP.KELVIN            :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM 4X Movie          :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Yamaha AICA       :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM AmuseGraphics Movie  :     @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Argonaut Games    :  X   @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM CDROM XA          :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Creative Technology  :      @tab  X",
                    "content": "@tab 16 -E<gt> 4, 8 -E<gt> 4, 8 -E<gt> 3, 8 -E<gt> 2\n"
                },
                {
                    "name": "ADPCM Electronic Arts   :      @tab  X",
                    "content": "@tab Used in various EA titles.\n"
                },
                {
                    "name": "ADPCM Electronic Arts Maxis CDROM XS   :      @tab  X",
                    "content": "@tab Used in Sim City 3000.\n"
                },
                {
                    "name": "ADPCM Electronic Arts R1   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Electronic Arts R2   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Electronic Arts R3   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Electronic Arts XAS  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM G.722             :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM G.726             :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM IMA AMV           :   X  @tab  X",
                    "content": "@tab Used in AMV files\n"
                },
                {
                    "name": "ADPCM IMA Cunning Developments   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM IMA Electronic Arts EACS   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM IMA Electronic Arts SEAD   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM IMA Funcom        :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM IMA High Voltage Software ALP       :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM IMA QuickTime     :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM IMA Simon & Schuster Interactive    :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM IMA Ubisoft APM   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM IMA Loki SDL MJPEG   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM IMA WAV           :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM IMA Westwood      :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM ISS IMA           :      @tab  X",
                    "content": "@tab Used in FunCom games.\n"
                },
                {
                    "name": "ADPCM IMA Dialogic      :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM IMA Duck DK3      :      @tab  X",
                    "content": "@tab Used in some Sega Saturn console games.\n"
                },
                {
                    "name": "ADPCM IMA Duck DK4      :      @tab  X",
                    "content": "@tab Used in some Sega Saturn console games.\n"
                },
                {
                    "name": "ADPCM IMA Radical       :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Microsoft         :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM MS IMA            :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Nintendo Gamecube AFC   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Nintendo Gamecube DTK   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Nintendo THP   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Playstation       :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM QT IMA            :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM SEGA CRI ADX      :   X  @tab  X",
                    "content": "@tab Used in Sega Dreamcast games.\n"
                },
                {
                    "name": "ADPCM Shockwave Flash   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Sound Blaster Pro 2-bit   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Sound Blaster Pro 2.6-bit   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Sound Blaster Pro 4-bit   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM VIMA              :      @tab  X",
                    "content": "@tab Used in LucasArts SMUSH animations.\n"
                },
                {
                    "name": "ADPCM Westwood Studios IMA  :      @tab  X",
                    "content": "@tab Used in Westwood Studios games like Command and Conquer.\n"
                },
                {
                    "name": "ADPCM Yamaha            :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "ADPCM Zork              :      @tab  X",
                    "content": ""
                },
                {
                    "name": "AMR-NB                  :   E  @tab  X",
                    "content": "@tab encoding supported through external library libopencore-amrnb\n"
                },
                {
                    "name": "AMR-WB                  :   E  @tab  X",
                    "content": "@tab encoding supported through external library libvo-amrwbenc\n"
                },
                {
                    "name": "Amazing Studio PAF Audio  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Apple lossless audio    :   X  @tab  X",
                    "content": "@tab QuickTime fourcc 'alac'\n"
                },
                {
                    "name": "aptX                    :   X  @tab  X",
                    "content": "@tab Used in Bluetooth A2DP\n"
                },
                {
                    "name": "aptX HD                 :   X  @tab  X",
                    "content": "@tab Used in Bluetooth A2DP\n"
                },
                {
                    "name": "ATRAC1                  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ATRAC3                  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ATRAC3+                 :      @tab  X",
                    "content": ""
                },
                {
                    "name": "ATRAC9                  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Bink Audio              :      @tab  X",
                    "content": "@tab Used in Bink and Smacker files in many games.\n"
                },
                {
                    "name": "CELT                    :      @tab  E",
                    "content": "@tab decoding supported through external library libcelt\n"
                },
                {
                    "name": "codec2                  :   E  @tab  E",
                    "content": "@tab en/decoding supported through external library libcodec2\n"
                },
                {
                    "name": "CRI HCA                 :      @tab X",
                    "content": ""
                },
                {
                    "name": "Delphine Software International CIN audio   :      @tab  X",
                    "content": "@tab Codec used in Delphine Software International games.\n"
                },
                {
                    "name": "Digital Speech Standard - Standard Play mode (DSS SP)  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Discworld II BMV Audio  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "COOK                    :      @tab  X",
                    "content": "@tab All versions except 5.1 are supported.\n"
                },
                {
                    "name": "DCA (DTS Coherent Acoustics)   :   X  @tab  X",
                    "content": "@tab supported extensions: XCh, XXCH, X96, XBR, XLL, LBR (partially)\n"
                },
                {
                    "name": "Dolby E   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "DPCM Gremlin            :      @tab  X",
                    "content": ""
                },
                {
                    "name": "DPCM id RoQ             :   X  @tab  X",
                    "content": "@tab Used in Quake III, Jedi Knight 2 and other computer games.\n"
                },
                {
                    "name": "DPCM Interplay          :      @tab  X",
                    "content": "@tab Used in various Interplay computer games.\n"
                },
                {
                    "name": "DPCM Squareroot-Delta-Exact   :   @tab  X",
                    "content": "@tab Used in various games.\n"
                },
                {
                    "name": "DPCM Sierra Online      :      @tab  X",
                    "content": "@tab Used in Sierra Online game audio files.\n"
                },
                {
                    "name": "DPCM Sol                :      @tab  X",
                    "content": ""
                },
                {
                    "name": "DPCM Xan                :      @tab  X",
                    "content": "@tab Used in Origin's Wing Commander IV AVI files.\n"
                },
                {
                    "name": "DPCM Xilam DERF         :      @tab  X",
                    "content": ""
                },
                {
                    "name": "DSD (Direct Stream Digital), least significant bit first   :   @tab  X",
                    "content": ""
                },
                {
                    "name": "DSD (Direct Stream Digital), most significant bit first    :   @tab  X",
                    "content": ""
                },
                {
                    "name": "DSD (Direct Stream Digital), least significant bit first, planar   :   @tab  X",
                    "content": ""
                },
                {
                    "name": "DSD (Direct Stream Digital), most significant bit first, planar    :   @tab  X",
                    "content": ""
                },
                {
                    "name": "DSP Group TrueSpeech    :      @tab  X",
                    "content": ""
                },
                {
                    "name": "DST (Direct Stream Transfer)  :   @tab  X",
                    "content": ""
                },
                {
                    "name": "DV audio                :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Enhanced AC-3           :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "EVRC (Enhanced Variable Rate Codec)  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "FLAC (Free Lossless Audio Codec)   :   X  @tab  IX",
                    "content": ""
                },
                {
                    "name": "G.723.1                 :  X   @tab  X",
                    "content": ""
                },
                {
                    "name": "G.729                   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "GSM                     :   E  @tab  X",
                    "content": "@tab encoding supported through external library libgsm\n"
                },
                {
                    "name": "GSM Microsoft variant   :   E  @tab  X",
                    "content": "@tab encoding supported through external library libgsm\n"
                },
                {
                    "name": "IAC (Indeo Audio Coder)   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "iLBC (Internet Low Bitrate Codec)  :   E  @tab  E",
                    "content": "@tab encoding and decoding supported through external library libilbc\n"
                },
                {
                    "name": "IMC (Intel Music Coder)   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Interplay ACM             :      @tab  X",
                    "content": ""
                },
                {
                    "name": "MACE (Macintosh Audio Compression/Expansion) 3:1   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "MACE (Macintosh Audio Compression/Expansion) 6:1   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "MLP (Meridian Lossless Packing)   :   X  @tab  X",
                    "content": "@tab Used in DVD-Audio discs.\n"
                },
                {
                    "name": "Monkey's Audio          :      @tab  X",
                    "content": ""
                },
                {
                    "name": "MP1 (MPEG audio layer 1)   :      @tab IX",
                    "content": ""
                },
                {
                    "name": "MP2 (MPEG audio layer 2)   :  IX  @tab IX",
                    "content": "@tab encoding supported also through external library TwoLAME\n"
                },
                {
                    "name": "MP3 (MPEG audio layer 3)   :   E  @tab IX",
                    "content": "@tab encoding supported through external library LAME, ADU MP3 and MP3onMP4 also supported\n"
                },
                {
                    "name": "MPEG-4 Audio Lossless Coding (ALS)   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Musepack SV7            :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Musepack SV8            :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Nellymoser Asao         :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "On2 AVC (Audio for Video Codec)  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Opus                    :   E  @tab  X",
                    "content": "@tab encoding supported through external library libopus\n"
                },
                {
                    "name": "PCM A-law               :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM mu-law              :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM Archimedes VIDC     :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM signed 8-bit planar   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM signed 16-bit big-endian planar   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM signed 16-bit little-endian planar   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM signed 24-bit little-endian planar   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM signed 32-bit little-endian planar   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM 32-bit floating point big-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM 32-bit floating point little-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM 64-bit floating point big-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM 64-bit floating point little-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM D-Cinema audio signed 24-bit    :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM signed 8-bit        :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM signed 16-bit big-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM signed 16-bit little-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM signed 24-bit big-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM signed 24-bit little-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM signed 32-bit big-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM signed 32-bit little-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM signed 16/20/24-bit big-endian in MPEG-TS   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM unsigned 8-bit      :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM unsigned 16-bit big-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM unsigned 16-bit little-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM unsigned 24-bit big-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM unsigned 24-bit little-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM unsigned 32-bit big-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "PCM unsigned 32-bit little-endian   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "QCELP / PureVoice       :      @tab  X",
                    "content": ""
                },
                {
                    "name": "QDesign Music Codec 1   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "QDesign Music Codec 2   :      @tab  X",
                    "content": "@tab There are still some distortions.\n"
                },
                {
                    "name": "RealAudio 1.0 (14.4K)   :   X  @tab  X",
                    "content": "@tab Real 14400 bit/s codec\n"
                },
                {
                    "name": "RealAudio 2.0 (28.8K)   :      @tab  X",
                    "content": "@tab Real 28800 bit/s codec\n"
                },
                {
                    "name": "RealAudio 3.0 (dnet)    :  IX  @tab  X",
                    "content": "@tab Real low bitrate AC-3 codec\n"
                },
                {
                    "name": "RealAudio Lossless      :      @tab  X",
                    "content": ""
                },
                {
                    "name": "RealAudio SIPR / ACELP.NET  :      @tab  X",
                    "content": ""
                },
                {
                    "name": "SBC (low-complexity subband codec)  :   X  @tab  X",
                    "content": "@tab Used in Bluetooth A2DP\n"
                },
                {
                    "name": "Shorten                 :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Sierra VMD audio        :      @tab  X",
                    "content": "@tab Used in Sierra VMD files.\n"
                },
                {
                    "name": "Smacker audio           :      @tab  X",
                    "content": ""
                },
                {
                    "name": "SMPTE 302M AES3 audio   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Sonic                   :   X  @tab  X",
                    "content": "@tab experimental codec\n"
                },
                {
                    "name": "Sonic lossless          :   X  @tab  X",
                    "content": "@tab experimental codec\n"
                },
                {
                    "name": "Speex                   :   E  @tab  E",
                    "content": "@tab supported through external library libspeex\n"
                },
                {
                    "name": "TAK (Tom's lossless Audio Kompressor)   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "True Audio (TTA)        :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "TrueHD                  :   X  @tab  X",
                    "content": "@tab Used in HD-DVD and Blu-Ray discs.\n"
                },
                {
                    "name": "TwinVQ (VQF flavor)     :      @tab  X",
                    "content": ""
                },
                {
                    "name": "VIMA                    :      @tab  X",
                    "content": "@tab Used in LucasArts SMUSH animations.\n"
                },
                {
                    "name": "Vorbis                  :   E  @tab  X",
                    "content": "@tab A native but very primitive encoder exists.\n"
                },
                {
                    "name": "Voxware MetaSound       :      @tab  X",
                    "content": ""
                },
                {
                    "name": "WavPack                 :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Westwood Audio (SND1)   :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Windows Media Audio 1   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Windows Media Audio 2   :   X  @tab  X",
                    "content": ""
                },
                {
                    "name": "Windows Media Audio Lossless  :   @tab  X",
                    "content": ""
                },
                {
                    "name": "Windows Media Audio Pro  :     @tab  X",
                    "content": ""
                },
                {
                    "name": "Windows Media Audio Voice  :   @tab  X",
                    "content": ""
                },
                {
                    "name": "Xbox Media Audio 1      :      @tab  X",
                    "content": ""
                },
                {
                    "name": "Xbox Media Audio 2      :      @tab  X",
                    "content": "\"X\" means that the feature in that column (encoding / decoding) is supported.\n\n\"E\" means that support is provided through an external library.\n\n\"I\" means that an integer-only version is available, too (ensures high performance on systems\nwithout hardware floating point support).\n"
                },
                {
                    "name": "Subtitle Formats",
                    "content": ""
                },
                {
                    "name": "Name  :  Muxing @tab Demuxing @tab Encoding @tab Decoding",
                    "content": ""
                },
                {
                    "name": "3GPP Timed Text   :    @tab   @tab X @tab X",
                    "content": ""
                },
                {
                    "name": "AQTitle           :    @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "DVB               :  X @tab X @tab X @tab X",
                    "content": ""
                },
                {
                    "name": "DVB teletext      :    @tab X @tab   @tab E",
                    "content": ""
                },
                {
                    "name": "DVD               :  X @tab X @tab X @tab X",
                    "content": ""
                },
                {
                    "name": "JACOsub           :  X @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "MicroDVD          :  X @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "MPL2              :    @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "MPsub (MPlayer)   :    @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "PGS               :    @tab   @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "PJS (Phoenix)     :    @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "RealText          :    @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "SAMI              :    @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "Spruce format (STL)  :    @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "SSA/ASS           :  X @tab X @tab X @tab X",
                    "content": ""
                },
                {
                    "name": "SubRip (SRT)      :  X @tab X @tab X @tab X",
                    "content": ""
                },
                {
                    "name": "SubViewer v1      :    @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "SubViewer         :    @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "TED Talks captions  :  @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "TTML              :  X @tab   @tab X @tab",
                    "content": ""
                },
                {
                    "name": "VobSub (IDX+SUB)  :    @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "VPlayer           :    @tab X @tab   @tab X",
                    "content": ""
                },
                {
                    "name": "WebVTT            :  X @tab X @tab X @tab X",
                    "content": ""
                },
                {
                    "name": "XSUB              :    @tab   @tab X @tab X",
                    "content": "\"X\" means that the feature is supported.\n\n\"E\" means that support is provided through an external library.\n"
                },
                {
                    "name": "Network Protocols",
                    "content": ""
                },
                {
                    "name": "Name          :  Support",
                    "content": ""
                },
                {
                    "name": "AMQP          :  E",
                    "content": ""
                },
                {
                    "name": "file          :  X",
                    "content": ""
                },
                {
                    "name": "FTP           :  X",
                    "content": ""
                },
                {
                    "name": "Gopher        :  X",
                    "content": ""
                },
                {
                    "name": "Gophers       :  X",
                    "content": ""
                },
                {
                    "name": "HLS           :  X",
                    "content": ""
                },
                {
                    "name": "HTTP          :  X",
                    "content": ""
                },
                {
                    "name": "HTTPS         :  X",
                    "content": ""
                },
                {
                    "name": "Icecast       :  X",
                    "content": ""
                },
                {
                    "name": "MMSH          :  X",
                    "content": ""
                },
                {
                    "name": "MMST          :  X",
                    "content": ""
                },
                {
                    "name": "pipe          :  X",
                    "content": ""
                },
                {
                    "name": "Pro-MPEG FEC  :  X",
                    "content": ""
                },
                {
                    "name": "RTMP          :  X",
                    "content": ""
                },
                {
                    "name": "RTMPE         :  X",
                    "content": ""
                },
                {
                    "name": "RTMPS         :  X",
                    "content": ""
                },
                {
                    "name": "RTMPT         :  X",
                    "content": ""
                },
                {
                    "name": "RTMPTE        :  X",
                    "content": ""
                },
                {
                    "name": "RTMPTS        :  X",
                    "content": ""
                },
                {
                    "name": "RTP           :  X",
                    "content": ""
                },
                {
                    "name": "SAMBA         :  E",
                    "content": ""
                },
                {
                    "name": "SCTP          :  X",
                    "content": ""
                },
                {
                    "name": "SFTP          :  E",
                    "content": ""
                },
                {
                    "name": "TCP           :  X",
                    "content": ""
                },
                {
                    "name": "TLS           :  X",
                    "content": ""
                },
                {
                    "name": "UDP           :  X",
                    "content": ""
                },
                {
                    "name": "ZMQ           :  E",
                    "content": "\"X\" means that the protocol is supported.\n\n\"E\" means that support is provided through an external library.\n"
                },
                {
                    "name": "Input/Output Devices",
                    "content": ""
                },
                {
                    "name": "Name               :  Input  @tab Output",
                    "content": ""
                },
                {
                    "name": "ALSA               :  X      @tab X",
                    "content": ""
                },
                {
                    "name": "BKTR               :  X      @tab",
                    "content": ""
                },
                {
                    "name": "caca               :         @tab X",
                    "content": ""
                },
                {
                    "name": "DV1394             :  X      @tab",
                    "content": ""
                },
                {
                    "name": "Lavfi virtual device  :  X   @tab",
                    "content": ""
                },
                {
                    "name": "Linux framebuffer  :  X      @tab X",
                    "content": ""
                },
                {
                    "name": "JACK               :  X      @tab",
                    "content": ""
                },
                {
                    "name": "LIBCDIO            :  X",
                    "content": ""
                },
                {
                    "name": "LIBDC1394          :  X      @tab",
                    "content": ""
                },
                {
                    "name": "OpenAL             :  X",
                    "content": ""
                },
                {
                    "name": "OpenGL             :         @tab X",
                    "content": ""
                },
                {
                    "name": "OSS                :  X      @tab X",
                    "content": ""
                },
                {
                    "name": "PulseAudio         :  X      @tab X",
                    "content": ""
                },
                {
                    "name": "SDL                :         @tab X",
                    "content": ""
                },
                {
                    "name": "Video4Linux2       :  X      @tab X",
                    "content": ""
                },
                {
                    "name": "VfW capture        :  X      @tab",
                    "content": ""
                },
                {
                    "name": "X11 grabbing       :  X      @tab",
                    "content": ""
                },
                {
                    "name": "Win32 grabbing     :  X      @tab",
                    "content": "\"X\" means that input/output is supported.\n"
                },
                {
                    "name": "Timecode",
                    "content": ""
                },
                {
                    "name": "Codec/format       :  Read   @tab Write",
                    "content": ""
                },
                {
                    "name": "AVI                :  X      @tab X",
                    "content": ""
                },
                {
                    "name": "DV                 :  X      @tab X",
                    "content": ""
                },
                {
                    "name": "GXF                :  X      @tab X",
                    "content": ""
                },
                {
                    "name": "MOV                :  X      @tab X",
                    "content": ""
                },
                {
                    "name": "MPEG1/2            :  X      @tab X",
                    "content": ""
                },
                {
                    "name": "MXF                :  X      @tab X",
                    "content": ""
                }
            ]
        },
        "SEE ALSO": {
            "content": "ffplay(1), ffmpeg(1), ffprobe(1), ffmpeg-utils(1), ffmpeg-scaler(1), ffmpeg-resampler(1),\nffmpeg-codecs(1), ffmpeg-bitstream-filters(1), ffmpeg-formats(1), ffmpeg-devices(1),\nffmpeg-protocols(1), ffmpeg-filters(1)\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "The FFmpeg developers.\n\nFor details about the authorship, see the Git history of the project\n(git://source.ffmpeg.org/ffmpeg), e.g. by typing the command git log in the FFmpeg source\ndirectory, or browsing the online repository at <http://source.ffmpeg.org>.\n\nMaintainers for the specific components are listed in the file MAINTAINERS in the source code\ntree.\n\n\n\nFFPLAY-ALL(1)",
            "subsections": []
        }
    },
    "summary": "ffplay - FFplay media player",
    "flags": [
        {
            "flag": "-L",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-?",
            "long": "--help",
            "arg": null,
            "description": "Show help. An optional parameter may be specified to print help about a specific item. If no argument is specified, only basic (non advanced) tool options are shown. Possible values of arg are: long Print advanced tool options in addition to the basic tool options. full Print complete list of options, including shared and private options for encoders, decoders, demuxers, muxers, filters, etc. decoder=decodername Print detailed information about the decoder named decodername. Use the -decoders option to get a list of all decoders. encoder=encodername Print detailed information about the encoder named encodername. Use the -encoders option to get a list of all encoders. demuxer=demuxername Print detailed information about the demuxer named demuxername. Use the -formats option to get a list of all demuxers and muxers. muxer=muxername Print detailed information about the muxer named muxername. Use the -formats option to get a list of all muxers and demuxers. filter=filtername Print detailed information about the filter named filtername. Use the -filters option to get a list of all filters. bsf=bitstreamfiltername Print detailed information about the bitstream filter named bitstreamfiltername. Use the -bsfs option to get a list of all bitstream filters. protocol=protocolname Print detailed information about the protocol named protocolname. Use the -protocols option to get a list of all protocols."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show version."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show the build configuration, one option per line."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show available formats (including devices)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show available demuxers."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show available muxers."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show available devices."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show all codecs known to libavcodec. Note that the term 'codec' is used throughout this documentation as a shortcut for what is more correctly called a media bitstream format."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show available decoders."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show all available encoders."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show available bitstream filters."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show available protocols."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show available libavfilter filters."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show available pixel formats."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show available sample formats."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show channel names and standard channel layouts."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show recognized color names."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show autodetected sources of the input device. Some devices may provide system-dependent source names that cannot be autodetected. The returned list cannot be assumed to be always complete. ffmpeg -sources pulse,server=192.168.0.4"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Show autodetected sinks of the output device. Some devices may provide system-dependent sink names that cannot be autodetected. The returned list cannot be assumed to be always complete. ffmpeg -sinks pulse,server=192.168.0.4"
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": "Set logging level and flags used by the library. The optional flags prefix can consist of the following values: repeat Indicates that repeated log output should not be compressed to the first line and the \"Last message repeated n times\" line will be omitted. level Indicates that log output should add a \"[level]\" prefix to each message line. This can be used as an alternative to log coloring, e.g. when dumping the log to file. Flags can also be used alone by adding a '+'/'-' prefix to set/reset a single flag without affecting other flags or changing loglevel. When setting both flags and loglevel, a '+' separator is expected between the last flags value and before loglevel. loglevel is a string or a number containing one of the following values: quiet, -8 Show nothing at all; be silent. panic, 0 Only show fatal errors which could lead the process to crash, such as an assertion failure. This is not currently used for anything. fatal, 8 Only show fatal errors. These are errors after which the process absolutely cannot continue. error, 16 Show all errors, including ones which can be recovered from. warning, 24 Show all warnings and errors. Any message related to possibly incorrect or unexpected events will be shown. info, 32 Show informative messages during processing. This is in addition to warnings and errors. This is the default value. verbose, 40 Same as \"info\", except more verbose. debug, 48 Show everything, including debugging information. trace, 56 For example to enable repeated log output, add the \"level\" prefix, and set loglevel to \"verbose\": ffmpeg -loglevel repeat+level+verbose -i input output Another example that enables repeated log output without affecting current state of \"level\" prefix flag or loglevel: ffmpeg [...] -loglevel +repeat By default the program logs to stderr. If coloring is supported by the terminal, colors are used to mark errors and warnings. Log coloring can be disabled setting the environment variable AVLOGFORCENOCOLOR, or can be forced setting the environment variable AVLOGFORCECOLOR."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Dump full command line and log output to a file named \"program-YYYYMMDD-HHMMSS.log\" in the current directory. This file can be useful for bug reports. It also implies \"-loglevel debug\". Setting the environment variable FFREPORT to any value has the same effect. If the value is a ':'-separated key=value sequence, these options will affect the report; option values must be escaped if they contain special characters or the options delimiter ':' (see the ``Quoting and escaping'' section in the ffmpeg-utils manual). The following options are recognized: file set the file name to use for the report; %p is expanded to the name of the program, %t is expanded to a timestamp, \"%%\" is expanded to a plain \"%\" level set the log verbosity level using a numerical value (see \"-loglevel\"). For example, to output a report to a file named ffreport.log using a log level of 32 (alias for log level \"info\"): FFREPORT=file=ffreport.log:level=32 ffmpeg -i input output Errors in parsing the environment variable are not fatal, and will not appear in the report."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Suppress printing banner. All FFmpeg tools will normally show a copyright notice, build options and library versions. This option can be used to suppress printing this information."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Allows setting and clearing cpu flags. This option is intended for testing. Do not use it unless you know what you're doing. ffmpeg -cpuflags -sse+mmx ... ffmpeg -cpuflags mmx ... ffmpeg -cpuflags 0 ... Possible flags for this option are: x86 mmx mmxext sse sse2 sse2slow sse3 sse3slow ssse3 atom sse4.1 sse4.2 avx avx2 xop fma3 fma4 3dnow 3dnowext bmi1 bmi2 cmov ARM armv5te armv6 armv6t2 vfp vfpv3 neon setend AArch64 armv8 vfp neon PowerPC altivec Specific Processors pentium2 pentium3 pentium4 k6 k62 athlon athlonxp k8"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set the maximum size limit for allocating a block on the heap by ffmpeg's family of malloc functions. Exercise extreme caution when using this option. Don't use if you do not understand the full consequence of doing so. Default is INTMAX."
        },
        {
            "flag": "-x",
            "long": null,
            "arg": null,
            "description": "Force displayed width."
        },
        {
            "flag": "-y",
            "long": null,
            "arg": null,
            "description": "Force displayed height."
        },
        {
            "flag": "-s",
            "long": null,
            "arg": null,
            "description": "Set frame size (WxH or abbreviation), needed for videos which do not contain a header with the frame size like raw YUV. This option has been deprecated in favor of private options, try -videosize."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Seek to pos. Note that in most formats it is not possible to seek exactly, so ffplay will seek to the nearest seek point to pos. pos must be a time duration specification, see the Time duration section in the ffmpeg-utils(1) manual."
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": "Play duration seconds of audio/video. duration must be a time duration specification, see the Time duration section in the ffmpeg-utils(1) manual."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Seek by bytes."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set custom interval, in seconds, for seeking using left/right keys. Default is 10 seconds."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Disable graphical display."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Borderless window."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Window always on top. Available on: X11 with SDL >= 2.0.5, Windows SDL >= 2.0.6."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set the startup volume. 0 means silence, 100 means no volume reduction or amplification. Negative values are treated as 0, values above 100 are treated as 100."
        },
        {
            "flag": "-f",
            "long": null,
            "arg": null,
            "description": "Force format."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set window title (default is the input filename)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set the x position for the left of the window (default is a centered window)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set the y position for the top of the window (default is a centered window)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Loops movie playback <number> times. 0 means forever."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set the show mode to use. Available values for mode are: 0, video show video 1, waves show audio waves 2, rdft show audio frequency band using RDFT ((Inverse) Real Discrete Fourier Transform) Default value is \"video\", if video is not present or cannot be played \"rdft\" is automatically selected. You can interactively cycle through the available show modes by pressing the key w."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Create the filtergraph specified by filtergraph and use it to filter the video stream. filtergraph is a description of the filtergraph to apply to the stream, and must have a single video input and a single video output. In the filtergraph, the input is associated to the label \"in\", and the output to the label \"out\". See the ffmpeg-filters manual for more information about the filtergraph syntax. You can specify this parameter multiple times and cycle through the specified filtergraphs along with the show modes by pressing the key w."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "filtergraph is a description of the filtergraph to apply to the input audio. Use the option \"-filters\" to show all the available filters (including sources and sinks)."
        },
        {
            "flag": "-i",
            "long": null,
            "arg": null,
            "description": "Read inputurl."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set pixel format. This option has been deprecated in favor of private options, try -pixelformat."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Print several playback statistics, in particular show the stream duration, the codec parameters, the current position in the stream and the audio/video synchronisation drift. It is shown by default, unless the log level is lower than \"info\". Its display can be forced by manually specifying this option. To disable it, you need to specify \"-nostats\"."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Non-spec-compliant optimizations."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Generate pts."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set the master clock to audio (\"type=audio\"), video (\"type=video\") or external (\"type=ext\"). Default is audio. The master clock is used to control audio-video synchronization. Most media players use audio as master clock, but in some cases (streaming or high quality broadcast) it is necessary to change that. This option is mainly used for debugging purposes."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Select the desired audio stream using the given stream specifier. The stream specifiers are described in the Stream specifiers chapter. If this option is not specified, the \"best\" audio stream is selected in the program of the already selected video stream."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Select the desired video stream using the given stream specifier. The stream specifiers are described in the Stream specifiers chapter. If this option is not specified, the \"best\" video stream is selected."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Select the desired subtitle stream using the given stream specifier. The stream specifiers are described in the Stream specifiers chapter. If this option is not specified, the \"best\" subtitle stream is selected in the program of the already selected video or audio stream."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Exit when video is done playing."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Exit if any key is pressed."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Exit if any mouse button is pressed."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Force a specific decoder implementation for the stream identified by mediaspecifier, which can assume the values \"a\" (audio), \"v\" (video), and \"s\" subtitle."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Force a specific audio decoder."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Force a specific video decoder."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Force a specific subtitle decoder."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Automatically rotate the video according to file metadata. Enabled by default, use -noautorotate to disable it."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Drop video frames if video is out of sync. Enabled by default if the master clock is not set to video. Use this option to enable frame dropping for all master clock sources, use -noframedrop to disable it."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Do not limit the input buffer size, read as much data as possible from the input as soon as possible. Enabled by default for realtime streams, where data may be dropped if not read in time. Use this option to enable infinite buffers for all inputs, use -noinfbuf to disable it."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Defines how many threads are used to process a filter pipeline. Each pipeline will produce a thread pool with this many threads available for parallel processing. The default is 0 which means that the thread count will be determined by the number of available CPUs."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "ffplay",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffplay/1/json"
        },
        {
            "name": "ffmpeg",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffmpeg/1/json"
        },
        {
            "name": "ffprobe",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffprobe/1/json"
        },
        {
            "name": "ffmpeg-utils",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffmpeg-utils/1/json"
        },
        {
            "name": "ffmpeg-scaler",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffmpeg-scaler/1/json"
        },
        {
            "name": "ffmpeg-resampler",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffmpeg-resampler/1/json"
        },
        {
            "name": "ffmpeg-codecs",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffmpeg-codecs/1/json"
        },
        {
            "name": "ffmpeg-bitstream-filters",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffmpeg-bitstream-filters/1/json"
        },
        {
            "name": "ffmpeg-formats",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffmpeg-formats/1/json"
        },
        {
            "name": "ffmpeg-devices",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffmpeg-devices/1/json"
        },
        {
            "name": "ffmpeg-protocols",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffmpeg-protocols/1/json"
        },
        {
            "name": "ffmpeg-filters",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffmpeg-filters/1/json"
        }
    ]
}