[MPlayer-users] [PATCH] lavc psnr mixup

Michael Niedermayer michaelni at gmx.at
Thu Sep 16 19:37:04 CEST 2004


Hi

On Saturday 11 September 2004 00:46, Loren Merritt wrote:
> On Wed, 8 Sep 2004, Michael Niedermayer wrote:
> > On Wednesday 08 September 2004 00:48, Loren Merritt wrote:
> >> The PSNR values in the psnr_*.log generated by mencoder/lavc seem to be
> >> matched up to the wrong frame numbers. This occurs consistently on all
> >> input videos and all lavcopts, including different vcodec's.
> >> The offset is (3 + vmax_b_frames), and happens in display order, even
> >> though stats are output in encoded order.
> >> The other stats (qp, size, frame type) are matched to the correct
> >> frame number.
> >> The PSNRs that get bumped off the end due to this offset are not used
> >> when calculating the PSNR summary printed by mencoder, but the "inf"s
> >> inserted at the beginning are also not counted in that summary.
> >
> > should be fixed
>
> The PSNRs are fixed, but the frame type is now wrong:
> I-frames due to scenechange detection are reported as P.

patch applied

[...]
-- 
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-users mailing list