Thursday, March 23, 2006

So what do you do when 640x480@500kbps PSNR is less then 33?

...like PonPom-Final (32.734/32.232) or PonyRide (31.351/31.102)....?

The first thing to do is screw it and go to 500kbps at 480x352 resolution, just because it is easy. But that might not be enough either: LiliPonPom 480x352@500kbps was 34.015/33.729 PSNR and 42.96 SSIM and visual still had some blockiness.

Next thing is to use DeFreq AVISynth plugin to remove some frequencies. The result become a bit blury and FFT takes a bit of time (second pass is 3.81fps vs 5.75fps on D600 or DeFreq is adds about 40% overhead pushing overall FPS close to 1.5 fps vs. above 2). The table bellow shows that using Defreq(cutx=50.0, cuty=50.0, show=0) boosted 400kbps PSNR higher then 500kbps with no filtering, but filtering more Defreq(cutx=400.0, cuty=400.0, show=0) actually made things worse. But at the end 400kbps still was not enough, and the only acceptable picture was at 500kbps with DeFreq 50

480x360/PomPom-50034.015/33.729???/5.75fps
480x360/PomPom-400-DF5035.817/35.503 4.89/3.68fps
480x360/PomPom-400-DF40033.288/33.3034.96/3.98fps
480x360/PomPom-500-DF5036.884/36.5855.16/3.81fps
The same thing happened with Svekla clip. Adding DF 50,50 boosted PSNR to 40.126/40.020 vs. 38.250/38.147, but going all the way to DF 200,200 lowered PSNR back to 38.572/38.466 (Speeds were comporable too 3.6 vs 5.2 fps on 2nd pass). But at the end it didn't help Svekla clip and there are still visible blockiness despite high PSNR.

Using ASP doesn't help either. It makes it even worse LiliPonPom 31.68 PSNR, 42.96SSIM went to 30.31 PSNR, 36.11SSIM with DX6 and to 30.73 PSNR and 39.54SSIM with XVID. So once and for all XVID is better, but both suck.

Anyhow, there gotta be a better way of filtering complex video, otherwise we are back into 600-750kbps range.

No comments:

Followers