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
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.