{
    "mode": "man",
    "parameter": "ffmpeg-filters",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/man/ffmpeg-filters/json",
    "generated": "2026-06-10T16:23:08Z",
    "sections": {
        "NAME": {
            "content": "ffmpeg-filters - FFmpeg filters\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This document describes filters, sources, and sinks provided by the libavfilter library.\n",
            "subsections": []
        },
        "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"
                }
            ]
        },
        "SEE ALSO": {
            "content": "ffmpeg(1), ffplay(1), ffprobe(1), libavfilter(3)\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\nFFMPEG-FILTERS(1)",
            "subsections": []
        }
    },
    "summary": "ffmpeg-filters - FFmpeg filters",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "ffmpeg",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffmpeg/1/json"
        },
        {
            "name": "ffplay",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffplay/1/json"
        },
        {
            "name": "ffprobe",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ffprobe/1/json"
        },
        {
            "name": "libavfilter",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/libavfilter/3/json"
        }
    ]
}