[FFmpeg-user] MPEG2 Profile Options Integer order wrong

Limin Wang lance.lmwang at gmail.com
Wed Jun 17 03:24:28 EEST 2020


On Wed, Jun 17, 2020 at 09:31:47AM +1000, Bill Crockett wrote:
> https://ffmpeg.org/ffmpeg-all.html#mpeg2
> 
> Who maintains the documentation on the above and how can I contact to ask if it is wrong or correct?
> 
> 16.15 mpeg2
> 
> MPEG-2 video encoder.
> 
> 16.15.1 Options
> 
> profile integer
> 
>     Select the mpeg2 profile to encode:
> 
>     ‘422’
>     ‘main’
>     ‘ss’
> 
>         Spatially Scalable 
>     ‘snr’
> 
>         SNR Scalable 
>     ‘high’
>     ‘simple’
> 
> There are no numbers listed, but my guess is the order as is written and would be "main" = 1 and "high" = 4

Yes, it's const string, you can use -profile:v high or -profile:v main to get
expect result.

> 
> This is wrong and "high should be 1 and "main" should be 4.

If you guess the number by the order, I'll submit a patch to fix it to avoid such
confusion, it's not expected.

> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

-- 
Thanks,
Limin Wang


More information about the ffmpeg-user mailing list