[MPlayer-dev-eng] Re: [MP] Re: [MP] [PATCH] "turbo" mode

Guillaume POIRIER guillaume.poirier at ifsic.univ-rennes1.fr
Fri Sep 17 18:58:07 CEST 2004


Hi,
Le jeu 16/09/2004 à 23:34, Matthias Wieser a écrit :
> Am Mittwoch, 15. September 2004 22:01 schrieb Guillaume POIRIER:
> >
> > > And you should evaluate the PSNR differences between individual
> > > frames.
> >
> > How do I do that?
> 
> Add "psnr" to your lavc options. Then you will find a file named like 
> "psnr_342234.log". This file contains psnr numbers for each individual 
> frame. You could plot those numers, calculate differences between 
> different passes/options/... and so on.

I pushed a little further the calculation of the frame-by frame PSNR
difference. It just happens that plotpsnr.pl does have a mode to plot the
difference between 2 psnr log files:
plotpsnr.pl -psnr psnr_105024.log -cmp psnr_101517.log
but somehow, it looks like it is not doing the right math, or maybe it
drops out the decimal part of the PSNR, which do matters here.
Anyway, if I trust what plotpsnr.pl tells me, it looks like turbo mode doesn't
hurt "much" on a frame-by-frame basis, which is good.

Could anyone who would know more about plotpsnr.pl or gnuplot confirm this?

See on attachment an updated version of "turbo" mode that doesn't hurt global
psnr, with more comments on the code.

Regards,
Guillaume

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-1.0-turbo_two_pass_mode-round3.patch
Type: text/x-patch
Size: 2486 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040917/fea92069/attachment.bin>


More information about the MPlayer-dev-eng mailing list