[FFmpeg-user] MPEG2 Profile Options Integer order wrong

Bill Crockett wsc4 at optusnet.com.au
Wed Jun 17 05:28:39 EEST 2020


----- Original Message ----- 
From: "Limin Wang" <lance.lmwang at gmail.com>
To: <ffmpeg-user at ffmpeg.org>
Sent: Wednesday, June 17, 2020 10:24 AM
Subject: Re: [FFmpeg-user] MPEG2 Profile Options Integer order wrong


> 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.
>
> Thanks,
> Limin Wang

Thanks for that.

Before you told me this, I did try the words "high" or "main", but I put in 
quotes either single or double and got errors.

https://ffmpeg.org/ffmpeg-all.html#Options

Does MPEG2 still have the -level:v options?  This is all that is said:

level integer (encoding,audio,video)
Possible values:

‘unknown’

In the past, I found you could use 2, 4, 5, 6. or 8 



More information about the ffmpeg-user mailing list