View Full Version : Auto Gordian Knot: EXCEPTION: Open avi failed.
spaeter
16th May 2004, 21:51
Hallo!!!
I've tried to use autogk to encoding a dvd into divx/xvid, but I always have the same error. Here is the end of the log file.
12/05/04 19.02.21] Input dir: C:\*******\VIDEO_TS
[12/05/04 19.02.21] Output file: C:\******\VIDEO_TS\gk_tmp\*****.avi
[12/05/04 19.02.21] Audio: Italiano
[12/05/04 19.02.21] Subtitles: none
[12/05/04 19.02.21] Codec: XviD
[12/05/04 19.02.21] Target size: 1400Mb
[12/05/04 19.02.21] Started encoding.
[12/05/04 19.02.21] Demuxing and indexing.
[12/05/04 19.07.56] Analyzing source.
[12/05/04 19.20.03] Source is considered to be progressive.
[12/05/04 19.20.03] Found 196160 frames
[12/05/04 19.20.04] Audio size: 376,627,200 bytes (359.18 Mb)
[12/05/04 19.20.04] Overhead: 1,307,776 bytes (1.25 Mb)
[12/05/04 19.20.04] Video size: 1,090,071,424 bytes (1039.57 Mb)
[12/05/04 19.20.04] Running compressibility test.
[12/05/04 19.33.01] Duration was: 12 minutes 57 seconds
[12/05/04 19.33.01] Speed was: 12,62 fps.
*************************************
EXCEPTION: Open avi failed.
*************************************
[12/05/04 19.33.02] Job finished.
I've tried to use some different versions of autogk (from 1.0 to 1.22), but always with the same problem.
The fact is that, using other softwares (for example xmpeg5 or gordian knot 0.28) I finish the job without problems.
Can you help me? What is the problem? what can I do to solve it?
Thanks!!!
len0x
17th May 2004, 13:18
which OS are you using ?
spaeter
17th May 2004, 14:01
Windows XP Pro SP1
Processor is Pentium IV 3Ghz
Codec divx 5.1.1
codec XviD 1.0.0 RC4
len0x
17th May 2004, 14:05
Tough one. Can you properly play *name*_comptest.avi from gk_tmp directory in WMP?
It looks to me like your windows cannot properly open avi files (may be because you're using ffdshow or something)...
spaeter
17th May 2004, 14:16
I try to do this at home tonight...
I'm at work now...
bye!
spaeter
17th May 2004, 18:00
Yes I can...
File *name*_comptest.avi from gk_tmp directory play with Windows Media Player 9 without problems.
No sound and the video is divided in some different frames (6 minutes for a film of about 2 hours).
len0x
17th May 2004, 18:07
can you post rendering path from GSpot 2.21 please (just in case).
spaeter
17th May 2004, 18:21
The information you ask me are these?
Video Path: (S) --> AVI Splitter --> XviD MPEG-4 Video Decoder --> (R)
Video Src Type: 4cc: DX50
Details:
DirectShow claims to be able to play the file. The following combination of filters were used:
{C:\******\VIDEO_TS\gk_tmp\****_comptest.avi} (Video Source)
{AVI Splitter} (Video Pre-processor)
{XviD MPEG-4 Video Decoder} (Video Decoder)
{Video Renderer} (Video Renderer)
len0x
17th May 2004, 18:24
what puzzles me here is how come when using XviD you end up with DX50 4cc?
spaeter
17th May 2004, 19:31
Sorry!!!
I make test with both dvix and xvid...
These are the informations of the file made with xvid codec..
Video Path: (S) --> AVI Splitter --> XviD MPEG-4 Video Decoder --> (R)
Video Src Type: 4cc: XVID
Details:
DirectShow claims to be able to play the file. The following combination of filters were used:
{C:\MATRIX\VIDEO_TS\gk_tmp\Matrix_comptest.avi} (Video Source)
{AVI Splitter} (Video Pre-processor)
{XviD MPEG-4 Video Decoder} (Video Decoder)
{Video Renderer} (Video Renderer)
len0x
18th May 2004, 16:18
which XviD version are you using (you might wanna try latest final 1.0)? I have no idea why this is a problem though.
(you can also try installing xvid without support for other 4cc and then doing DivX test so that it gets decoded by divx filter - this might eliminate case when your xvid DShow filter is at fault).
spaeter
18th May 2004, 21:04
try as suggest by you:
- before i used codec XviD 1.0.0 RC4
- uninstall xvid codec 1.0.0 rc4
- install xvid 1.0.0 final (without support for other 4cc) with new version of autogk 1.24b
- run autogk with divx but always the same problem.
is it possible that i do something wrong during the 4 step of configuring autogk?
p.s.: the preview runs correctly
len0x
19th May 2004, 14:23
Let me tell you what's the error is all about.
After comp test AutoGK tries to open AVI via windows avifil32.dll to get the resolution of it and hence AR to get resize step correctly. Since it fails to do so this means:
- either file cannot be opened via that dll due to codec/filter problem
- file is still in use (unlikely but its worth checking if you can delete or copy that file straight after error occured)
I have no idea what can cause that and without having this problem on the PC where I can run debugger its kinda impossible to solve.
spaeter
19th May 2004, 14:43
I try to delete the file avifil32.dll now (no autogk or other similar program in use).
I cannot delete it because "it's still in use".
i think this is the problem...
len0x
19th May 2004, 14:45
wow - I never said to detele that file! :)
I asked to try to detele comp test AVI...
spaeter
19th May 2004, 14:53
oops... sorry :)
i run another time autogk this evening and then i try to delete comp test AVI...
bye
darkCapricorn
25th May 2004, 21:37
The same thing happened to me after installing an application that deleted all of the registry settings under HKEY_CLASSES_ROOT\avifile\Compressors, HKEY_CLASSES_ROOT\avifile\Extensions, and HKEY_CLASSES_ROOT\avifile\RIFFHandlers.
Simply checking for and adding (if missing) the following registry keys fixed it for me (valid for XP SP1):
[HKEY_CLASSES_ROOT\AVIfile\Compressors\auds]
@="{0002000F-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\AVIfile\Compressors\vids]
@="{00020001-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\AVIfile\Extensions\AU]
@="{00020003-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\AVIfile\Extensions\AVI]
@="{00020000-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\AVIfile\Extensions\WAV]
@="{00020003-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\AVIfile\RIFFHandlers\AVI]
@="{00020000-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\AVIfile\RIFFHandlers\WAVE]
@="{00020003-0000-0000-C000-000000000046}"
spaeter
25th May 2004, 22:23
Check the registry settings. I find all the registry keys you indicate, except these:
[HKEY_CLASSES_ROOT\AVIfile\Extensions\AVI]
@="{00020000-0000-0000-C000-000000000046}" was missing. Add a new one.
Here i find another one: "{894288e0-0948-11d2-8109-004845000eb5}": is this to delete or to leave?
[HKEY_CLASSES_ROOT\AVIfile\RIFFHandlers\AVI]
@="{00020000-0000-0000-C000-000000000046}" was missing. Add a new one.
Here i find another one:
"{894288e0-0948-11d2-8109-004845000eb5}": is this to delete or to leave?
thanks for all!
darkCapricorn
25th May 2004, 23:46
Originally posted by spaeter
Check the registry settings. I find all the registry keys you indicate, except these:
[HKEY_CLASSES_ROOT\AVIfile\Extensions\AVI]
@="{00020000-0000-0000-C000-000000000046}" was missing. Add a new one.
Here i find another one: "{894288e0-0948-11d2-8109-004845000eb5}": is this to delete or to leave?
[HKEY_CLASSES_ROOT\AVIfile\RIFFHandlers\AVI]
@="{00020000-0000-0000-C000-000000000046}" was missing. Add a new one.
Here i find another one:
"{894288e0-0948-11d2-8109-004845000eb5}": is this to delete or to leave?
thanks for all!
AH!HA! rather than adding those entries that i previously mentioned, go into the folder C:\Program Files\AutoGK\VDubMod\aviproxy and merge the file proxyoff.reg
then you should be good to go.
len0x
26th May 2004, 10:52
Originally posted by darkCapricorn
AH!HA! rather than adding those entries that i previously mentioned, go into the folder C:\Program Files\AutoGK\VDubMod\aviproxy and merge the file proxyoff.reg
If this is always working then GREAT! I'll add this to the FAQ.
spaeter
26th May 2004, 17:28
GREAT!!! IT WORKS!!!! :):):)
I merge the file proxyoff.reg, start autogknot 1.25 and.... I don't have the error anymore!!!
look, this is the log file... it's running the first pass...
[26/05/04 17.45.00] AutoGK 1.25
[26/05/04 17.45.00] OS: WinXP (5.1.2600).2
[26/05/04 17.45.00] Job started.
[26/05/04 17.45.00] Input dir: C:\******\VIDEO_TS
[26/05/04 17.45.00] Output file: C:\******\VIDEO_TS\******.avi
[26/05/04 17.45.00] Audio: Italiano
[26/05/04 17.45.00] Subtitles: none
[26/05/04 17.45.00] Codec: DivX
[26/05/04 17.45.00] Target size: 1400Mb
[26/05/04 17.45.00] Started encoding.
[26/05/04 17.45.00] Demuxing and indexing.
[26/05/04 17.50.13] Analyzing source.
[26/05/04 18.02.39] Source is considered to be progressive.
[26/05/04 18.02.41] Found 196160 frames
[26/05/04 18.02.41] Audio size: 376,627,200 bytes (359.18 Mb)
[26/05/04 18.02.41] Overhead: 6,116,608 bytes (5.83 Mb)
[26/05/04 18.02.41] Video size: 1,085,262,592 bytes (1034.99 Mb)
[26/05/04 18.02.41] Target bitrate is: 1107kbps
[26/05/04 18.02.41] Running compressibility test.
[26/05/04 18.12.58] Duration was: 10 minutes 15 seconds
[26/05/04 18.12.59] Speed was: 15,94 fps.
[26/05/04 18.13.00] Compressibility percentage is: 77,02
[26/05/04 18.13.00] Chosen resolution is: 704x288 ( AR: 2,44 )
[26/05/04 18.13.00] Predicted comptest value is: 77,02
[26/05/04 18.13.00] Running first pass.
Now I wait for the end of the job and then I try with xvid.
Thanks for all :thanks:
darkCapricorn
26th May 2004, 18:26
Great! len0x, perhaps these registry entries could be confirmed (and changed if necessary) by the AutoGK installer since it seems that AutoGK relies on them?
BTW, AutoGK is truly fantastic. Thank you for providing such a useful tool.
spaeter
27th May 2004, 08:30
This night, I do the encoding with both divx and xvid codecs without problems. :D
Lasted about 4 hours and half for each job.
Results are ok!!!
bye!!
byoblu
5th February 2005, 05:27
Hallo,
I installed AutoGordianKnot 1.60 on a Xp Sp2 pc.
The first two encoding (divx 5.1) run great, but since the third I started with the
*************************************
EXCEPTION: Open avi failed.
*************************************
I can copy or delete my "Happy Days - 9x16 - Un tocco di classico_comptest.avi" file, but GSpot says that isn't a valid avi file.
I'm wondering why, if first two times went great, then it happened?
I used the register info you wrote in this thread and my reg seems to be fine.
Please, what should I do?
Thank'you very much.
Claudio (ByoBlu)
len0x
6th February 2005, 12:37
Originally posted by byoblu
but GSpot says that isn't a valid avi file.
That's the key. Unless this is solved AutoGK won't work properly. May be codec or playback filter got borken by another software and needs to be reinstalled.
byoblu
7th February 2005, 02:17
Dear len0x,
thanks for your reply.
In fact what happens to me is unbelievable.
After having installed AutoGordianKnot for the first time I thought it was fantastic. I run two jobs and all worked great.
When AGK finished jobs list and I added some more job and clicked start again, "OPEN AVI" exception begun to be raised up. No matter what '.reg' file I merged in the register: AGK was no more able to encode.
So I checked AGK website and found the very last version. I installed it over mine.
A kind of magic: AGK worked again and I eventually thought that was my definitive killer application tool.
Nevertheless, I was disappointed when after the first job list ended without errors, (and after having stopped AGK and started a new group of jobs) the OPEN AVI curse came back to life again.
Neither a total AGK uninstallation-reinstallation seemed to solve the problem.
So I thought that it was a problem on my livingroom-pc (Win XP Home Sp2, P43,2Ghz HypThreading), and installed AGK on my XP Prof SP2 located in the kitchen (another P4 3,2Ghz HyperThreading).
Wow... I tried to add a list of jobs made up of 10 ".mpg", and they all perfectly worked. So my problem seemed to be solved by switching to a more appropriated "codec clean" PC.
Imagine my face when adding more jobs and clicking start again (I didn't exit the program) the OPEN AVI exception was raised again.
I am very desperate. What should I do?
The only thing I do after finishing a group of MPG encodings is checking each encoded AVI before archiving.
To do so I open AVIs with Divx player 2.6 (by Divx.Com), or Windows Mplayer version 10.
Is it possible that this operation restores some codec that AGK doesn't like?
What should I do to reset the situation to be able to work again?
What ckecks do you suggest I should do?
Thank you very much for your kind support.
Claudio
p.s. ..I was a satisfied user of an owned copy of DrDivx, but can't use it anymore because since some times ago it has a problem when boosting audio: the encoded Divx has some movie segments in which the audio lowers almost to zero after a video and audio noise! Moreover, even without the boost option enabled, very often DrDivx crashes at 99% of the second pass.
Very Desperate man..... :-)
fewtch
7th February 2005, 03:07
How about try uninstalling/reinstalling *all* codecs on the PC in question, both video and audio... maybe use some utility like XviD's Vidc.Cleaner also...
len0x
7th February 2005, 17:14
Originally posted by byoblu
The only thing I do after finishing a group of MPG encodings is checking each encoded AVI before archiving.
To do so I open AVIs with Divx player 2.6 (by Divx.Com), or Windows Mplayer version 10.
Hm... Are you're using DivX for your encodes? Can you try XviD instead and don't use DivX player for viewing. WMP should be safe to use - it won't do anything to the codecs, but DivX player might actually do something with DivX codec installed.
byoblu
7th February 2005, 17:49
Hi again,
I uninstalled every video/audio app, and merged the AviResetAll.reg file I found on doom9 (I think).
Then reinstalled just DivxPro (I paid for it), bundled with last version of DrDivx, and AutoGordianKnot.
The open Avi exception was still there....
I also tried a few minutes ago the xVid conversione, and take a look at the result:
[07/02/2005 17.34.42] AutoGK 1.89b
[07/02/2005 17.34.42] OS: WinXP (5.1.2600).2
[07/02/2005 17.34.42] Job started.
[07/02/2005 17.34.42] Input file: Happy Days - 9x16 - Un tocco di classico.mpg
[07/02/2005 17.34.42] Output file: D:\DVD_BUILD\Happy Days - 9x16 - Un tocco di classico.avi
[07/02/2005 17.34.42] Audio: Audio Stream 0
[07/02/2005 17.34.42] Subtitles: none
[07/02/2005 17.34.42] Codec: XviD
[07/02/2005 17.34.42] Target size: 233Mb
[07/02/2005 17.34.42] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[07/02/2005 17.34.42] Started encoding.
[07/02/2005 17.34.42] Demuxing and indexing.
[07/02/2005 17.34.57] Processing file: D:\DVD_BUILD\Happy Days - 9x16 - Un tocco di classico.mpg
[07/02/2005 17.34.57] Source aspect ratio: 4:3
[07/02/2005 17.34.57] Source resolution: 704x576
[07/02/2005 17.34.57] Found PAL source.
[07/02/2005 17.34.57] Analyzing source.
[07/02/2005 17.35.54] Source is considered to be interlaced.
[07/02/2005 17.35.54] Output will contain 35933 frames
[07/02/2005 17.35.54] Encoding audio.
[07/02/2005 17.37.54] Audio size: 24,718,848 bytes (23.57 Mb)
[07/02/2005 17.37.54] Overhead: 1,437,312 bytes (1.37 Mb)
[07/02/2005 17.37.54] Video size: 218,162,048 bytes (208.06 Mb)
[07/02/2005 17.37.54] Running compressibility test.
[07/02/2005 17.37.57] Duration was: 2 seconds
[07/02/2005 17.37.57] Speed was: 821,33 fps.
*************************************
EXCEPTION: Open avi failed.
*************************************
[07/02/2005 17.37.57] Job finished. Total time: 3 minutes 15 seconds
====================================================
As you can see, nor uninstalling neither trying xVid solved my problem.
GSpot keeps saying that "*_comptest.avi" isn't a valid AVI file.
Keep in mind that "*_comptest.avi" is actually THE ONLY file I can't play, since I am normally able to play all AVIs on my PC, Divx codecs or not.
Dear Len0x, a question for you: what is the "_comptest.avi" for? I mean: why is it needed? The software analyses extracts video and audio, normalize and compress audio into MP3, then should start analysing video for the firs pass, isn't it? So why do we need an intermediate _comptest.avi file, and why do we need to open it before the First Pass step, which should only involve the original MPG file?
Even if I'm a programmer, I'm not an expert of video matter so I guess I couldn't be of any help. Nevertheless I'm curios about the _comptest.avi that seems to be the origin of my problems.
Thank'you very much.
CLaudio
ps = What program should I use to "programmatically" clean all of the audio/video codecs?
For instance, even if I uninstalled all of the audio/video software, still after reboot I was able to play MPG files with Ciberlink and "Nero shows" codec that seemed to be still there on my hard drive.
len0x
7th February 2005, 17:58
Originally posted by byoblu
GSpot keeps saying that "*_comptest.avi" isn't a valid AVI file.
Keep in mind that "*_comptest.avi" is actually THE ONLY file I can't play, since I am normally able to play all AVIs on my PC, Divx codecs or not.
Can you make it available for me to download? Its compressibility test file that AutoGK extracts resolution/AR info from.
len0x
7th February 2005, 18:07
I got the file, but deleted the attachment, so that it doesn't take up space on the forum. I see that _comptest.avi is empty! This means that probably that codec can't be accessed at all...
P.S. Sorry I accidently removed your post as well :)
*Edit*
Can you try to do this: open _comptest.avs in VDubMod go to compresion adn select single pass in XviD/DivX and try to save AVI file?
byoblu
7th February 2005, 18:11
Uhm....
My filesystem says it's length is 16384 Kb.
Nevertheless opening it with Notepad results in a long (scroll bar becomes small) file all white.
What does it mean if the _comptest.avi file is empty?
I mean: agk creates an empty _comptest.avi file, so what should I do?
Claudio
len0x
7th February 2005, 18:13
Empty means it contains only 00 bytes :)
Please check my edit comment in the previous post.
byoblu
7th February 2005, 18:28
Dear friend,
I opend VirtualDubMPEG2 (don't have VDubMod but I hope it's the same), I opened "Happy Days - 9x16 - Un tocco di classico_comptest.avs" and went to Compression.
I choosed Divx5.2.1, entered config settings and choosed 1pass.
When I tried the "save avi" menu command, VDub suddenly shut down.
The same applied even when I tried to compress with xVid.
In fact, this is the exact behaviour that I can always observe just before AGK says OPEN AVI Exception.
When I was choosing Divx5.2.1 I noticed I could see two Divx5.2.1, one with FourCC "divx" (driver DivX.dll) and one with fourCC "yv12" (driver "divx.dll" all lowercase). Do you think is normal?
Claudio
p.s. The _comptest.avs file is:
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("D:\DVD_BUILD\agk_tmp\Happy Days - 9x16 - Un tocco di classico.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.09090909090909
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 : (4.0/3.0)
out_width = 640
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
KernelDeInt(movie,order=1,sharp=true)
autocrop(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(250,15)
len0x
7th February 2005, 18:47
Something is seriously buggered on your system... Try this: uninstall Dr.DivX and any other DivX software you might have and try making an XviD encode.
byoblu
7th February 2005, 20:01
I not only uninstalled all software video/audio related once again, but also deleted most codecs and directshow filters by using VCSwap for the first operation and DSFMgr for the second one.
Well... now my Windows Media Player doesn't even manage to recognize itself... ;)
I installed again your AGK package and updated to version 1.89b.
Nor Divx codecs neither DrDivx are installed.
Well... I launched first encoding with Agk, using Xvid and...
the same..
Open Avi Exception.
How is it possible?
This makes me really upset and I'm loosing much of my time while trying to solve it..
Any idea?
Thanks again and again and again...
Claudio
len0x
7th February 2005, 20:15
Its hard to troubleshoot that kind of problems - you must be the first one who has it :) VDubMod is clearly not happy when trying to decode YV12 stream (IMHO). Are you sure that divx.dll is not present in system directory?
byoblu
7th February 2005, 20:47
No, divx.dll isn't anymore in the system directory.
I opened _comptest.avi with the Hex editor in the Tools menu of VDub, and the whole file is made up of zeroes.
Obviously the _comptest.avi wont play.
Where exactly the comptest.avi is created? What piece of software does it? May be taking a look inside that process could help..
As for the codecs, in VDub compression menu voice there are the following lines:
- Uncompressed RGB
- XviD MPEG-4 Codec
- XviD MPEG-4 Codec
Yes: two times Xvid. The firs has FOURCC code: "xvid" and "xvidfw.dll", the second has FOURCC code "yv12" and again the same "xvidvfw.dll".
May be this is correct... don't know.
I hope not to have to install again the whole operating system to solve my problems..
len0x
7th February 2005, 21:21
Originally posted by byoblu
Anyway, is not that VDub doesn't like to encode at all. In facts, VDub perfectly encodes, but the file that Agk instructs to encode.
Is it only one file? I noticed that you're encoding MPG files - what are they? Can you encode normal vobs?
Originally posted by byoblu
Yes: two times! The firs has FOURCC code: "xvid" and "xvidfw.dll", the second has FOURCC code "yv12" and again the same "xvidvfw.dll".
Its normal - AutoGK does that: YV12 decoder is needed for VDubMod to decode video properly.
byoblu
7th February 2005, 21:36
I added the following remark while editing my previous post:
"I opened _comptest.avi with the Hex editor in the Tools menu of VDub, and the whole file is made up of zeroes.
Obviously the _comptest.avi wont play.
Where exactly the comptest.avi is created? What piece of software does it? May be taking a look inside that process could help.."
The MPG files are created by MPEG-VCR, which is a useful tool that takes the VRO files from my Panasonic DVD-Recorder (tv shows) and save .mpg files on harddisk.
The MPG files actually I guess are OK, since I can play them with all players and the they are correctly detected by agk in the first encoding steps(involving DGINDEX and so on).
Even DrDivx doesn't have any problem in re-encoding those MPG in Divx format (a parte from the fact sometimes it crashes, but I guess is another kind of problem)
I don't know if VOB files encode, and I should make a test, but for now I'm too tired to start a DVD ripping and try the whole thing.
Still my question is: if the original MPG is decoded and it shows on the screen, why then the _comptest.avi is a list of zero bytes?
Ciao! :)
Claudio
len0x
7th February 2005, 22:51
_comptest.avi is created by VDubMod. You tried that manually without AutoGK and it didn't work:
- open avs
- set codec settings
- save AVI
Unless this process is completed successfully you'll be unable to use AutoGK or any other program that uses it. By default VDubMod creates files in chunks of 16Mb. So it allocates 16Mb of zeros, then something happens and it crashed leaving AVI file broken.
I'm out of ideas and doubt that problem can be solved without total reinstall by someone who doesn't know exact how the tools used by AutoGK work. It might be some weird bug in VDubMod itself that just happen to pop up on your system or may be not...
byoblu
7th February 2005, 22:57
Ok, look at what happened now: I reinstalled DrDivx (wich includes divx pro licensed) and start a single job in agk just to waste a little of time. I choosed not to encode in the same dir as the original file is: I encoded in the desktop.
Well.. you won't believe your eyes: it worked.
I do not still know why, and I didn't try again yet, but the dvix was created and the whole process reached the end.
The old dir isn't "read only" and akg could access it, read, modify and delete files.
In facts, I just reinstalled Divx codecs and just tried another dir as output.
Really wonder why. If it was just a codec problem, it should have failed to work just all other times.
thanks for the patience,
Claudio
len0x
7th February 2005, 23:05
Ha, weird permissions problems :)
Here is what might be happening: you encode first time to an output dir then try to play AVI file. At that point windows blocks that dir somehow (there a well known bug with AVI handling in XP). So you unable to use that dir unless you close all applications that had accessed that dir. So another dir is obviously working.
byoblu
8th February 2005, 16:53
Dear Len0x,
unfortunately that was not the explication, even if it could be.
After having luckily coded the first mpg, I could not start another job even after changing again and again ouput and/or working directory.
The new is that now all it seems to work, a part from one particular MPG file that causes the job to raise the OPEN AVI exception.
One might think that is was that Mpg file the problem, but I have been trying before many other input files without success... But now it works, why? Well, I installed ffdshow video codecs and, as long as I do not start jobs with the criminal Mpg file, all seems to work.
I scanned the Mpg for errors in every mode I know and every time I've been reported no error at all.
The curios thing is that I can regularly play the Mpg file.
I tried to do the jon entirely with VirtualDub-Mpeg2, encoding with DivxPro5.2.1 codec, and all worked fine.
These are misteries of information technology. May be several different problems merged together making it very hard to think of a solution. I just regret having uninstalled so many codecs from my pc, because for example now Wmp isn't able to play MPG files and do not what else disaster I caused... :-)
But encoding now seems to work and that's what I was pursuing.
Thanks to your daily effort.
I would like to land a help but I know very little of C++. I currently work in java and C#, but never worked in C++ and time-to-productivity would be very long.
See you and I hope you keep developing.
Claudio
p.s.. I'm 36 years old and am from Milano, Italy. You?
Ciao!
bugmenotwillyou
22nd June 2005, 09:18
len0x
I had exactly the same "Open Avi" Exception that started after I successfully completed my first encode using your great app. However because the xvid was too "smooth". I tried to recode with the "use sharp xvid matrix" option on.
From then on I started getting the "open Avi" problem, that wont go away even after turning the "sharp" option off. I have not installed any player/codec after my first successful xvid encode (two pass, took 10 hrs with ac3 audio stream)
I'm going to try merging "proxyoff.reg" now....
Just a WILD guess: Does autogk turn the proxy "on" and forget to turn it "off" on exit?
I'll reply tommorow morning, Going to try an encode now with proxy off... it will fail in exactly 45 minutes if the problem still exists
cheers!
below is my run log when it failed earlier: (Attached)
byoblu
22nd June 2005, 09:29
hi,
I don't remember exactly what the problem was, because a lot of time passed by.
Anyway, something in my mind STRONGLY suggests you to check all permissions on the folder, even hidden ones (if you have XP prof, check all security options, users, even in the advanced tab).
I think mine was a permission problema.
Bye,
BYOBLU
bugmenotwillyou
22nd June 2005, 17:52
Update:
setting the proxy-off FIXED my problem :)
bugmenotwillyou
5th July 2005, 17:14
I backed up several dvds before this happened to me. AFAIK the bug came up when i used subtitles for the first time. since then i cannot user AutoGK again. I tried to deinstall all programs connected to AutoGK and XVID and DIVX and rebootet several times... NOTHING... I cant bring it back to work...
bschelm
bugmenotwillyou
5th July 2005, 17:15
I tried all hints that came up in this thread before but nothing worked...
I wish AutoGK would be more "telling" in the log file...
I cant figure out "what" exactly it is that it cant open...
The *comptest.avi file is ok.
bschelm
[05.07.2005 18:58:09] AutoGK 2.09b
[05.07.2005 18:58:09] OS: WinXP (5.1.2600).2
[05.07.2005 18:58:09] Job started.
[05.07.2005 18:58:09] Input dir: D:\tb\aa
[05.07.2005 18:58:09] Output file: D:\tb\aa.avi
[05.07.2005 18:58:09] Output codec: XviD
[05.07.2005 18:58:09] Audio1: English AC3 2ch
[05.07.2005 18:58:09] Subtitles: none
[05.07.2005 18:58:09] Format: .AVI
[05.07.2005 18:58:09] Target size: 175Mb
[05.07.2005 18:58:09] Custom resolution settings: maximum width of 640 pixels
[05.07.2005 18:58:09] Custom audio settings: AC3
[05.07.2005 18:58:09] Started encoding.
[05.07.2005 18:58:09] Demuxing and indexing.
[05.07.2005 18:58:29] Processing file: D:\tb\aa\VTS_03_PGC_02_1.VOB
[05.07.2005 18:58:29] Source aspect ratio: 16:9
[05.07.2005 18:58:29] Source resolution: 720x576
[05.07.2005 18:58:29] Found PAL source.
[05.07.2005 18:58:29] Analyzing source.
[05.07.2005 18:59:30] Source has percentage of interlacing in motion areas: 49,23
[05.07.2005 18:59:30] Source is considered to be interlaced.
[05.07.2005 18:59:30] Output will contain 13973 frames
[05.07.2005 18:59:30] Audio1 size: 13,402,368 bytes (12.78 Mb)
[05.07.2005 18:59:30] Overhead: 93,184 bytes (0.09 Mb)
[05.07.2005 18:59:30] Video size: 170,005,248 bytes (162.13 Mb)
[05.07.2005 18:59:30] Running compressibility test.
[05.07.2005 18:59:30] Writing the following script to D:\tb\agk_tmp\aa_comptest.avs
===========================================================
LoadPlugin("C:\bsc\divx\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\bsc\divx\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\bsc\divx\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("D:\tb\agk_tmp\aa.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.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 640
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
KernelDeInt(movie,order=1,sharp=true)
autocrop(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)
SelectRangeEvery(100,15)
===========================================================
[05.07.2005 19:02:40] Duration was: 3 minutes 8 seconds
[05.07.2005 19:02:40] Speed was: 11,13 fps.
*************************************
EXCEPTION: Open avi failed.
*************************************
[05.07.2005 19:02:40] Job finished. Total time: 4 minutes 31 seconds
bugmenotwillyou
6th July 2005, 16:48
...and I dont know why.
What I did is start AutoGk, make all settings for a conversion, start preview, exit, restart, make all settings, start conversion... and it runs...
funny thing...
bschelm
len0x
6th July 2005, 21:34
access error probably in your case (permissions to the output dir).
Asmordean
17th July 2005, 00:50
I'm new to using AutoGK. I personally fought with that error over and over and couldn't figure out why it happened. I tried every fix I could find to no avail. As a last resort I created a new destination directory off the root of my storage drive specifically for AutoGK and it worked.
Initially want I was trying to do was have the processed videos in a subdirectory of the location of the MPEG files.
E.g.
F:\mpegs\ (Location of source files)
F:\mpegs\compressed\ (Destination)
This setup resulted in the Virtualdub error every time.
Once I changed to
F:\compressed\
It worked.
So it seems to me that if any other program is doing something with that directory / subdirectory then virtualdub will fail (at least in WindowsXP SP2 for me)
Aleax
25th January 2006, 15:34
I've got a similar problem, and it seems to be related to switching between accessing a file via UNC path, then by drive letter, then when you try UNC again it's broken... check out this log file:
5342
I don't understand... nothing (to my knowledge) changed on my system between these runs; it just spontanously BROKE. This has happened to me before, so you can probably recreate the error for yourself, unless there's just something broken on my system... which is entirely feasible.
Aleax
23rd March 2006, 06:29
(bump)
Nice. Thanks, everyone, for all your help on this. I posted this question TWO FREAKIN' MONTHS AGO.
The only workarounds I've come up with is reinstalling AutoGK to fix this error, and mapping drive letters to the path(s) I want to work with (extremely inelegant, yet effective).
I can't figure a good reason why UNC paths seem to be not supported, they seem to work (at first) but then it breaks the program semi-permanently it seems... or it has in all my testing... why is this; does no one have more than one computer in the house? I can't believe that...
Aleax
7th August 2006, 12:36
(bump again) six months after my first post... Notice that ALL the messages I have posted thus far are in THIS THREAD!!!! :(
HELLO!!!!! IS THIS THING ON????? Anyone here? Anyone give a rat's behind about my problem? Apparently NOT!!!!
AutoGK once again broke on me... and I am mapping a drive letter, and I do have r/w access... the comptest AVI file works perfectly in both Zoom Player and GSpot. I do not understand at all what is broken.
PLEASE HELP!!!!!!!!!!!!!! I am at my wits' end here!!!!!!! Maybe suggest a program that is not flawed like this?
Jackie
28th May 2007, 05:58
Hi,
I have the same problem, happens to me all the time, I think it has happend about 5 times in the last month to me.
All I do when this error happens, I reinstall AutoGK, and it will work for a day or two, then AutoGK fails again.
So, maybe someone has already deeper debugged into this? I think this must be some bug in AutoGK, since it happens to so many people. Are there any news about this strange problem? Any Alternative programs to AutoGK?
Thx.
DickSpeed
21st August 2007, 22:58
I've been getting this "Exception: Open AVI failed" a lot recently. At first thought it was because I was running LimeWire too, so I stopped that. When the problem returned, I thought it might be because I had the folder open, so I changed my output folders. Then it still did it, so I looked online, and here it said to try the proxyon and proxyoff files, so I did, to no avail.
Then I ran the auxsetup.exe in the vdubmod folder of AGK. I remember that the old times I setup a new PC install, this would come up automatically, but I haven't seen it in recent installs. So I tried this. I still get the exception after the compressibility test (sometimes it waited until later in the process, once even during the final stage, and I was able to use lastjob.vcf to finish the movie, but not predictably, and not because of this step).
It seems to work fine right after a reboot, and before any error appears, but once I get an error, almost all inputs give me the same error. I have one movie that ALWAYS gives me errors (Gross Pointe Blank). If I setup 5 movies, with GPB in the middle, the 2 before will work, and the 2 after will fail, along with GPB.
Currently, I am loading the ifo's from the dvd-video folder, and saving in the dvd parent folder, which creates an agk-tmp folder, avi, and log file next to the dvd-video folder. Again, this worked long enough to appear to correct the problem, until the error returned.
I agree that it looks like an access error, but I am able to play the comptest file. I am using Xvid, and usually avoid even installing divxPro, but allowed it to install with the latest AGK package. Is it possible this is related?
Thanks for a great forum, which I've loved for years. (I backed up my first DVD in 2000 with flask before going totally ala carte, then used nandub SBC for a while, tinkered with FairUse, and then used GordianKnot, then AGK, extensively.) I'm not a noob, but I am struggling with this latest iteration of AGK, at times.
Thanks for the clues - soon we'll have a solution, I'm sure. :thanks:
The most common thread so far, seems to be accessing the output folder, which somehow locks up files to not be modified. I've even found it impossible to move good files (or delete bad files) until I close AGK. Though lately WMP has allowed me to rename files that are playing, which it didn't do before. Related? I don't know - so let's hear from the pros!
jeffy
22nd August 2007, 22:50
I agree that it looks like an access error, but I am able to play the comptest file.
I don't know if it is related, but maybe explorer.exe is trying to create some thumbnails in the background.... you might try disabling the thumbnails completely via (Start -> Run)
regsvr32.exe /u shmedia.dll
To get them back
regsvr32.exe shmedia.dll
Let us know if it helped.
Taurus
23rd August 2007, 19:23
(bump again) six months after my first post... Notice that ALL the messages I have posted thus far are in THIS THREAD!!!! :(
HELLO!!!!! IS THIS THING ON????? Anyone here? Anyone give a rat's behind about my problem? Apparently NOT!!!!
AutoGK once again broke on me... and I am mapping a drive letter, and I do have r/w access... the comptest AVI file works perfectly in both Zoom Player and GSpot. I do not understand at all what is broken.
PLEASE HELP!!!!!!!!!!!!!! I am at my wits' end here!!!!!!! Maybe suggest a program that is not flawed like this?
Pleae stop shouting!
I'm doing encodes with AutoGk over networks for years.
No trouble at all.
Even using different OS's didn't break this.(NTFS <-> Fat32)
So obviously something is burked at your side.
Just tested a few minutes ago....:)
Cheers
Taurus
Goraclus
25th September 2007, 08:55
Hello everyone!
I definitely need help here ...
I was using AutoGK for a long time on my notebook - and i like it a lot .... now have installed it on my main PC - and cannot get it work somehow.
No separate codecs installed, just downloaded last DivX to be able to decode to it also.
[08/09/2007 09:51:06] OS: WinXP (5.1.2600).2
[08/09/2007 09:51:06] Job started.
[08/09/2007 09:51:06] Input file: C:\....\VIDEO_TS\VTS_09_0.IFO
[08/09/2007 09:51:06] Output file: C:\....avi
[08/09/2007 09:51:06] Output codec: XviD
[08/09/2007 09:51:06] Audio 1: Russian AC3 6ch
[08/09/2007 09:51:06] Subtitles: none
[08/09/2007 09:51:06] Format: AVI
[08/09/2007 09:51:06] Target size: 2040Mb
[08/09/2007 09:51:06] Audio 1 settings: Auto
[08/09/2007 09:51:06] Started encoding.
[08/09/2007 09:51:06] Demuxing and indexing.
[08/09/2007 09:53:42] Processing file: C:\..\VTS_09_1.VOB
[08/09/2007 09:53:42] Processing file: C:\..\VTS_09_2.VOB
[08/09/2007 09:53:42] Processing file: C:\..\VTS_09_3.VOB
[08/09/2007 09:53:42] Processing file: C:\..\VTS_09_4.VOB
[08/09/2007 09:53:42] Source resolution: 720x576
[08/09/2007 09:53:42] Found PAL source.
[08/09/2007 09:53:42] Source aspect ratio: 4:3
[08/09/2007 09:53:42] Color correction enabled.
[08/09/2007 09:53:42] Analyzing source.
[08/09/2007 09:59:05] Source has percentage of interlacing in motion areas: 0.03
[08/09/2007 09:59:05] Source is considered to be progressive.
[08/09/2007 09:59:05] Output will contain 200150 frames
[08/09/2007 09:59:05] Audio1 size: 384,287,232 bytes (366.48 Mb)
[08/09/2007 09:59:05] Overhead: 1,334,272 bytes (1.27 Mb)
[08/09/2007 09:59:05] Video size: 1,753,473,536 bytes (1672.24 Mb)
[08/09/2007 09:59:05] Running compressibility test.
[08/09/2007 09:59:05] Writing the following script to C:\.._comptest.avs
===========================================================
LoadPlugin("E:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("E:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
movie = mpeg2source("C:\...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.06666666666667
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 = 704
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)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false)
SelectRangeEvery(300,15)
===========================================================
[08/09/2007 10:04:52] Duration was: 5 minutes 46 seconds
[08/09/2007 10:04:52] Speed was: 28.89 fps.
*************************************
EXCEPTION: Open avi failed.
*************************************
[08/09/2007 10:04:52] Job finished. Total time: 13 minutes 45 seconds
Any thoughts what it could be ?
len0x
25th September 2007, 18:32
are you able to play ..._comptest.avi from agk_tmp dir? I bet you're not...
Goraclus
25th September 2007, 18:47
how much u bet? :) Cause i have read all comments were here before - and yes, i can play it.
at the time of converting getting following pop-up sometimes:
Video compression error:
The source image format is not acceptable (error code - 2)
First of all i thought it was about space ... cleared HDD.
Made WMP main player, comptest is playing and working
len0x
25th September 2007, 20:26
Second error clearly indicates problem with codecs install...
Goraclus
26th September 2007, 11:46
Any possibility to clear them ? DivX removed .. still same problem ... no other Codec packs were installed
len0x
26th September 2007, 19:39
I'm still not clear which error are you getting consistently every time: "error opening avi" or error code -2 ?
Mountain Cat 1M
28th September 2007, 23:54
I am having the same problem. I did not have this problem earlier when I still had 1.60 installed. This only happened since I upgraded to the latest version, being 2.45
Mountain Cat 1M
29th September 2007, 14:58
I uninstalled 2.45 and reinstalled 1.60 that I had here and it works great again. Odd. :confused:
steveinbuffalo
7th November 2007, 19:14
Somewhere the codec stores messed up settings, which autogk doesnt reset. If you load vitualdubmod, go to compession, divx, and configure, then reset to defaults and apply/save/exit - whatever - the problem goes away until the next time its left it a funky state.
kimblebear
23rd January 2008, 23:47
I appear to be getting the same problem as other people, using version 2.45
It appears to lock up after I have used VobSub on it's own to remove some logos
I've tried everything I've seen in this thread but it doesn't appear to help.
I have tried uninstalling and re-installing but still get the same error.
The last time this happened, a couple of weeks ago, I was able to recover by using a system restore. Unfortunately I am not able to do that this time.
Any thoughts
[23/01/2008 21:25:43] AutoGK 2.45
[23/01/2008 21:25:43] OS: WinXP (5.1.2600).2
[23/01/2008 21:25:43] Job started.
[23/01/2008 21:25:43] Input file: \\MULTIMEDIA\Data\DVD\Kingdom\Kingdom 02-02\VIDEO_TS\VTS_01_0.IFO
[23/01/2008 21:25:43] Output file: \\MULTIMEDIA\Data\DVD\Kingdom\Kingdom 02-02\VIDEO_TS\Kingdom 02-02.avi
[23/01/2008 21:25:43] Output codec: XviD
[23/01/2008 21:25:43] Audio 1: English AC3 2ch
[23/01/2008 21:25:43] Subtitles: none
[23/01/2008 21:25:43] Format: AVI
[23/01/2008 21:25:43] Target size: 350Mb
[23/01/2008 21:25:43] Custom resolution settings: fixed width of 640 pixels
[23/01/2008 21:25:43] Audio 1 settings: VBR MP3 with average bitrate: 128Kbps
[23/01/2008 21:25:43] Started encoding.
[23/01/2008 21:25:43] Demuxing and indexing.
[23/01/2008 21:27:34] Processing file: \\MULTIMEDIA\Data\DVD\Kingdom\Kingdom 02-02\VIDEO_TS\VTS_01_1.VOB
[23/01/2008 21:27:34] Source resolution: 704x576
[23/01/2008 21:27:34] Found PAL source.
[23/01/2008 21:27:34] Source aspect ratio: 4:3
[23/01/2008 21:27:34] Analyzing source.
[23/01/2008 21:29:18] Source has percentage of interlacing in motion areas: 0.00
[23/01/2008 21:29:18] Source is considered to be progressive.
[23/01/2008 21:29:18] Output will contain 69650 frames
[23/01/2008 21:29:18] Decoding audio.
[23/01/2008 21:30:17] Normalizing audio.
[23/01/2008 21:31:21] Encoding audio.
[23/01/2008 21:38:23] Audio1 size: 38,531,904 bytes (36.75 Mb)
[23/01/2008 21:38:23] Overhead: 2,786,048 bytes (2.66 Mb)
[23/01/2008 21:38:23] Video size: 325,683,648 bytes (310.60 Mb)
[23/01/2008 21:38:23] Running compressibility test.
[23/01/2008 21:38:23] Writing the following script to \\MULTIMEDIA\Data\DVD\Kingdom\Kingdom 02-02\VIDEO_TS\agk_tmp\Kingdom 02-02_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
movie = mpeg2source("\\MULTIMEDIA\Data\DVD\Kingdom\Kingdom 02-02\VIDEO_TS\agk_tmp\Kingdom 02-02.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 = 2.18181818181818
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 = 640
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(300,15)
===========================================================
[23/01/2008 21:40:17] Duration was: 1 minute, 54 seconds
[23/01/2008 21:40:17] Speed was: 30.54 fps.
*************************************
EXCEPTION: Open avi failed.
*************************************
[23/01/2008 21:40:17] Job finished. Total time: 14 minutes 34 seconds
superdragonpoop
10th February 2008, 03:49
I also just came across this problem. In my case AutoGK was detecting the incorrect AR. I canceled the job and forced the correct AR, then proceeded with the encode and received the error. I was able to play the comptest avi. I fixed the issue with a reboot. If it helps, here's the log:
[2/9/2008 7:29:42 PM] AutoGK 2.48b
[2/9/2008 7:29:42 PM] OS: WinXP (5.1.2600).2
[2/9/2008 7:29:42 PM] Job started.
[2/9/2008 7:29:42 PM] Input file: E:\Ripped\movie\VIDEO_TS\VTS_01_1.VOB
[2/9/2008 7:29:42 PM] Output file: E:\Ripped\movie\xxxxxx.avi
[2/9/2008 7:29:42 PM] Output codec: XviD
[2/9/2008 7:29:42 PM] Audio 1: Audio Stream 0 AC3
[2/9/2008 7:29:42 PM] Subtitles: none
[2/9/2008 7:29:42 PM] Format: AVI
[2/9/2008 7:29:42 PM] Target size: 2000Mb
[2/9/2008 7:29:42 PM] Audio 1 settings: Original
[2/9/2008 7:29:42 PM] Started encoding.
[2/9/2008 7:29:42 PM] Demuxing and indexing.
[2/9/2008 7:32:58 PM] Processing file: E:\Ripped\movie\VIDEO_TS\VTS_01_1.VOB
[2/9/2008 7:32:58 PM] Source resolution: 720x480
[2/9/2008 7:32:58 PM] Found NTSC source.
[2/9/2008 7:32:58 PM] Source aspect ratio: 4:3
[2/9/2008 7:32:58 PM] Manual aspect ratio: 16:9
[2/9/2008 7:32:58 PM] Source seems to be pure FILM.
[2/9/2008 7:32:58 PM] Color correction enabled.
[2/9/2008 7:32:58 PM] Output will contain 137478 frames
[2/9/2008 7:32:58 PM] Audio1 size: 320,922,112 bytes (306.06 Mb)
[2/9/2008 7:32:58 PM] Overhead: 955,648 bytes (0.91 Mb)
[2/9/2008 7:32:58 PM] Video size: 1,775,274,240 bytes (1693.03 Mb)
[2/9/2008 7:32:58 PM] Running compressibility test.
[2/9/2008 7:32:58 PM] Writing the following script to E:\Ripped\movie\agk_tmp\xxxxxx_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
movie = mpeg2source("E:\Ripped\bridge to terabithia\agk_tmp\bridge.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)
out_width = 704
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)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false,threads=0)
SelectRangeEvery(300,15)
===========================================================
[2/9/2008 7:39:10 PM] Duration was: 6 minutes 11 seconds
[2/9/2008 7:39:10 PM] Speed was: 18.49 fps.
*************************************
EXCEPTION: Open avi failed.
*************************************
[2/9/2008 7:39:10 PM] Job finished. Total time: 9 minutes 27 seconds
Then after reboot:
[2/9/2008 7:44:43 PM] AutoGK 2.48b
[2/9/2008 7:44:43 PM] OS: WinXP (5.1.2600).2
[2/9/2008 7:44:43 PM] Job started.
[2/9/2008 7:44:43 PM] Input file: E:\Ripped\movie\VIDEO_TS\VTS_01_1.VOB
[2/9/2008 7:44:43 PM] Output file: E:\Ripped\movie\xxxxxx.avi
[2/9/2008 7:44:43 PM] Output codec: XviD
[2/9/2008 7:44:43 PM] Audio 1: Audio Stream 0 AC3
[2/9/2008 7:44:43 PM] Subtitles: none
[2/9/2008 7:44:43 PM] Format: AVI
[2/9/2008 7:44:43 PM] Target size: 2000Mb
[2/9/2008 7:44:43 PM] Audio 1 settings: Original
[2/9/2008 7:44:43 PM] Started encoding.
[2/9/2008 7:44:43 PM] Demuxing and indexing.
[2/9/2008 7:47:28 PM] Processing file: E:\Ripped\movie\VIDEO_TS\VTS_01_1.VOB
[2/9/2008 7:47:28 PM] Source resolution: 720x480
[2/9/2008 7:47:28 PM] Found NTSC source.
[2/9/2008 7:47:28 PM] Source aspect ratio: 4:3
[2/9/2008 7:47:28 PM] Manual aspect ratio: 16:9
[2/9/2008 7:47:28 PM] Source seems to be pure FILM.
[2/9/2008 7:47:28 PM] Color correction enabled.
[2/9/2008 7:47:28 PM] Output will contain 137478 frames
[2/9/2008 7:47:28 PM] Audio1 size: 320,922,112 bytes (306.06 Mb)
[2/9/2008 7:47:28 PM] Overhead: 955,648 bytes (0.91 Mb)
[2/9/2008 7:47:28 PM] Video size: 1,775,274,240 bytes (1693.03 Mb)
[2/9/2008 7:47:28 PM] Running compressibility test.
[2/9/2008 7:53:25 PM] Duration was: 5 minutes 56 seconds
[2/9/2008 7:53:25 PM] Speed was: 19.26 fps.
[2/9/2008 7:53:25 PM] Compressibility percentage is: 74.38
[2/9/2008 7:53:25 PM] Chosen resolution is: 704x384 ( AR: 1.83 )
[2/9/2008 7:53:25 PM] Predicted comptest value is: 74.38%
[2/9/2008 7:53:25 PM] Running first pass.
[2/9/2008 8:54:47 PM] Duration was: 1 hour, 1 minute, 21 seconds
[2/9/2008 8:54:47 PM] Speed was: 37.35 fps.
[2/9/2008 8:54:47 PM] Expected quality of first pass size: 72.57%
[2/9/2008 8:54:47 PM] Running second pass.
Thanks Len0x for the awesome tool! If I can assist you in any way just let me know.
kimblebear
23rd February 2008, 20:10
I'm still having major problems with this - cannot get it to work ( I've built hundreds of avi's over the past few years) - are you saying the fault is indicated by the ? after out_height = (hmod > 4)
If so, what exactly did you do to correct the fault?
I can already play the comptest.avi - but rebooting seems to make no difference and I still get exactly the same error
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.