PDA

View Full Version : Problems with Preview and indexing (?)


dr.Prozac
29th June 2004, 23:44
Forgive me. I know my English is not perfect. But I hope You will understand.
I use AutoGK 1.25 stabile with 1.44 update and it has some problems with indexing input (or subtitles). Naturally, I use DVD Decrypter with IFO Mode first. Then I open AutoGK, select input and name of my output file (.avi), select audio and subtitles and finally I want to see the Preview. Then I see that the process of indexing has been started, so I'm waiting for a preview and after 10 minutes (after finish of indexing input and at the beginning of indexing subtitles)I see an announcement in the Log Window:
EXCEPTION:Cannot open file C:\"my folder with VOB's"\gk_tmp\"my film's name".idx

after that the program finishes it's working:

Job finished

It is strange that this problem concerns not every DVD film. I tried to reinstall AutoGK, restart computer, install only 1.25 stabile version, but it doesn't help.
For example - I have 4 different oryginal DVD films. Their quality is very good. They are new and not detected (I checked them by Nero DVD-CD Speed). They were bought in the same place. Two of them I have already converted to AVI without any problem. Why do I have problems with the others 2 films. I tried to get a Preview without selecting any subtitles in the main screen. Then, after indexing input my Windows Media Player opens and there is nothing on it's screen. Just black screen.
Thank You for all Your answers and advices.
Greetings

len0x
30th June 2004, 11:42
please post you log, stream info file and input directory structure for the movie having problems with subs.

dr.Prozac
30th June 2004, 14:39
This is the contents of my Stream Info file:

0x20 - Subtitle - Polish - [SubPicture 01: Wide/Letterbox] / LBA: 16662 / PTS: 00:01:07.847 / Delay: 67560ms
0x80 - Audio - AC3 / 6ch / 48kHz / DRC / English / LBA: 118 / PTS: 00:00:00.287 / Delay: 0ms
0xE0 - Video - MPEG-2 / 720x576 (PAL) / 16:9 / Letterboxed / LBA: 2068219 / PTS: 00:00:00.287 / Delay: 0ms

And this is what my input directory includes before using AutoGK (just after DVD Decrypter's job):

VTS_01_PGC_01 - Stream
VTS_01_0.IFO
VTS_01_PGC_01_1
VTS_01_PGC_01_2
VTS_01_PGC_01_3
VTS_01_PGC_01_4

And this is the contents of the same directory after using AutoGK to get a Preview (a Preview which finally I couldn't get):

gk_tmp
"name of my film"_agk
VTS_01_PGC_01 - Stream
VTS_01_0.IFO
VTS_01_PGC_01_0.ifo
VTS_01_PGC_01_1
VTS_01_PGC_01_2
VTS_01_PGC_01_3
VTS_01_PGC_01_4

gk_tmp includes:
"name of my film"_preview
vobsub.params

len0x
30th June 2004, 18:40
does "name of you film" include non-english characters ?

dr.Prozac
30th June 2004, 19:02
Yes, it includes one non-english (Polish) chracter.

len0x
30th June 2004, 19:03
try without it :)

dr.Prozac
30th June 2004, 19:09
Ok. I will try. Thank You for your help. See you later on the screen - I will write about the results.

dr.Prozac
30th June 2004, 20:28
I had Polish characters in the name of my output file and also in the name of my VOB's directory. So I changed them both into english characters.
Something is better now, because I saw full process of indexing input and full process of indexing subtitles ! And there was no wrong announcement in the Log Window.
But after indexing the Windows Media Player opened and there was only black screen. From far it looks all black, but when I look at the screen at quarters I can see more black (I mean darker) rectangle at the left upper corner of the Windows Media screen. I have no idea what is the problem.
I could get over the problem with indexing, by changing polish names of my files and directories. And I want to say thank You very much len0x.
Unfortunately, there is still a problem with a Preview. And I don't know if this problem concerns only Preview function or maybe it can cause that all converting process (all AutoGK's job) will be wrong. This is the reason I do not start the main conversion untill I see the correct Preview.

And here is what I found in my AviSynth Script after I had opened it using Notepad ("Rounders" - that's the name of my film):

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

movie = mpeg2source("C:\Rounders\gk_tmp\Rounders_preview.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34)
fixed_aspect = 1.42222222222222
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 = 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)
Undot()
VobSub("C:\Rounders\gk_tmp\Rounders.idx")
LanczosResize(out_width,out_height)

I thought I could be helpful.

Today I tried to open my AviSynth Script using SubEdit-Player and I have seen an announcement: "Invalid floating point operation".
I have no idea what is the problem so I'll be very grateful for any advice.