Tuesday, November 08, 2005

MPEG-2 SSIM and PSNR

On D600 1.6Gz Pentium-M CPU mencoder could do MPEG-2 at 15fps with avisynth script and 33fps without (CPU <80%), but result is bad. Apart from video getting stuck (probably because mencoder could only do I and P and no B frames) SSIM 0.59 or 0.49 and PSNR 11.89 both times.

At the same time TMPGEnc could do 14.5 fps when encoding using "Constant Quality" = 100% and average bitrate 6Mbps which quality and size wise is the same as "2pass VRB" with average bitrate 6Mbps and 8Mbps max. The following table demonstrates that on "Dance" video with 2658 frames i.e. 88.7 sec or 01:28

EncodeTimeFPSkbpsSizeSSIMPSNR
CQ100-8-ME3:1713.5 fps771883M45.2431.46
CQ80-8-ME3:0714.2 fps672073M44.9531.45
CQ100-6-ME3:0314.5 fps581963M43.4231.40
VRB-8-6-ME8:125.40 fps582063M44.0831.44
VRB-8-6-HQ10:414.15 fps581663M44.2931.45
VRB-8-6-HighestQ24:161.83 fps581563M44.5131.46
VRB-8-6-ME (NR)45:280.97 fps580663M43.9031.31
From the table it is clear that neither "High Quality" setting, nor "2-pass VRB" nor especially TMPGEnc noise reduction filter really matters and most efficiently encoding should be done either CQ100-6-ME or if time is of no importance VRB-8-6-ME.

TMPGEnc also has built in deinterlacer that at VRB-8-6-ME encoded in 6:42 to the same 63M using "Deinterlace Even-Odd - field, adoptation" filter, but the video became noticably jerky.

No comments:

Followers