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 > (Auto) Gordian Knot
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd August 2008, 22:02   #1  |  Link
Zxian
Registered User
 
Join Date: Jul 2008
Posts: 3
wMultOf must be non-zero

Hello everyone,

I'm trying to fix a problem I'm having with AGK. VOB encoding works just fine using just about any settings I can think of, but when I try to encode any AVI file (and I mean any...), I get the following error message after Demuxing audio:

Code:
VirtualDub Error

Avisynth open failure:
wMultOf must be non zero.
(Z:\TEMP\probka\agk_tmp\1_agk_movie.avs, line 8)
Here are the contents of the above mentioned AVS file:

Code:
LoadPlugin("C:\PROGRA~2\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~2\AutoGK\filters\RemoveGrainSSE3.dll")

movie = DirectShowSource("Z:\TEMP\probka\1.avi",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
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 = 608
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
As you can see... wMultOf=4, which last time I checked, is indeed non-zero. Anyone have any ideas why this is happening? I've tried this with AGK 2.45 and 2.48b with the same results. I've even tried updating VDubMod to the latest version available on their site.

For the record, this is running on a system that has NO other codecs installed. The video file used in the above example is listed as being originally encoded using XviD 1.2 SMP (using GSpot to detect this). The OS is Server 2003 x64.

Any help would be greatly appreciated. If you need any more information from me, just say so.
Zxian is offline   Reply With Quote
Old 7th August 2008, 07:32   #2  |  Link
Zxian
Registered User
 
Join Date: Jul 2008
Posts: 3
Bump. Anyone?
Zxian is offline   Reply With Quote
Old 9th August 2008, 07:28   #3  |  Link
setarip_old
Registered User
 
setarip_old's Avatar
 
Join Date: Aug 2005
Posts: 16,267
Hi!

Have you previously had success with AutoGK - or is this your first attempt?

I'm not a user of AutoGK, but I'd speculate that the program doesn't interpret "wMultOf" as being the same as "wmultof" (or "hMultOf" as being the same as "hmultof")...
setarip_old is offline   Reply With Quote
Old 9th August 2008, 11:21   #4  |  Link
Zxian
Registered User
 
Join Date: Jul 2008
Posts: 3
I've used AutoGK on other systems just fine, and on the same machine, while running Server 2003 (32-bit).

My XP x64 computer is able to run AGK without any troubles. The AVS script looks exactly the same as it does from the Server computer. Your thinking is logical, but not the case here.

This is the first time I've run into troubles like this... as you can easily understand, it's quite frustrating, since that machine is my video ripping machine as well as file storage (I'll typically set queues of 20-30 movies or episodes to rip/convert at a time).
Zxian is offline   Reply With Quote
Old 9th August 2008, 20:48   #5  |  Link
setarip_old
Registered User
 
setarip_old's Avatar
 
Join Date: Aug 2005
Posts: 16,267
If I'm interpreting your posts correctly, this is the first time you're running AutoGK under Server 2003 x64 O/S.

If so, perhaps you can placate an old man who's seen many strange computer anomalies over the years - and, if you haven't already done so, try what I suggested once...
setarip_old is offline   Reply With Quote
Reply

Tags
agk, ayisynth, error, vdubmod, wmultof


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 02:53.


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