Log in

View Full Version : divx6 and slow


musicnyman
15th September 2005, 00:02
can someone confirm that divx 6 is a lot slower than divx 5 and or xvid? i've recently made two changes to my system:

1) REOS'ed to windows media instead of windows professional. not sure if that would impact performance but can't see how, unless someone thinks that could be it.
2) started using divx6 over xvid and divx 5.

basically, i used to be able to do first pass on most movies in about an hour. 2nd pass in about 1-2 hours which is fine. so 2-3 hours total for each movie 2 pass. but after i made these two changes, it's now taking 4-6 hours for each movie 2 pass. i have tested a 2 pass with xvid, but it's only about 10-20 minutes difference in encoding time. so i'm leaning towards divx 6 ruined or is conflicting with something on my pc or it's windows media edition that's just too slow and i'll have to REOS back to windows professional.

thanks,

[9/14/2005 10:03:44 AM] AutoGK 2.17b
[9/14/2005 10:03:44 AM] OS: WinXP (5.1.2600).2
[9/14/2005 10:03:44 AM] Job started.
[9/14/2005 10:03:44 AM] Input file: J:\VIDEO_TS\VTS_02_0.IFO
[9/14/2005 10:03:44 AM] Output file: C:\workspace\a.avi
[9/14/2005 10:03:44 AM] Output codec: DivX
[9/14/2005 10:03:44 AM] Audio 1: English AC3 6ch
[9/14/2005 10:03:44 AM] Subtitles: none
[9/14/2005 10:03:44 AM] Format: .AVI
[9/14/2005 10:03:44 AM] Target size: 2040Mb
[9/14/2005 10:03:44 AM] Custom resolution settings: fixed width of 720 pixels
[9/14/2005 10:03:44 AM] Standalone support enabled: MTK/Sigma
[9/14/2005 10:03:44 AM] Started encoding.
[9/14/2005 10:03:44 AM] Demuxing and indexing.
[9/14/2005 10:06:06 AM] Processing file: J:\VIDEO_TS\VTS_02_1.VOB
[9/14/2005 10:06:06 AM] Processing file: J:\VIDEO_TS\VTS_02_2.VOB
[9/14/2005 10:06:06 AM] Processing file: J:\VIDEO_TS\VTS_02_3.VOB
[9/14/2005 10:06:06 AM] Processing file: J:\VIDEO_TS\VTS_02_4.VOB
[9/14/2005 10:06:06 AM] Processing file: J:\VIDEO_TS\VTS_02_5.VOB
[9/14/2005 10:06:06 AM] Source resolution: 720x480
[9/14/2005 10:06:06 AM] Found NTSC source.
[9/14/2005 10:06:06 AM] Source aspect ratio: 16:9
[9/14/2005 10:06:06 AM] Source seems to be pure FILM.
[9/14/2005 10:06:06 AM] Output will contain 156512 frames
[9/14/2005 10:06:06 AM] Audio1 size: 365,499,904 bytes (348.57 Mb)
[9/14/2005 10:06:06 AM] Overhead: 4,925,440 bytes (4.70 Mb)
[9/14/2005 10:06:06 AM] Video size: 1,768,669,696 bytes (1686.73 Mb)
[9/14/2005 10:06:06 AM] Target bitrate is: 2168kbps
[9/14/2005 10:06:06 AM] Running compressibility test.
[9/14/2005 10:06:06 AM] Writing the following script to C:\workspace\agk_tmp\a_comptest.avs
===========================================================
LoadPlugin("D:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("C:\workspace\agk_tmp\a.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.18518518518519
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 720
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
SelectRangeEvery(280,14)
===========================================================
[9/14/2005 10:12:06 AM] Duration was: 5 minutes 58 seconds
[9/14/2005 10:12:06 AM] Speed was: 21.81 fps.
[9/14/2005 10:12:06 AM] Compressibility percentage is: 74.62
[9/14/2005 10:12:06 AM] Chosen resolution is: 720x304 ( AR: 2.37 )
[9/14/2005 10:12:06 AM] Predicted comptest value is: 74.62
[9/14/2005 10:12:06 AM] Running first pass.
[9/14/2005 10:12:06 AM] Writing the following script to C:\workspace\agk_tmp\a.avs
===========================================================
LoadPlugin("D:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")

movie = mpeg2source("C:\workspace\agk_tmp\a.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.18518518518519
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 720
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
===========================================================
[9/14/2005 1:04:27 PM] Duration was: 2 hours 52 minutes 20 seconds
[9/14/2005 1:04:27 PM] Speed was: 15.14 fps.
[9/14/2005 1:04:27 PM] Running second pass.
[9/14/2005 4:15:38 PM] Duration was: 3 hours 11 minutes 11 seconds
[9/14/2005 4:15:38 PM] Speed was: 13.64 fps.
[9/14/2005 4:15:38 PM] Job finished. Total time: 6 hours 11 minutes 54 seconds

musicnyman
15th September 2005, 01:16
i found an old log file before i REOS'ed to windows media and upgraded to divx6 and also new beta version of autogk

so this movie was encoded a while ago. only took 2 hours to encode with 2 passes. only big differences i see is the fast encode has the decomb filter enabled and the slow encode does not.

fast encode
------------
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")

slow encode
------------
LoadPlugin("D:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("D:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")

[4/5/2005 8:02:13 AM] AutoGK 2.01b
[4/5/2005 8:02:13 AM] OS: WinXP (5.1.2600).2
[4/5/2005 8:02:13 AM] Job started.
[4/5/2005 8:02:13 AM] Input dir: D:\workspace\formula 51
[4/5/2005 8:02:13 AM] Output file: D:\workspace\formula 51.avi
[4/5/2005 8:02:13 AM] Output codec: DivX
[4/5/2005 8:02:13 AM] Audio: English
[4/5/2005 8:02:13 AM] Subtitles: none
[4/5/2005 8:02:13 AM] Format: .AVI
[4/5/2005 8:02:13 AM] Target size: 1493Mb
[4/5/2005 8:02:13 AM] Custom audio settings: CBR MP3 with bitrate: 192Kbps
[4/5/2005 8:02:13 AM] Started encoding.
[4/5/2005 8:02:13 AM] Demuxing and indexing.
[4/5/2005 8:04:15 AM] Processing file: D:\workspace\formula 51\VTS_01_1.VOB
[4/5/2005 8:04:15 AM] Processing file: D:\workspace\formula 51\VTS_01_2.VOB
[4/5/2005 8:04:15 AM] Processing file: D:\workspace\formula 51\VTS_01_3.VOB
[4/5/2005 8:04:15 AM] Source aspect ratio: 16:9
[4/5/2005 8:04:15 AM] Source resolution: 720x480
[4/5/2005 8:04:15 AM] Found NTSC source.
[4/5/2005 8:04:15 AM] Analyzing source.
[4/5/2005 8:07:46 AM] Source has percentage of interlacing in motion areas: 41.30
[4/5/2005 8:07:46 AM] Source has percentage of telecined patterns: 98.63
[4/5/2005 8:07:46 AM] Source has percentage of progressive patterns: 1.37
[4/5/2005 8:07:46 AM] Source has percentage of interlaced patterns: 0.00
[4/5/2005 8:07:46 AM] Source is considered to be FILM.
[4/5/2005 8:07:46 AM] Output will contain 133308 frames
[4/5/2005 8:07:46 AM] Decoding audio.
[4/5/2005 8:10:33 AM] Normalizing audio.
[4/5/2005 8:11:52 AM] Encoding audio.
[4/5/2005 8:18:42 AM] Using bitrate spikes control.
[4/5/2005 8:18:42 AM] Audio size: 133,441,920 bytes (127.26 Mb)
[4/5/2005 8:18:42 AM] Overhead: 4,851,968 bytes (4.63 Mb)
[4/5/2005 8:18:42 AM] Video size: 1,427,230,080 bytes (1361.11 Mb)
[4/5/2005 8:18:42 AM] Target bitrate is: 2054kbps
[4/5/2005 8:18:42 AM] Running compressibility test.
[4/5/2005 8:18:42 AM] Writing the following script to D:\workspace\agk_tmp\formula 51_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
...
[4/5/2005 10:12:36 AM] Job finished. Total time: 2 hours 10 minutes 23 seconds

chilledoutuk
15th September 2005, 04:33
what mode are you using as the insane quality mode uses exaustive RDO algorithms if your after speed use the codec on balanced its much faster.

musicnyman
15th September 2005, 04:35
what mode are you using as the insane quality mode uses exaustive RDO algorithms if your after speed use the codec on balanced its much faster.

i didn't change any quality settings in xvid or divx. just upgraded auto gk and divx to verison 6 and this started happening.

i'll check it out though and see what divx is set at. this would be set in the divx codec right? not autogk? thanks,

stephanV
15th September 2005, 07:44
Your first file is a bit longer and is encoded at high res. I'm not sure if this is the same for the second one, cause it doesnt show in the logs.

len0x
15th September 2005, 08:48
simple search for "divx6 slow autogk" would give you this thread: http://forum.doom9.org/showthread.php?t=98155&highlight=divx6+slow+autogk

I have to put this into FAQ...

musicnyman
15th September 2005, 20:51
simple search for "divx6 slow autogk" would give you this thread: http://forum.doom9.org/showthread.php?t=98155&highlight=divx6+slow+autogk

I have to put this into FAQ...

understood. was that a recent change in autogk that would have caused the slowdown or it's been like this always? i just re-installed my computer and installed windows xp pro sp2 and did not install divx 6 and only left the xvid codec that came with the new autogk beta verison. still getting about 9-10 fps in 1 pass whereas before, i was getting around 20-30 fps.

i tried changing motion precision in the xvid encoder configuration from ultra high to just high and didn't make a difference. after i ran autogk, i did notice that it was changed by to ultra high. i also checked the hidden options in autogk to see if i was able to change the quality settings of xvid or divx (from say ultra high to high or medium to save encoding time) and couldn't find anything. i'll look through the forums to see if i can find anything, if not, just let me know.

thanks,

--- update

found this on the faq:

4.2 Can I adjust codec settings within or outside of AutoGK?
- no, it is believed that AutoGK uses best speed/quality setting

so i guess we can't change the speed/quality of the encode. so len0x, you have this set in autogk to highest quality/low speed?

len0x
15th September 2005, 23:08
Nothing was changed in codec settings for XviD and DivX5 for ages. It was always like this:
DivX5 - very fast
XviD - almost twice as slow
now DivX6 - slightly slower than XviD

musicnyman
15th September 2005, 23:34
Nothing was changed in codec settings for XviD and DivX5 for ages. It was always like this:
DivX5 - very fast
XviD - almost twice as slow
now DivX6 - slightly slower than XviD

thanks len0x, appreciate your responses.

musicnyman
16th September 2005, 02:11
and by the way, autogk and GK is the best out there still. i've tried so many different kinds of programs and nothing comes close. xvid seems to be doing about 20-22fps which is great. i have no problem with that. also love the fact that if an xvid is undersized in 2 pass, it'll keep the size at 100% quality instead of trying to match the target size. now i can just set all my movies to 2 gigs max for 2 pass and if a movie can be compressed at 100% and only take up 1.2 gigs, so be it... awesome... i'm leaving divx6 uninstalled. works fine now.

Lester Burnham
16th September 2005, 09:39
and by the way, autogk and GK is the best out there still. i've tried so many different kinds of programs and nothing comes close. xvid seems to be doing about 20-22fps which is great. i have no problem with that. also love the fact that if an xvid is undersized in 2 pass, it'll keep the size at 100% quality instead of trying to match the target size. now i can just set all my movies to 2 gigs max for 2 pass and if a movie can be compressed at 100% and only take up 1.2 gigs, so be it... awesome... i'm leaving divx6 uninstalled. works fine now.

Well I've recently re-encoded a number of films that I tend to play using a portable media player (Archos AV440). And when I stay away from home, I often use the cradle and watch videos from it on TVs. And I have to say, the quality of encodes I've done recently, using AutoGK and specifically Divx6, have been truly stunning.