avpreset files


avpreset files are specified with the pre option. They work similar to ffpreset files, but they only allow encoder- specific options. Therefore, an option=value pair specifying an encoder cannot be used.

When the pre option is specified, ffmpeg will look for files with the suffix .avpreset in the directories '$AVCONV_DATADIR' (if set), and '$HOME/.avconv', and in the datadir defined at configuration time (usually 'PREFIX/share/ffmpeg'), in that order.

First ffmpeg searches for a file named codec_name-arg.avpreset in the above-mentioned directories, where codec_name is the name of the codec to which the preset file options will be applied. For example, if you select the video codec with -vcodec libvpx and use -pre 1080p, then it will search for the file 'libvpx-1080p.avpreset'.

If no such file is found, then ffmpeg will search for a file named arg.avpreset in the same directories.