[FFmpeg-devel] [PATCH v6] avcodec/mpeg12enc: support mpeg2 encoder const profile

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Jun 19 19:50:03 EEST 2020


Am Sa., 30. Mai 2020 um 15:29 Uhr schrieb <lance.lmwang at gmail.com>:
>
> From: Limin Wang <lance.lmwang at gmail.com>
>
> Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> ---
>  doc/encoders.texi      | 14 ++++++++++++++
>  libavcodec/mpeg12enc.c |  2 ++
>  libavcodec/profiles.h  |  8 ++++++++
>  3 files changed, 24 insertions(+)
>
> diff --git a/doc/encoders.texi b/doc/encoders.texi
> index 954f0f6..1331b79 100644
> --- a/doc/encoders.texi
> +++ b/doc/encoders.texi
> @@ -2740,6 +2740,20 @@ MPEG-2 video encoder.
>  @subsection Options
>
>  @table @option
> + at item profile @var{integer}
> +Select the mpeg2 profile to encode:
> +
> + at table @samp
> + at item 422
> + at item main
> + at item ss
> +Spatially Scalable
> + at item snr
> +SNR Scalable
> + at item high
> + at item simple
> + at end table

Above looks wrong (as reported on the user mailing list):
high and main have to be swapped, no?

Carl Eugen


More information about the ffmpeg-devel mailing list