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

Gustavo Sverzut Barbieri barbieri at gmail.com
Fri May 4 21:26:59 CEST 2007


On 5/4/07, Robert Swain <robert.swain at gmail.com> wrote:
> >>> 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.

I don't get your suggestion, is it to have a top-level, codec
independent profile/level option, to use mencoder's profile (defined
in conf-file), ...?

Also, do you know where AVCodecContext->level is used? Simple cscope
overview leds me to believe it's used in:
   h263.c
   mpeg12.c
   x264.c

-- 
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbieri at gmail.com
   MSN: barbieri at gmail.com
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010



More information about the MPlayer-dev-eng mailing list