Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
16th January 2006, 12:02 | #1 | Link |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Speed and MPEG4 AVC
Everyone say "MPEG4 AVC ... it's slow" but ...
For the same speed MPEG4 AVC in fast mode is by far better for metric than MPEG4 ASP with RDO actived. For Same Quality MPEG4 ASP in highest quality mode (lowest speed) is unable to make the same quality than MPEG4 AVC in fastest mode (highest speed)
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 Last edited by Sagittaire; 21st February 2006 at 19:50. |
16th January 2006, 12:11 | #2 | Link |
Registered User
Join Date: Apr 2005
Posts: 1,740
|
Interesting graph. Also interesting to note that x264 is completely above-right of Ateme, signalling that, (by PSNR) for any quality level, x264 is faster, and likewise, for any speed level, x264 is better quality.
Secondly, why are you using OPSNR? Don't you say that SSIM is much better? EDIT: Why use JPEG? It's got lots of ringing. Last edited by berrinam; 16th January 2006 at 12:20. |
16th January 2006, 12:19 | #3 | Link |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
very interesting results! thx a lot
about the encodes, i see you have done 4 encodes with every codec (except ateme), can you post the used settings for those (if you still know them)?
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
16th January 2006, 12:21 | #4 | Link |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
simply little and partial result : I will make 6 graph.
- Low Quality, medium quality and High Quality Encoding - OPSNR and SSIM But actually in my test x264 (MP and HP) is always little better than Ateme (MP and HP) in highest quality mode. Actualy x264 HP is certainely the best codec in the world for metric test
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 |
16th January 2006, 12:50 | #5 | Link | |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Quote:
With XviD I test that: H263, bframe 2/1.50/0.00, no QPel, no GMC, no AQ - ME vey low, VHQ0 -> highest speed - ME low, VHQ0 - ME medium, VHQ0 - ME High, VHQ0 - ME Ultra High, VHQ0 - ME Ultra High, VHQ1 - ME Ultra High, VHQ1, trelli - ME Ultra High, VHQ3, trelli - ME Ultra High, VHQ1, trelli, chroma me - ME Ultra High, VHQ4, trelli, chroma me, brdo -> highest quality and I choose the best encoding for best possible fps=F(metric) zone limit. With x264 I test that: x264.exe --bframe 2 --ref 1 --filter 0:0 --bitrate 1400 --pass 2 --stats "x264_stat.log" --qcomp 0.75 --ipratio 1.25 --pbratio 1.33 --analyse "none" --8x8dct --weightb --me "dia" --subme 1 --no-chroma-me --progress --no-psnr -o x264HP_KingKong_400p_Speed1.mp4 Speed.avs x264.exe --bframe 2 --ref 1 --filter 0:0 --bitrate 1400 --pass 2 --stats "x264_stat.log" --qcomp 0.75 --ipratio 1.25 --pbratio 1.33 --analyse "i8x8,p8x8,b8x8" --8x8dct --weightb --me "dia" --subme 2 --no-chroma-me --progress --no-psnr -o x264HP_KingKong_400p_Speed2.mp4 Speed.avs x264.exe --bframe 2 --ref 1 --filter 0:0 --bitrate 1400 --pass 2 --stats "x264_stat.log" --qcomp 0.75 --ipratio 1.25 --pbratio 1.33 --analyse "all" --8x8dct --weightb --me "dia" --subme 6 --no-chroma-me --trellis 1 --progress --no-psnr -o x264HP_KingKong_400p_Speed5.mp4 Speed.avs x264.exe --bframe 2 --bime --b-rdo --ref 5 --mixed-refs --filter 0:0 --bitrate 1400 --pass 2 --stats "x264_stat.log" --qcomp 0.75 --ipratio 1.25 --pbratio 1.33 --analyse "all" --8x8dct --weightb --me "dia" --subme 6 --trellis 1 --progress --no-psnr -o x264HP_KingKong_400p_Speed6.mp4 Speed.avs With Ateme I test that: encavc.exe -i Speed.avs -o NDAVCHP_KingKong_400p_Speed1.mp4 -qual fastest -setef xf8x8 -rcmode 2nd -log 1pass.log -br 1400000 -deblock 0 -ref 1 -bref 1 encavc.exe -i Speed.avs -o NDAVCHP_KingKong_400p_Speed2.mp4 -qual fast -setef xf8x8 -rcmode 2nd -log 1pass.log -br 1400000 -deblock 0 -ref 1 -bref 1 encavc.exe -i Speed.avs -o NDAVCHP_KingKong_400p_Speed3.mp4 -qual normal -setef xf8x8 -rcmode 2nd -log 1pass.log -br 1400000 -deblock 0 -ref 1 -bref 1 encavc.exe -i Speed.avs -o NDAVCHP_KingKong_400p_Speed4.mp4 -qual good -setef xf8x8 -rcmode 2nd -log 1pass.log -br 1400000 -deblock 0 -ref 1 -bref 1 encavc.exe -i Speed.avs -o NDAVCHP_KingKong_400p_Speed5.mp4 -qual best -setef xf8x8 -psy 1 -rcmode 2nd -log 1pass.log -br 1400000 -deblock 0 -ref 1 -bref 1 encavc.exe -i Speed.avs -o NDAVCHP_KingKong_400p_Speed6.mp4 -qual extra -setef xf8x8 -enhchrp -psy 1 -rcmode 2nd -log 1pass.log -br 1400000 -deblock 0 -ref 5 -bref 1
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 Last edited by Sagittaire; 16th January 2006 at 13:10. |
|
16th January 2006, 17:28 | #6 | Link |
Registered User
Join Date: Feb 2003
Location: USA
Posts: 152
|
Hello Sagittaire, and thank you for your tests of these codecs.
I've noticed lately that you use custom values for qcomp, ipratio, and pbratio for x264 encoding. Would you mind explaining why you change these from the defaults? I was wondering if these values give you better results on PSNR, SSIM, etc. |
16th January 2006, 18:24 | #7 | Link |
Registered User
Join Date: Sep 2005
Location: indonesia
Posts: 35
|
where is x264 point located for same settings with :
--bframe 4 --b-rdo --bime --trellis 2 --me "umh" --subme 7 --no-fast-pskip --ref 8 --mixed-refs because I always use this for every encode... btw thanks for the graph, very nice!
__________________
yesterday is the day before |
16th January 2006, 18:39 | #8 | Link |
Registered User
Join Date: Apr 2004
Posts: 287
|
I noticed you used --ref 1 for x264 and ateme. Wouldn't you get better quality per filesize if you used --ref 4 or better, and used multiple b-frames/bpyrimid? Or is that bad for metrics?
__________________
Nothing to see here... |
16th January 2006, 20:35 | #9 | Link | |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Quote:
very low speed and not very higher quality ...
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 |
|
16th January 2006, 20:40 | #10 | Link | |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Quote:
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 |
|
16th January 2006, 20:44 | #11 | Link |
Registered User
Join Date: Apr 2004
Posts: 287
|
I think using --ref 3 or --ref 4 will provide a significant (ish) boost in PSNR supposedly worth the speedloss. After --ref 5 or so, the gains become less and less except maybe for anime.
__________________
Nothing to see here... |
17th January 2006, 00:35 | #13 | Link | |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Quote:
2) thank you for new setting ... I will try that.
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 |
|
17th January 2006, 15:46 | #14 | Link | |
Registered User
Join Date: Sep 2005
Location: indonesia
Posts: 35
|
Quote:
so... can't wait for lowbitrate comparison... hehehe... usually I encoded DVD to 256MB using 380-400Kb/s.
__________________
yesterday is the day before |
|
17th January 2006, 17:04 | #16 | Link | |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
Quote:
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
28th January 2006, 06:42 | #19 | Link |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Update:
- Elecard AVC High Profil encoder 23/01/2006 (beta testing version) - DivX 6.1.1 encoder - Better Target bitrate for VP7 (better result) - akupenguin setting for x264 I test only speed in second pass (real encoding pass) : - All codec can use first turbo pass - be carefull : Ateme can use high turbo pass in real encoding situation (more than 10000 frames) but if second pass is high quality pass (slow encoding) then average speed for 1st + 2nd will not really change for all codec conclusion : - Elecard codec is very good AVC codec too - MPEG4 AVC codec are really better than MPEG4 ASP codec for speed and quality - MPEG4 AVC seem to have difficulty to progress with high speed now. Certainely that metric quality improvement become very difficult for all AVC developper. IMO it's certainely the time for x264 to choose HVS tuning way with adaptative quantisation for example ...
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 Last edited by Sagittaire; 28th January 2006 at 06:47. |
28th January 2006, 18:37 | #20 | Link | |
Registered User
Join Date: Apr 2004
Posts: 1,315
|
Quote:
That is true. For ssim tests Ateme+noAQ and x264 are close. But Ateme+Aq (psy2) is best imho result. Not always for OPSNR but mostly for SSIM. Last edited by IgorC; 28th January 2006 at 18:39. |
|
|
|