PDA

View Full Version : Subtitles not showing up


xcy73
18th October 2006, 09:19
I tried converting a DVD to AVI and selected a subtitle track, but the resulting video does not show up the subtitles. Same thing happens with the preview. No errors or anything strange appears in the logs. I am using version 2.35 beta.

len0x
18th October 2006, 20:48
If 2.27 doesn't have such problem then I know why.

xcy73
18th October 2006, 22:52
I removed 2.35 and installed 2.27 and I ran a preview, but still couldn't see any subtitles. Is preview supposed to show subtitles? In the agk_tmp folder there is a .sub file, but the file size is zero. The preview log file shows nothing strange:

[18/10/2006 23:40:18] AutoGK 2.27
[18/10/2006 23:40:18] OS: WinXP (5.1.2600).2
[18/10/2006 23:40:18] Job started.
[18/10/2006 23:42:24] Processing file: C:\Documents and Settings\user\Desktop\TEST\VIDEO_TS\VTS_01_1.VOB
[18/10/2006 23:42:24] Processing file: C:\Documents and Settings\user\Desktop\TEST\VIDEO_TS\VTS_01_2.VOB
[18/10/2006 23:42:24] Processing file: C:\Documents and Settings\user\Desktop\TEST\VIDEO_TS\VTS_01_3.VOB
[18/10/2006 23:42:24] Processing file: C:\Documents and Settings\user\Desktop\TEST\VIDEO_TS\VTS_01_4.VOB
[18/10/2006 23:42:24] Source resolution: 720x576
[18/10/2006 23:42:24] Found PAL source.
[18/10/2006 23:42:24] Source aspect ratio: 16:9
[18/10/2006 23:42:24] Output will contain 201556 frames
[18/10/2006 23:44:41] Job finished. Total time: 4 minutes 23 seconds

CWR03
18th October 2006, 23:09
Preview won't show subs.

xcy73
18th October 2006, 23:37
I am going to run a complete job again and see if it works with 2.27.

xcy73
19th October 2006, 11:04
Same problem happens with 2.27.

2006 00:25:59] AutoGK 2.27
[19/10/2006 00:25:59] OS: WinXP (5.1.2600).2
[19/10/2006 00:25:59] Job started.
[19/10/2006 00:25:59] Input file: C:\Documents and Settings\user\Desktop\TEST\VIDEO_TS\VTS_01_0.IFO
[19/10/2006 00:25:59] Output file: C:\Documents and Settings\user\Desktop\TEST.avi
[19/10/2006 00:25:59] Output codec: XviD
[19/10/2006 00:25:59] Audio 1: English AC3 6ch
[19/10/2006 00:25:59] Subtitles 1: Greek wide
[19/10/2006 00:25:59] Format: .AVI
[19/10/2006 00:25:59] Target size: 1400Mb
[19/10/2006 00:25:59] Custom audio settings: CBR MP3 with bitrate: 128Kbps
[19/10/2006 00:25:59] Started encoding.
[19/10/2006 00:25:59] Demuxing and indexing.
[19/10/2006 00:28:08] Processing file: C:\Documents and Settings\user\Desktop\TEST\VIDEO_TS\VTS_01_1.VOB
[19/10/2006 00:28:08] Processing file: C:\Documents and Settings\user\Desktop\TEST\VIDEO_TS\VTS_01_2.VOB
[19/10/2006 00:28:08] Processing file: C:\Documents and Settings\user\Desktop\TEST\VIDEO_TS\VTS_01_3.VOB
[19/10/2006 00:28:08] Processing file: C:\Documents and Settings\user\Desktop\TEST\VIDEO_TS\VTS_01_4.VOB
[19/10/2006 00:28:08] Source resolution: 720x576
[19/10/2006 00:28:08] Found PAL source.
[19/10/2006 00:28:08] Source aspect ratio: 16:9
[19/10/2006 00:28:08] Analyzing source.
[19/10/2006 00:34:59] Source has percentage of interlacing in motion areas: 0.41
[19/10/2006 00:34:59] Source is considered to be progressive.
[19/10/2006 00:34:59] Output will contain 201556 frames
[19/10/2006 00:34:59] Decoding audio.
[19/10/2006 00:39:32] Normalizing audio.
[19/10/2006 00:42:05] Encoding audio.
[19/10/2006 00:59:53] Preparing subtitles.
[19/10/2006 01:01:35] Audio1 size: 128,997,120 bytes (123.02 Mb)
[19/10/2006 01:01:35] Overhead: 2,393,472 bytes (2.28 Mb)
[19/10/2006 01:01:35] Video size: 1,336,615,808 bytes (1274.70 Mb)
[19/10/2006 01:01:35] Running compressibility test.
[19/10/2006 01:01:35] Writing the following script to C:\Documents and Settings\user\Desktop\agk_tmp\TEST_comptest.avs
===========================================================
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\RemoveGrainSSE2.dll")

movie = mpeg2source("C:\Documents and Settings\user\Desktop\agk_tmp\TEST.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)
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)
VobSub("C:\Documents and Settings\user\Desktop\agk_tmp\TEST.idx")
SelectRangeEvery(300,15)
===========================================================
[19/10/2006 01:08:07] Duration was: 6 minutes 32 seconds
[19/10/2006 01:08:07] Speed was: 25.70 fps.
[19/10/2006 01:08:07] Compressibility percentage is: 80.00
[19/10/2006 01:08:07] Chosen resolution is: 720x320 ( AR: 2.25 )
[19/10/2006 01:08:07] Predicted comptest value is: 74.31%
[19/10/2006 01:08:07] Running first pass.
[19/10/2006 01:08:07] Writing the following script to C:\Documents and Settings\user\Desktop\agk_tmp\TEST_movie.avs
===========================================================
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\RemoveGrainSSE2.dll")

movie = mpeg2source("C:\Documents and Settings\user\Desktop\agk_tmp\TEST.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)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 720
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)
VobSub("C:\Documents and Settings\user\Desktop\agk_tmp\TEST.idx")
===========================================================
[19/10/2006 02:30:21] Duration was: 1 hour, 22 minutes 14 seconds
[19/10/2006 02:30:21] Speed was: 40.85 fps.
[19/10/2006 02:30:22] Expected quality of first pass size: 78.35%
[19/10/2006 02:30:22] Running second pass.
[19/10/2006 04:27:59] Duration was: 1 hour, 57 minutes 36 seconds
[19/10/2006 04:27:59] Speed was: 28.56 fps.
[19/10/2006 04:27:59] Splitting video into: C:\Documents and Settings\user\Desktop\TEST.cd1.avi
[19/10/2006 04:29:05] Splitting video into: C:\Documents and Settings\user\Desktop\TEST.cd2.avi
[19/10/2006 04:30:03] Job finished. Total time: 4 hours 4 minutes 4 seconds

unskinnyboy
19th October 2006, 16:36
Preview won't show subs.It will, if the subs are selected for the preview.

I removed 2.35 and installed 2.27 and I ran a preview, but still couldn't see any subtitles. Is preview supposed to show subtitles? In the agk_tmp folder there is a .sub file, but the file size is zero.Sounds like the subs are screwed up or bogus since you said the file size is zero. Can you open the corresponding .idx in Notepad and tell us what's in there? How many subtitle tracks are there in the DVD? If there is anymore than this one, then try with those. Also, try ripping the subs separately outside of AutoGK with VobSub just to confirm that the issue is not related to AutoGK but to the subtitle track itself - you should get the 0 byte file with VobSub too.

xcy73
19th October 2006, 17:26
First time I tried there were several subtitle tracks on the DVD, but then I used Nero to remove the rest and just leave the one I wanted. Unfortunately I deleted the corresponding .idx so I can't open it. But I remember that the size of the .sub file was again zero. I tried ripping the DVD using DVDx and everything works fine.

shug33
20th October 2006, 00:28
Today I ripped The Lake House with 2.35b, and the subtitles didn't show. To be sure, I deleted all the AGK files and carefully set up AGK again to pick up the English subs. The preview showed two sets, one in the right place and the 2nd in the lower left corner. After encoding, there were no subs when I played the resultant .avi file. You have updated AGK several times since I last used it, so that I can't tell you the last version I used successfully; but I haven't had any problem with the subs in the past. I can post the log if you think it would help.

The .sub file is 2,768 KB; there is a 50KB .idx file.

kilivipin
20th October 2006, 16:48
I ripped Delicatessen last night and had problems with external subs. I did not bring my logfile with me, if required, I can upload on monday. I am using 2.35b.

I wanted to include two english subtitles. When I ran the preview, one english subtitle showed up, and I assumed that this was normal. When the upload was done, however, only one sub was present in the rip and it was neither of the english ones, but the portuguese!

I didn't want to have to re-rip, so I tried again, but stopped the encode after the subs were created. i selected the same subs this time, and I STILL GOT THE PORTUGUESE.

I tried that same process once more, and this time I selected both english tracks and both portuguese tracks. This time, all four were created and all was well. I apologise for not bringing in my logfile. I am not at my home PC. If I see a reply to this thread on monday, I will upload the logfile.

shug33
20th October 2006, 20:48
Please see my 1st msg above.

Today I unistalled AGK v2.35b, Xvid, and VobSub; then installed the full version download of AGK v2.27. I then re-encoded 'The Lake House' with v2.27 using the same ripped VOB's that I had used with v2.35b.

This time the Subtitles appear in the final .avi file just fine. I also note that the .sub file resulting from both versions is the same size: 2,768 KB. Therefore, it appears that both versions derive the same .sub file, but v2.35 does not burn it into the final .avi.

When I ripped the movie, I only ripped the english subtitles altho there were, I think, 4 sets of subtitles present.

The DVD was ripped using RipIt4me v1.5.2.0, movie only option, with all the steps invoked.

I hope this helps.

len0x
22nd October 2006, 22:27
now try version 2.36...

shug33
23rd October 2006, 20:57
len0x, thanks a lot!
I tried v 2.36b and the subtitles are fine. Many thanks for your fine AGK, too.
Regards, George

fearofmimes
25th October 2006, 01:58
I started having trouble with subtitles a week ago while still using 2.27. As a result, I upgraded to version 2.36b and have tried several subtitles since and have had the same problem: no subtitles displayed in the generated file. I have verified the logs to make sure that I did not forget to select the subs and I see the "Preparing subtitles" message, so that's not the problem.

When I look at the agk_tmp directory from the last encoding session with subtitles, I see that there is no mention of subtitles in the idx file and the sub file is empty. I have inspected other efforts, however, and had the same problem with subtitles even when the sub file was not empty.

xcy73
25th October 2006, 19:19
I am facing exactly the same problem as fearofmimes.

theojoris
31st October 2006, 11:16
Same problem overhere did a test with dvbd2svcd same movie and the subs are showing up but with a warning that the subs are not in the ifo file.