[FFmpeg-devel] [PATCH 3/3] avformat/electronicarts: add option to return alpha channel in the main video stream in VP6A codec

Anton Khirnov anton at khirnov.net
Mon Nov 14 18:34:18 EET 2022


Quoting Marton Balint (2022-11-13 19:44:41)
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  doc/demuxers.texi            | 18 ++++++++++++++++
>  libavformat/electronicarts.c | 42 +++++++++++++++++++++++++++++++-----
>  libavformat/version.h        |  2 +-
>  3 files changed, 56 insertions(+), 6 deletions(-)
> 
> diff --git a/doc/demuxers.texi b/doc/demuxers.texi
> index 2b6dd86c2a..f07f3f5318 100644
> --- a/doc/demuxers.texi
> +++ b/doc/demuxers.texi
> @@ -285,6 +285,24 @@ This demuxer accepts the following option:
>  
>  @end table
>  
> + at section ea
> +
> +Electronic Arts Multimedia format demuxer.
> +
> +This format is used by various Electronic Arts games.
> +
> + at subsection Options
> +
> + at table @option
> +
> + at item merge_alpha @var{bool}
> +
> +Normally the VP6 alpha channel (if exists) is returned as a secondary video
> +stream,

Why? And why keep it as the default?

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list