[FFmpeg-devel] [PATCH v2] avformat/concatdec: add support for setting input options

Moritz Barsnick barsnick at gmx.net
Fri Feb 5 10:52:29 EET 2021


On Wed, Feb 03, 2021 at 20:37:35 +0200, Jan Ekström wrote:
>
> + at item @code{input_options @var{key=value:key2=value2}}
> +Input options passed on when reading a specific file, using a :-separated list
> +of key=value pairs. Requires @code{safe} to be non-positive. Global options for
> +all files can be set with the @code{input_options} demuxer option. When using
> +both options on the list of files as well as globally via the demuxer option,
> +the global ones get applied first and the file-specific options are then applied
> +on top of them.
> +

Perhaps it's a good idea to add an example, or add this to one of the
examples.

> + at item input_options
> +Input options to be passed on for all opened inputs using a :-separated list of
> +key=value pairs.

You can also quote the ':' as @code{:}.


> +                av_log(avf, AV_LOG_ERROR,
> +                       "Line %d: Input options cannot be set in file list in "
> +                       " safe mode!\n", line);

There are duplicate spaces in this message.

Cheers,
Moritz


More information about the ffmpeg-devel mailing list