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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th March 2005, 13:12   #1  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
Nero recode and the endless encoding time...

To make it short i'm encoding LOTR: ROTK EE DVD 1 and 3.90 FPS for a total (extimated) encoding time of 15h40m on a 3200+ CPU is not acceptable. It's ridiculously SLOW!
I'm at 50% of the second pass, so where's the real time encoding doom9 spoken about some time ago? And, most important, where's the promised patch with the encoder speed up?
FYI x264 encoded the whole DVD in about half the time...

EDIT: at 60% the extimated encoding time went up to 15h58m.

Last edited by Sharktooth; 7th March 2005 at 13:56.
Sharktooth is offline   Reply With Quote
Old 7th March 2005, 13:47   #2  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,484
Quote:
ND MP: Cabac entropy coding, B-frames and weighted prediction on, deblocking filter strength -2, max number of reference frames 2, psychovisual level 2, cartoon mode (chroma improvement) on and max 2 consecutive B-frames for Matrix3/SPR. For Futurama, the deblocking strength was increased to +2 and weighted prediction was turned off (the rest of the settings were the same).
You don't must to use the best setting ... doom9 don't use the best setting for Nero AVC Main profil. For good quality/speed use:

- unconstrained (very important because Nero RC "standard" profil use high RC limitation)
- best quality (not extra)
- reference frame = 2
- bframe = 1
- cartoon (chroma) is slow but good for quality
- vector range -256+256 or -128+128
- deblock strength = 0 not adaptative
- psy mode is slow but good for quality
- weighted prediction

__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9

Last edited by Sagittaire; 7th March 2005 at 13:51.
Sagittaire is offline   Reply With Quote
Old 7th March 2005, 13:52   #3  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
I use 5 refs, 2 bframes, vector range -256,+256, deblock @ 1, and all options enabled.

Last edited by Sharktooth; 7th March 2005 at 14:02.
Sharktooth is offline   Reply With Quote
Old 7th March 2005, 14:03   #4  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,484
5 ref frame + extra quality + high motion vection search + chroma + WPred + Psy combinaison are very slow ...

in order for increase speed change:
5 ref frame for 1 or 2 ref frame
extra quality for best quality
motion vector -256+256 for -128+128
Chroma desactived
Wpred desactived
Psy desactived
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9
Sagittaire is offline   Reply With Quote
Old 7th March 2005, 14:07   #5  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
If i should turn off/down all that settings i prefer using x264.
I set x264 at it's best except 5 refs and 2 b-frames and it encoded the whole s**t in half the time and presumably with better quality compared with your suggested settings.
Sharktooth is offline   Reply With Quote
Old 7th March 2005, 14:17   #6  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
OK, before a myth comes to live : Psy mode do not slow down the encoding process ( except if you've got something like a 16 Mhz processor, with which, indeed, you might get an encoding one second slower )

Except for that, Sagittaire's recommendations are rather correct : #reference > 2 is useless, and extra is a bit of an overkill.

WPred can be used ( it slows down only when it is used, hence not that often in fact ). Chroma will slow down encoding, but there i think it's a must.

Motion vector's min&max value won't change a thing.

BFrame > 1 won't slow down encoding.

Finally, sharktooth : don't presume that x264 with any kind of settings can be better than recode best + bframes + 2 refs + macroblock's partition, because it won't ( and that statement will stand true till x264 uses rate distorsion optimizations )
Manao is offline   Reply With Quote
Old 7th March 2005, 14:17   #7  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,484
in fact:
- multi-ref frame isn't high improuvement for quality (metric test)
- best to extra isn't high improuvement for quality (metric test)

Nero AVC with good speed is better than x264 (metric test) with these setting:
- unconstrained (very important because Nero RC "standard" profil use high RC limitation)
- best quality (not extra)
- reference frame = 1
- bframe = 1
- cartoon (chroma) is slow but good for quality
- vector range -256+256 or -128+128
- deblock strength = 0 not adaptative
- psy mode is slow but good for quality
- weighted prediction
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9

Last edited by Sagittaire; 7th March 2005 at 14:21.
Sagittaire is offline   Reply With Quote
Old 7th March 2005, 14:20   #8  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
I didnt say x264 is better than recode... but recode needs a ridicolous amount of time to encode to top x264 and even at more or less the same quality (obviously x264 cant still reach the level of recode) x264 beats recode in speed.

EDIT: I choosen 5 refs and the other settings for testing speed.

Last edited by Sharktooth; 7th March 2005 at 14:32.
Sharktooth is offline   Reply With Quote
Old 7th March 2005, 14:33   #9  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
Sharktooth : recode in good mode on a 'classic' ( 1h30 movie ) two passes encoding will yield same or better results than x264, with roughly the same encoding speed.
Manao is offline   Reply With Quote
Old 7th March 2005, 14:37   #10  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
Uhm, the differences between x264 and recode are not so evident.
Infact i couldnt tell the differece between 2 encodes.
Only examining them frame by frame i could tell which was better (recode - and that was with the settings above!).
So i dont believe recode's good mode will produce the same quality as x264. please...

Last edited by Sharktooth; 7th March 2005 at 14:42.
Sharktooth is offline   Reply With Quote
Old 7th March 2005, 16:45   #11  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
Reminds me of DivX6 in my latest codec comparison. Using all those extreme settings makes it ridiculously slow. Yet, I wouldn't say that it makes it look better.

So, even though I do not believe in PSNR as means to gauge visual quality, I suggest you give Sagittaire's suggestions a try - or use those settings I used in my comparison (3 ref frames, 2 b-frames if I remember correctly), and constrain the motion vector range as well. Just because x264 at extreme settings performs okay doesn't mean that disabling one or the other wouldn't incurr a non noticeable quality loss... after all, that's what the first pass turbo mode is based on: deactivating extreme settings don't necessarily change the output visibly.

And keep in mind that you cannot compare Recode and the Ateme commandline AVC encoder. Recode does resizing, audio encoding, real-time bitrate adjustment, preview.. all that stuff eats away your CPU cycles. And I doubt Recode will ever reach the speed the commandline encoder offers.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 7th March 2005, 16:57   #12  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
Ah well, i given those setting a shoot... now in the first pass we're at 20 fps, like x264...
The big difference is in the second pass where x264 is able to produce more than 9 FPS while recode's "record" is 3.92...
Btw keep in mind recode is doing nothing of what you said.
It loads an AVS (with no filters except DEDecode, cropping and resize), the same i used for x264. No resizing, no audio compression and preview was disabled (as you can see in the SS).

Last edited by Sharktooth; 7th March 2005 at 17:13.
Sharktooth is offline   Reply With Quote
Old 7th March 2005, 17:03   #13  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
Sharktooth : what was the duration of your test clip ( fast first pass in recode gets activated only if the clip is long enough ).

Moreover, going from extra to best doesn't change the first pass speed, only the second pass' ( it behaves in the same way as slow settings in xvid for the fast first pass : they get deactivated )
Manao is offline   Reply With Quote
Old 7th March 2005, 17:08   #14  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
The whole DVD 1 (2h02m) and btw here's x264 (athlon optimized) first pass:


Last edited by Sharktooth; 7th March 2005 at 17:20.
Sharktooth is offline   Reply With Quote
Old 7th March 2005, 17:23   #15  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
I guess the 3.92 figure was obtained with the previous settings ( extra, 5 refs ), am i wrong ? If so, you should get at least 1.5 times the speed of extra / 5 refs with best / 2 refs, and you shouldn't notice the difference. Good / 2 refs would give you at least twice the speed of extra / 5 refs, and still be on par ( more or less ) with x264 quality-wise.
Manao is offline   Reply With Quote
Old 7th March 2005, 17:29   #16  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
... recode should have 1 more feature: nth encodings!
ok, restarting with your suggested settings...

EDIT: Speed seems reasonably good now (almost doubled)... we'll see the final quality.

Last edited by Sharktooth; 7th March 2005 at 17:35.
Sharktooth is offline   Reply With Quote
Old 7th March 2005, 17:55   #17  |  Link
thegeby
Registered User
 
Join Date: Feb 2004
Posts: 107

Sharky, you lucky b*d Mine took 36 hours at ND Cinema quality (lucky I have long working hours)

Last edited by thegeby; 8th March 2005 at 08:56.
thegeby is offline   Reply With Quote
Old 7th March 2005, 18:00   #18  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
Well, with all the encodings i'm doing i think i will break that 36h barrier... I have 2 desktops and 1 notebook busy encoding with 3 different codecs ...

EDIT: First pass completed at the astonishing speed of 45FPS (what recode says) in about 1h.15m, but the second pass is below 12FPS and it's going down...
EDIT2: 10.8 and still going down...
EDIT3: 9.65 ...

Last edited by Sharktooth; 7th March 2005 at 20:15.
Sharktooth is offline   Reply With Quote
Old 7th March 2005, 19:30   #19  |  Link
Leo 69
Registered User
 
Join Date: Nov 2004
Posts: 227
Considering very good quality Recode gives, I usually agree to wait up to 30-40 hours... But the thing that worries me much is Recode's development progress. The thread named "Nero Recode feature list"
died on the 26 of February, and JohnV has not been posting since 21 of February. What a hell is going on ? Why keeping silence, I wonder ?
This is VERY strange behaviour from Nero, isn't it ?
Leo 69 is offline   Reply With Quote
Old 7th March 2005, 19:32   #20  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
Yep, and the latest update did not contain any serious fixes nor the updated codec filters.
Sharktooth is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:57.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.