PDA

View Full Version : No burned subs in .avi...WHY??


dante
28th August 2005, 10:11
Hello to everyone in the forum (especially the "expert" ones :) )

I'll try to be very detailed.. I've been using AutoGK for some time (I'm not some amateur or sth), with only a few problems. But lately

I've come up with the same problem again and again and I hope I can find a way to solve this once and for all. A while ago I decided to

start burning the subs in the video, because I got tired extracting the with subrip and spellchecking them. Anyway, most of the times

everything work out fine. But a couple of times, the subtitles aren't there at all (!!). To be more specific, I've been working with a

movie for 2 days now, with no luck.. I tried choosing different subtitle streams, but no luck. I decided to do an experiment, rip just

the first 4-5 chapters of the movie, to save some time while I try many different settings. So I did, but still no subs. Tried switching to forced subs and different subtitles stream or .adjustsubs from hidden options, but nothing.. I'll post the

logfile and the VTS_01 - Stream Information.txt just in case it helps..

[27/8/2005 7:31:28 μμ] AutoGK 2.15b
[27/8/2005 7:31:28 μμ] OS: WinXP (5.1.2600).2
[27/8/2005 7:31:28 μμ] Job started.
[27/8/2005 7:31:28 μμ] Input file: C:\pfff\VTS_01_0.IFO
[27/8/2005 7:31:28 μμ] Output file: C:\pfff\test.avi
[27/8/2005 7:31:28 μμ] Output codec: XviD
[27/8/2005 7:31:28 μμ] Audio 1: English AC3 6ch
[27/8/2005 7:31:28 μμ] Subtitles 1: Greek : Wide
[27/8/2005 7:31:28 μμ] Format: .AVI
[27/8/2005 7:31:28 μμ] Target quality: 50%
[27/8/2005 7:31:28 μμ] Custom audio settings: Original
[27/8/2005 7:31:28 μμ] Standalone support enabled: MTK/Sigma
[27/8/2005 7:31:28 μμ] Started encoding.
[27/8/2005 7:31:28 μμ] Demuxing and indexing.
[27/8/2005 7:31:33 μμ] Processing file: C:\pfff\VTS_01_1.VOB
[27/8/2005 7:31:33 μμ] Source resolution: 720x576
[27/8/2005 7:31:33 μμ] Found PAL source.
[27/8/2005 7:31:33 μμ] Source aspect ratio: 16:9
[27/8/2005 7:31:33 μμ] Analyzing source.
[27/8/2005 7:32:08 μμ] Source has percentage of interlacing in motion areas: 0,00
[27/8/2005 7:32:08 μμ] Source is considered to be progressive.
[27/8/2005 7:32:08 μμ] Output will contain 8996 frames
[27/8/2005 7:32:08 μμ] Preparing subtitles.
[27/8/2005 7:32:14 μμ] Running single pass encoding.
[27/8/2005 7:32:14 μμ] Writing the following script to C:\pfff\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:\pfff\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)
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,bott

omadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
VobSub("C:\pfff\agk_tmp\test.idx")
===========================================================
[27/8/2005 7:42:17 μμ] Duration was: 10 minutes 2 seconds
[27/8/2005 7:42:17 μμ] Speed was: 14,92 fps.
[27/8/2005 7:42:17 μμ] Job finished. Total time: 10 minutes 48 seconds

and the other file
0x21 - Subtitle - Greek - [SubPicture 01: Wide] / LBA: 65036 / PTS: 00:03:18.581 / Delay: 198520ms
0x22 - Subtitle - Greek - [SubPicture 01: Letterbox] / LBA: 65035 / PTS: 00:03:18.581 / Delay: 198520ms
0x80 - Audio - AC3 / 6ch / 48kHz / DRC / English / LBA: 26 / PTS: 00:00:00.061 / Delay: 0ms
0xE0 - Video - MPEG-2 / 720x576 (PAL) / 16:9 / Letterboxed / LBA: 1 / PTS: 00:00:00.061 / Delay: 0ms


anyone have any clue??
I noticed something. In the agk_tmp dir, I checked the 2 subtitle files, the .idx and the .sub..
the one has contains this:
# VobSub index file, v7 (do not modify this line!)
#
# To repair desyncronization, you can insert gaps this way:
# (it usually happens after vob id changes)
#
# delay: [sign]hh:mm:ss:ms
#
# Where:
# [sign]: +, - (optional)
# hh: hours (0 <= hh)
# mm/ss: minutes/seconds (0 <= mm/ss <= 59)
# ms: milliseconds (0 <= ms <= 999)
#
# Note: You can't position a sub before the previous with a negative value.
#
# You can also modify timestamps or delete a few subs you don't like.
# Just make sure they stay in increasing order.


# Settings

# Original frame size
size: 720x576

# Origin, relative to the upper-left corner, can be overloaded by aligment
org: 0, 0

# Image scaling (hor,ver), origin is at the upper-left corner or at the alignment coord (x, y)
scale: 100%, 100%

# Alpha blending
alpha: 100%

# Smoothing for very blocky images (use OLD for no filtering)
smooth: OFF

# In millisecs
fadein/out: 50, 50

# Force subtitle placement relative to (org.x, org.y)
align: OFF at LEFT TOP

# For correcting non-progressive desync. (in millisecs or hh:mm:ss:ms)
# Note: Not effective in DirectVobSub, use "delay: ... " instead.
time offset: 0

# ON: displays only forced subtitles, OFF: shows everything
forced subs: OFF

# The original palette of the DVD
palette: e83f07, e19120, f3c71b, f8ff18, 9bd22a, 54a530, 12eb12, 15bef6, 0300e3, 4c0353, c12262, ffffff, b3b3b3, 808080, 4e4e4e, 000000

# Custom colors (transp idxs and the four colors)
custom colors: OFF, tridx: 0000, colors: 000000, 000000, 000000, 000000

# Language index in use
langidx: 1

while the .sub file is EMPTY (!!!). For some reason, it doesn't seem to extract the subs at all (although it says "preparing subtitles"

and spends some time working)

I thought that maybe there is some problem with the DVD authoring, so I tried re-authoring the DVD with DVD Shrink keeping only the main

movie (followed again by ifo image and AutoGK), but nothing changed.. Isn't there any other way to check/correct bad authoring?? The subtitles play ok in the DVD, so I hope that something can be done..

I know there is another way, to use an external .srt file burn in the movie, but I didn't like the font. the border is too "fat", and

there is a shadow. So I'm wondering if there is anything else I could do...

dante
28th August 2005, 17:56
is it hopeless?? Noone can help me?? I tried 2.16b but nothing..

buzzqw
28th August 2005, 19:53
just a hint

your test is short, only 8996 frames

is possible that subs will appear later ?

BHH

dante
28th August 2005, 20:35
I first tried with the whole movie.. The preview did not contain the subs.

Then I kept the first 2-3 pcgs, and of course there WAS some dialog there. I tried preview and full encode, but no subs..

Is there any way to rip the sub with VobSubRip and use the idx and sub file I get in AutoGK??

buzzqw
28th August 2005, 22:35
question: there are any other subs in movie ? if yes try with one of these

(just for security, or try another film)

BHH

with vsrip you can rip all subs you want but for muxing... i suggest to use matroska

use matroska gui, add avi+audio+idx : got a playable mkv

hope that help !

BHH

dante
29th August 2005, 09:36
There are only 2 language streams, but it's the same language (widescreen-letterbox). I tried both streams..

or try another film
I tried.. I've encoded 20-25 movies the last 2 weeks, I encountered the same problems 2 or 3 times more.. The thing is, that they are DVDs that came with magazines. So I thing maybe it's a matter of bad authoring (the subs play OK in PowerDVD though).. Isn't there a way to re-author the DVD fixing that kind of issues??

with vsrip you can rip all subs you want but for muxing... i suggest to use matroska
use matroska gui, add avi+audio+idx : got a playable mkv

I'm not that experienced.. I've tried a couple times in the beginning with GordianKnot and DVDx, but then I got stuck with AutoGK, because...well..it's auto :)

The other way is to use AutoGK without subs, and then re-encode in Vdubmod with vobsub (or something like that, I don't remember the name) filter. But I'd like to avoid the 2nd encoding to avoid quality loss..

buzzqw
29th August 2005, 12:23
Isn't there a way to re-author the DVD fixing that kind of issues??

try reathor (in no compression mode) with dvdshrink, the go to autogk

probably is an authoring problem.

as you said encoding and the reencoding isn't a good think, try with matroska (isn't so difficult :rolleyes: )

BHH

dante
29th August 2005, 12:57
from my original post
I thought that maybe there is some problem with the DVD authoring, so I tried re-authoring the DVD with DVD Shrink keeping only the main movie (followed again by ifo image and AutoGK), but nothing changed..

matroska is for DivX/XviD authoring??

len0x
1st September 2005, 21:56
Is there any way to rip the sub with VobSubRip and use the idx and sub file I get in AutoGK??

yes, CTRL-F8 (if you manage to get vobsub working on those vobs...)

dante
2nd September 2005, 04:53
I figured out what was the problem.. In some DVD that come with magazines there is a "subtitles mapping" problem (if I'm saying it correctly). The subtitle streams start from 0x21 instead of 0x20.. I chose remaping to 0x20 through DVD Decrypter, edited the stream_information text file and the problem was solved..