[XviD-devel] PSNR encoding

elcabesa elcabesa at inwind.it
Mon Apr 7 18:26:41 CEST 2003


my brain has a very strange idea , very similar to fixed quant but slower than 
it=)

do you think it's possible setting a target PSNR and then choose a quantizer 
for each frame to match this PSNR throug all the movie?

i think for each frame you should try encong it more than one time until psnr 
reach target, maybe this code can be reused also for better "quality measure" 
than PSNR, simply changing quality metric

this could be a tipical encoding ofr a frame x

try encoding whit q=4 psnr not meet
try encoding with q=3 psnr not met
try encoding with q=2 psnr meet
write only last stream=)

i don't know how actually xvid encode frames and if this can be applyed to 
bframes too, or maybe it can  =)
maybe you would require only quant recalculation not motion estimation.

maybe i'm totally a MAD man who totally loose his small brain capacity=)



More information about the XviD-devel mailing list