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 ASP

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th April 2002, 01:44   #1  |  Link
JimmyBarnes
the Interrogator
 
JimmyBarnes's Avatar
 
Join Date: Oct 2001
Location: DownUnder
Posts: 664
Why don't I get an appreciable speed increase with fast Reprocess and DivX5.0?

Am using VDub 1.4.10 and DivX Pro 5.0 on a Duron 1 GHz/256 MB RAM/WIN Me.

Create D2V project file with DVD2AVI v1.76, use GKnot 0.23 to set cropping and resizing. Open the project file, do Save and Encode, select Neutral Bicubic and save the AVS for use in VDub.

I'm used to using VDub's Full processing Mode but when I try Fast Reprocess and the AVS above, if anything the rip is slower, not faster (doing 2-pass encoding). Others say they get a 30 % processing speed increase from using Fast Reprocess.

Can anyone suggest what my problem is?

thanx
JB
JimmyBarnes is offline   Reply With Quote
Old 30th April 2002, 02:02   #2  |  Link
dragoman
DivX.com Mod Squad
 
Join Date: Jan 2002
Posts: 370
Hi,

DivX 5 has some new features, like b-frames, gmc, and quarter-pixel settings.

If you use these, especially q-pel, it takes more processing to encode/decode the video stream. This means that while divx5 may be faster in a basic format, the addition of these features slows down the encoding, in some cases slower than divx4!

dragoman
dragoman is offline   Reply With Quote
Old 30th April 2002, 08:29   #3  |  Link
N_F
Do you find me... pretty?
 
N_F's Avatar
 
Join Date: Apr 2002
Location: Sweden
Posts: 760
I don't notice a very big difference between Fast recompress and Full recompress either. Perhaps 10%, but that's it for me.
N_F is offline   Reply With Quote
Old 30th April 2002, 09:36   #4  |  Link
JimmyBarnes
the Interrogator
 
JimmyBarnes's Avatar
 
Join Date: Oct 2001
Location: DownUnder
Posts: 664
Quote:
Originally posted by dragoman
Hi,

DivX 5 has some new features, like b-frames, gmc, and quarter-pixel settings.

If you use these, especially q-pel, it takes more processing to encode/decode the video stream. This means that while divx5 may be faster in a basic format, the addition of these features slows down the encoding, in some cases slower than divx4!

dragoman
Granted but if the only difference is in using Fast Reprocess or Full Processing Mode (all other settings the same), shouldn't the former be relativelyfaster?

JB
JimmyBarnes is offline   Reply With Quote
Old 30th April 2002, 10:55   #5  |  Link
Acaila
Retired
 
Acaila's Avatar
 
Join Date: Jan 2002
Location: Netherlands
Posts: 1,529
Quote:
Granted but if the only difference is in using Fast Reprocess or Full Processing Mode (all other settings the same), shouldn't the former be relativelyfaster?
Not if any of the MPEG4 features use a colorspace conversion to achieve their goal. The point in using fast recompress over normal processing is to avoid the colorspace conversion YUY2->RGB->YV12 and only do YUY2->YV12. Normally this will save time, unless any of the filters/settings you use only work in RGB and thus force a YUY2->RGB->YUY2 conversion internally.

I don't know if the MPEG4 feature do such a thing, but the best thing to test the speed-up with fast recompress is to do it without these features.
Acaila is offline   Reply With Quote
Old 30th April 2002, 13:12   #6  |  Link
theReal
Piper at theGates of Dawn
 
theReal's Avatar
 
Join Date: Nov 2001
Posts: 2,136
Acaila, I think normal recompress does a colorspace conversion, right? And normal recompress for me is almost as fast as fast recompress, and those two are both substantially faster than full processing.

JimmyBarnes, consider buying more RAM. Even in Win98 SE the avisynth-Vdub-Divx5 combination takes at least 160MB (never seen it using less). You could check it out for free by borrowing a 256MB stick from a friend - I think it will help your overall encoding speed as well as the relative difference between fast recompress and full processing.
theReal is offline   Reply With Quote
Old 30th April 2002, 13:18   #7  |  Link
dragoman
DivX.com Mod Squad
 
Join Date: Jan 2002
Posts: 370
Hi,

Yeah, RAM could help too....I used to encode with an Athlon 800, but I had 448 MB Ram....

Now I am zooming at P4 1.6Ghz.....and 512 DDR.....life is good

dragoman
dragoman is offline   Reply With Quote
Old 30th April 2002, 14:37   #8  |  Link
ppera2
Registered User
 
ppera2's Avatar
 
Join Date: Oct 2001
Location: Lands of confusion
Posts: 1,217
JimmyBarnes
Double check that you saved DVD2AVI project with YUV mode and not RGB.
Fast recompress must be faster 20-30%.
ppera2 is offline   Reply With Quote
Old 1st May 2002, 08:33   #9  |  Link
JimmyBarnes
the Interrogator
 
JimmyBarnes's Avatar
 
Join Date: Oct 2001
Location: DownUnder
Posts: 664
Quote:
Originally posted by ppera2
JimmyBarnes
Double check that you saved DVD2AVI project with YUV mode and not RGB.
Fast recompress must be faster 20-30%.
Yes I have checked it before. Color Space is set to YUV 4:2:2. I never use RGB for this.

However on occasion I have used TV scale rather than PC scale for
YUV->RGB, though even on the default PC scale, Fast Reprocess is no faster the Full Processing Mode.

JB
JimmyBarnes is offline   Reply With Quote
Old 1st May 2002, 09:52   #10  |  Link
JimmyBarnes
the Interrogator
 
JimmyBarnes's Avatar
 
Join Date: Oct 2001
Location: DownUnder
Posts: 664
Quote:
Originally posted by Acaila

Not if any of the MPEG4 features use a colorspace conversion to achieve their goal. The point in using fast recompress over normal processing is to avoid the colorspace conversion YUY2->RGB->YV12 and only do YUY2->YV12. Normally this will save time, unless any of the filters/settings you use only work in RGB and thus force a YUY2->RGB->YUY2 conversion internally.

I don't know if the MPEG4 feature do such a thing, but the best thing to test the speed-up with fast recompress is to do it without these features.
I get your point.

However I am strictly following Doom9's DivX 5 guide at present and he recommends using GMC, Bidirectional processing and Fast Reprocess, so I presime there is a point in using the latter.

I timed a 10000 frame test using Full Processing Mode or Fast Reprocess as the only difference (typical settings for a DivX5 rip as per Doom9). Results were:

FPM 17 min 14 s FR 16 min 12 s

The FR time was 94 % of the FPM time.

JB
JimmyBarnes is offline   Reply With Quote
Old 1st May 2002, 11:28   #11  |  Link
Acaila
Retired
 
Acaila's Avatar
 
Join Date: Jan 2002
Location: Netherlands
Posts: 1,529
Indeed, 6% speed-up is not something to write home about....

I still suspect you're using filters that slow things down. Things like TemporalSmoother and DeInterlacing usually negate the effect of Fast Recompress on my encodes. And as we all know the MPEG features slow everyone's encoding down too, so I wouldn't be surprised at all that if you used GMC, B-frames, and DeInterlacing you'd lose your speed benefit completely.
I still recommend staying with Fast Recompress, because the fewer colorspace conversions the better, even if it doesn't speed things up for you.

Besides, if you want a real speed-up, buy a faster computer! Mine should be delivered within the next few days, and it will be smoking fast when I put it together!
Acaila is offline   Reply With Quote
Old 1st May 2002, 11:59   #12  |  Link
JimmyBarnes
the Interrogator
 
JimmyBarnes's Avatar
 
Join Date: Oct 2001
Location: DownUnder
Posts: 664
Quote:
Originally posted by Acaila
Indeed, 6% speed-up is not something to write home about....

I still suspect you're using filters that slow things down. Things like TemporalSmoother and DeInterlacing usually negate the effect of Fast Recompress on my encodes.
The only filter I use is resize/crop. Never use smoothers or need to use deinterlace (ripping PAL DVDs only - might be the reason?)

Quote:

Besides, if you want a real speed-up, buy a faster computer! Mine should be delivered within the next few days, and it will be smoking fast when I put it together!
Hey, man my 1 GHz Duron blazes compared to the ol' 200 MHz Pentium


JB
JimmyBarnes is offline   Reply With Quote
Old 2nd May 2002, 22:06   #13  |  Link
cordraconis
Lurker by lack of time
 
Join Date: Dec 2001
Location: Belgium, Zele
Posts: 90
I have the same problem; Fast recompress has the same speed as Normal recompress (The only difference is that with fast recompress, I'm not able to see which scene is being encoded, and if I use normal recompress, disabling the "view in- and output" option, gets me some 1 till 2 FPS extra, ... Just as with Fast Recompress.)

The biggest difference I had, was putting in the 256MB DDR extra. (Avisynth is indeed rather greedy on RAM).

Anyway, I still haven't found the problem, but I'm happy with the speed I have now
__________________
"the Word Wide Web is a web like any other: either you get caught in it, or you learn to walk on it like a spider. In the future, I'd like to be somewhere on top of the food chain. " -- Cordraconis
cordraconis is offline   Reply With Quote
Old 3rd May 2002, 02:09   #14  |  Link
theReal
Piper at theGates of Dawn
 
theReal's Avatar
 
Join Date: Nov 2001
Posts: 2,136
Right now, Taskinfo2000 reports a RAM usage from Avisynth/VDub of 192 MB.
The total memory load (used by programs) is 50%, but I have only 79 MB of free available RAM left (while 110 MB are being used as cache).

This is in Win98 SE with pagefile disabled. I really think 256 MB would be not enough.
theReal is offline   Reply With Quote
Old 3rd May 2002, 07:50   #15  |  Link
N_F
Do you find me... pretty?
 
N_F's Avatar
 
Join Date: Apr 2002
Location: Sweden
Posts: 760
Aren't PAL DVDs usually interlaced?
N_F is offline   Reply With Quote
Old 3rd May 2002, 08:22   #16  |  Link
Acaila
Retired
 
Acaila's Avatar
 
Join Date: Jan 2002
Location: Netherlands
Posts: 1,529
No, exactly the opposite. I haven't found a single PAL interlaced movie yet (thank god! ), but they do exist.
Acaila is offline   Reply With Quote
Old 3rd May 2002, 08:23   #17  |  Link
JimmyBarnes
the Interrogator
 
JimmyBarnes's Avatar
 
Join Date: Oct 2001
Location: DownUnder
Posts: 664
Quote:
Originally posted by N_F
Aren't PAL DVDs usually interlaced?
Ripped some 40+ PAL DVDs so far and never had to worry about deinterlacing. Some may report as interlaced in DVD2AVI but this is incorrect apparently (I think Doom9 or some other heavy pointed this out). No horizontal black lines typical of interlacing ever seen.

JB
JimmyBarnes is offline   Reply With Quote
Old 3rd May 2002, 08:49   #18  |  Link
N_F
Do you find me... pretty?
 
N_F's Avatar
 
Join Date: Apr 2002
Location: Sweden
Posts: 760
That's strange... I've got about 20 DVDs that I'm currently ripping. Most of them are bought in scandinaivia (is that an english word?) and usually have swedish/danish/finnish/norweigan subtitles. DVD2AVI reports all of these as PAL 4:3 interlaced and that's how I've treated them. Come to think of it, some of these haven't looked interlaced in DVD2AVI or Gordian Knot and some have, but I've still used deinterlacing on them all which perhaps was a mistake if DVD2AVI indeed reports wrongly sometimes.

Is this perhaps something particular to Scandinavian DVDs?
N_F is offline   Reply With Quote
Old 3rd May 2002, 10:36   #19  |  Link
Acaila
Retired
 
Acaila's Avatar
 
Join Date: Jan 2002
Location: Netherlands
Posts: 1,529
DVD2AVI mis-identifies most normal PAL progressive DVD's as interlaced. NEVER trust what the stats windows says, but always scan through the preview if you see the actual interlacing artifacts or not. About 99% of the time you won't see interlacing for PAL sources, not even if they come from Scandinavia .
Acaila is offline   Reply With Quote
Old 3rd May 2002, 10:49   #20  |  Link
N_F
Do you find me... pretty?
 
N_F's Avatar
 
Join Date: Apr 2002
Location: Sweden
Posts: 760
OK. When can one expect to see interlaced DVDs?
N_F 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 00:19.


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