[Ffmpeg-cvslog] r8182 - trunk/doc/TODO

Baptiste Coudurier baptiste.coudurier
Fri Mar 2 10:54:19 CET 2007


Hi

Nico Sabbi wrote:
> bcoudurier wrote:
> 
>> - mpeg2 non linear quantizer
>>  
>>
> is this implemented? how to use it? what are the benefits?
> 

Nope, It's on my TODO, after digging a bit, it seems it would be needed
to use a completely different quantization code, since other codecs
using mpegvideo.c are using linear one, maybe Im wrong though, some mpeg
code is still black magic for me.

static const uint8_t non_linear_qscale[32] = {
    0, 1, 2, 3, 4, 5, 6, 7,
    8,10,12,14,16,18,20,22,
    24,28,32,36,40,44,48,52,
    56,64,72,80,88,96,104,112,
};

Benefits is capability to use 1,3,5,7... quantization coefficients, and
then going up to 112, which in practice improve very high bitrates
quality and also should compress more at (very)low bitrates.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-cvslog mailing list