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

Michael Niedermayer michaelni at gmx.at
Sun Sep 19 01:12:36 CEST 2004


Hi

On Friday 17 September 2004 18:58, Guillaume POIRIER wrote:
> 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.

maybe making turbo an integer instead of a flag, so the user could select 
amount of psnr/speed he wants

anyway, feel free to commit the turbo mode code

[...]

-- 
Michael
level[i]= get_vlc(); i+=get_vlc();  (violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]); (violates patent #5,905,535)
buf[i]= qp - buf[i-1];    (violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en




More information about the MPlayer-dev-eng mailing list