[MPlayer-dev-eng] [PATCH] add "level" as option to lavc (aka Mencoder generating PS3 playable h264 videos)

Robert Swain robert.swain at gmail.com
Fri May 4 20:10:10 CEST 2007


On 4 May 2007, at 17:32, Gustavo Sverzut Barbieri wrote:
> On 5/4/07, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>> Guillaume POIRIER <poirierg <at> gmail.com> writes:
>>
>>>> Patch applied.
>>>
>>> Could you add a manpage entry to document this feature?
>>
>> Sorry for forgetting!
>>
>> If someone could contribute something better (Gustavo?), I'd be  
>> very happy.
>
> Sure, is man page ok or it needs to be docbook too?
> I'll try to send it yet this weekend, just need to read FFMpeg code to
> see if AVCodecContext->level is just used by H.264 or other codecs too
> (anyone that already knows the code may help?).

A while ago I added Profile/Level support to the XviD interface in  
mencoder. I realise now that I did it in a stupid way and I don't  
know why I did it that way. MPEG codecs specify profiles (feature  
sets) and levels (rate and resolution restrictions, and sometimes  
motion vector length restrictions, all things that are quantifiable)  
as I guess you know. It would probably be useful to be able to  
specify profiles and levels and use some recommended combination of  
features within that profile unless overridden and also apply the  
restrictions that pertain to the level.

Regards,
Rob



More information about the MPlayer-dev-eng mailing list