[MPlayer-dev-eng] [PATCH] synch to new x264 revision
Loren Merritt
lorenm at u.washington.edu
Sun Sep 26 19:57:29 CEST 2004
On Sun, 26 Sep 2004, Jeff Clagg wrote:
>> .B frameref=<1\-15>
>> Number of previous frames used as predictors in a P frame (default: 1).
>> This is effective in Anime, but seems to make little difference in
>> live-action source material.
>> Some decoders are unable to deal with large frameref values.
>
> First of all, the range is incorrect. Right now, the upper limit is
> defined at 100. 15 just happens to correspond with the point at which
> libavcodec will no longer decode it.
No, it's the code that's wrong.
x264 supports a max of 15 (If you select more, it will still only use
15.) H.264 allows up to 16 (though you get some choice of which 16 frames
to use as references, so the number analysed could be more).
I'll see about increasing x264's max to 16 (might be just changing a
constant, might be more complicated.)
Up until my patch yesterday, libavcodec would decode a max of 13 reference
frames. Now it should work with all legal values.
--Loren Merritt
More information about the MPlayer-dev-eng
mailing list