OUTPinged_
28th December 2002, 14:52
Yay, finally got 2 HDTV clips and here are some benchmarks, i think some people would be interested.
2 sample clips were used, both are 1080i material. "Plane" clip was a cut of "emotion" clip, "apple" - part of "crawford" clip.
PC is p3-840@BX with PC133 ram.
I used hdtv2mpeg2 and dvd2avi to feed a stream to avisynth. Nic's dvd2avi didnt work for me. :-(
direct mpeg2 decoding Plane: 8.33fps, Apple: 6.87fps.
That is exactly 6 times slower than same operation done using DVD source, so mpeg2dec3 is a great decoder and handles hdtv resolution flawlessly.
Now I added Decomb 4.05b2 and benchmarked again. Telecide(guide=1,gthresh=100,post=false) and Decimate(cycle=5) were used.
ivtc Plane: 4.29fps, Apple: 3.72fps
It seemed that ivtc was flawless and reconstructed everything perfectly. I expected the speed drop to be much higher, but Decomb shows us some excellent speed and slows down the process only 2 times vs 4 times slowdown i experienced working with dvd source. It may be that Decomb's perfomance is capped by memory throughput already, if somebody can confirm that please do it.
1080p is pretty pointless as it wouldnt play in divx on current pcs anyway. So here come benchmarks of resizers:
Plane Apple
lanczos 2.98 2.57
bilinear 3.46 2.88
bicubic 3.26 2.69
16% difference in speed between bilinear and lanczos.
Still too fast? Let's add postprocessing. (YAY!)
The source for "plane" is pretty clean, the only complains are that it is full of blocks.
As I expected, H+V luma deblocking enabled didnt things look any better. The speed drop was about 23%, and that's 2.42fps for lanczos'ed Plane clip. So much for postprocessing.
And finally, xvid encoding. I am doubt that anyone will manage to playback 720p xvid clip with bframes and qpels in realtime, but who cares :-)
Time was limited, so only "plane" clip was tested, more settings were used instead.
Real men always encode at quant2 of course, so did I.
ME6 Q2 H263 chr.ME+qpel,no lumamask: 1.38fps 3.531MB
ME6 Q2 H263 chr.ME+dyn.qpel,no luma: 1.39fps 3.531MB
ME6 Q2 H263 no goodies, w. lumamask: 1.58fps 3.522MB
ME5 Q2 H263 no goodies, no lumamask: 2.22fps 3.500MB
ME6 Q2 H263 no goodies, no lumamask: 2.06fps 3.481MB
ME6 Q2 H263 chr.ME+gmc, no lumamask: 1.80fps 3.384MB
ME6 Q2 H263 chroma ME, no lumamask: 1.89fps 3.367MB
ME6 Q5 H263 chr.ME+dyn.qpel,no luma: 1.32fps 1.159MB
ME6 Q5 H263 no goodies, w. lumamask: 1.53fps 1.154MB
ME6 Q5 H263 no goodies, no lumamask: 2.14fps 1.147MB
ME6 Q5 H263 chr.ME+gmc, no lumamask: 1.78fps 1.120MB
ME6 Q5 H263 chroma ME, no lumamask: 1.87fps 1.109MB
I have no idea why luma masking makes filesize bigger. I did a test long ago and it was shaving off about 1-2%, but today it wasn't working, no matter what clip i fed to it.
I didnt test b-frames, I dont get results I am supposed to with current build.
Chroma ME was a pleasant surprise. You lose some speed but i always prefer free compression over it. I couldnt see any difference with it enabled.
Also, high quantizers look great from some distance. Jeez, I couldn't see any diff. between quant2 and quant10 from 2 meters away on 19"... That will make battles with idiots that claim "my movie is half bitrate comparing to yours and it looks absolutely same" even harder.
And as you see the speed is about 2fps on p3-840. Now I want to see a setup that can do "1080i mpeg2->ivtc->720p resize->xvid" in realtime. p4-8Ghz anyone? I still think it's memory dependant, I wouldnt be surprised if somebody will report ~10fps with rdram p4-2's.
2 sample clips were used, both are 1080i material. "Plane" clip was a cut of "emotion" clip, "apple" - part of "crawford" clip.
PC is p3-840@BX with PC133 ram.
I used hdtv2mpeg2 and dvd2avi to feed a stream to avisynth. Nic's dvd2avi didnt work for me. :-(
direct mpeg2 decoding Plane: 8.33fps, Apple: 6.87fps.
That is exactly 6 times slower than same operation done using DVD source, so mpeg2dec3 is a great decoder and handles hdtv resolution flawlessly.
Now I added Decomb 4.05b2 and benchmarked again. Telecide(guide=1,gthresh=100,post=false) and Decimate(cycle=5) were used.
ivtc Plane: 4.29fps, Apple: 3.72fps
It seemed that ivtc was flawless and reconstructed everything perfectly. I expected the speed drop to be much higher, but Decomb shows us some excellent speed and slows down the process only 2 times vs 4 times slowdown i experienced working with dvd source. It may be that Decomb's perfomance is capped by memory throughput already, if somebody can confirm that please do it.
1080p is pretty pointless as it wouldnt play in divx on current pcs anyway. So here come benchmarks of resizers:
Plane Apple
lanczos 2.98 2.57
bilinear 3.46 2.88
bicubic 3.26 2.69
16% difference in speed between bilinear and lanczos.
Still too fast? Let's add postprocessing. (YAY!)
The source for "plane" is pretty clean, the only complains are that it is full of blocks.
As I expected, H+V luma deblocking enabled didnt things look any better. The speed drop was about 23%, and that's 2.42fps for lanczos'ed Plane clip. So much for postprocessing.
And finally, xvid encoding. I am doubt that anyone will manage to playback 720p xvid clip with bframes and qpels in realtime, but who cares :-)
Time was limited, so only "plane" clip was tested, more settings were used instead.
Real men always encode at quant2 of course, so did I.
ME6 Q2 H263 chr.ME+qpel,no lumamask: 1.38fps 3.531MB
ME6 Q2 H263 chr.ME+dyn.qpel,no luma: 1.39fps 3.531MB
ME6 Q2 H263 no goodies, w. lumamask: 1.58fps 3.522MB
ME5 Q2 H263 no goodies, no lumamask: 2.22fps 3.500MB
ME6 Q2 H263 no goodies, no lumamask: 2.06fps 3.481MB
ME6 Q2 H263 chr.ME+gmc, no lumamask: 1.80fps 3.384MB
ME6 Q2 H263 chroma ME, no lumamask: 1.89fps 3.367MB
ME6 Q5 H263 chr.ME+dyn.qpel,no luma: 1.32fps 1.159MB
ME6 Q5 H263 no goodies, w. lumamask: 1.53fps 1.154MB
ME6 Q5 H263 no goodies, no lumamask: 2.14fps 1.147MB
ME6 Q5 H263 chr.ME+gmc, no lumamask: 1.78fps 1.120MB
ME6 Q5 H263 chroma ME, no lumamask: 1.87fps 1.109MB
I have no idea why luma masking makes filesize bigger. I did a test long ago and it was shaving off about 1-2%, but today it wasn't working, no matter what clip i fed to it.
I didnt test b-frames, I dont get results I am supposed to with current build.
Chroma ME was a pleasant surprise. You lose some speed but i always prefer free compression over it. I couldnt see any difference with it enabled.
Also, high quantizers look great from some distance. Jeez, I couldn't see any diff. between quant2 and quant10 from 2 meters away on 19"... That will make battles with idiots that claim "my movie is half bitrate comparing to yours and it looks absolutely same" even harder.
And as you see the speed is about 2fps on p3-840. Now I want to see a setup that can do "1080i mpeg2->ivtc->720p resize->xvid" in realtime. p4-8Ghz anyone? I still think it's memory dependant, I wouldnt be surprised if somebody will report ~10fps with rdram p4-2's.