Log in

View Full Version : Bad index file


gust0208
15th January 2005, 08:54
Hello everyone,

I am a new user to this program (during an apparently controversial period) and previously used Dr. Divx for video conversion but I like the superior quality of Xvid. I have installed the latest beta 1.86 (and removed the adware) and can successully run the program. But after loading a valid mpg file (video mpeg1 and mpeg2 audio) and starting the conversion, it will error out and state in the log that it is a "Bad Index File" error, the log entry is below:

[15/01/2005 1:51:44 AM] Job started.
[15/01/2005 1:51:44 AM] Input file: DuckTales - 065 - The Uncrashable Hindentanic (fixed).mpg
[15/01/2005 1:51:44 AM] Output file: F:\TV shows\Cartoons\Duck Tales\DuckTales - 065 - The Uncrashable Hindentanic (fixed).avi
[15/01/2005 1:51:44 AM] Audio: Unknown Audio
[15/01/2005 1:51:44 AM] Subtitles: none
[15/01/2005 1:51:44 AM] Codec: XviD
[15/01/2005 1:51:44 AM] Target quality: 100%
[15/01/2005 1:51:44 AM] Started encoding.
[15/01/2005 1:51:44 AM] Demuxing and indexing.
*************************************
EXCEPTION: Bad index file.
*************************************
[15/01/2005 1:52:29 AM] Job finished.

I have tried multiple valid mpeg files and have received the same error every time. I tried searching this forum for hints about "bad index files" and had no luck.

Any help would be greatly appreciated.

Cheers,
Tom

len0x
15th January 2005, 18:06
:readfaq: Q 6.15

kisav
15th July 2008, 18:22
I know this is an old thread but I got this error using the latest stable and beta (2.48b) ver of AGK

Not totaly true...
:readfaq: Q 6.15

I have perfectly playable vob file. Yet I'm getting this error msg as well. DGIndex creates *.d2v.bad file and *.fix.txt. under agk_tmp folder. After I've renamed vob file to have no spaces and chage it from cyrillic code page to english it started encoding. It still creates *.d2v.bad file and *.fix.txt files. But it works fine.


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

movie = mpeg2source("J:\Кинэ\Морозов\agk_tmp\01 серия.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 = 592
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
LeakKernelDeInt(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)
BicubicResize(out_width,out_height,0,0.5)
RemoveGrain(mode=2)

changed to:
movie = mpeg2source("J:\Кинэ\Морозов\agk_tmp\VTS_01_01.d2v")