PDA

View Full Version : Gordian Knot 0.28.8 Subtitles


Kishen
12th July 2004, 11:54
Friends...I'm almost ready to give up on this. I've searched through this forum AND the net like a banshee but I haven't found anything helpful. At the settings I'm using, it takes 30 hours to make 1 movie, and I've tried making 1 movie 3 times now, but my problem persists.

I'm trying to make a rip of a movie that is supposed to have subtitles in someplaces when they don't speak English (Forced Subtitles) like the do in The Last Samurai when they speak Japanese or The Mummy Returns when they speak Ancient Egyptian.

I've used VobSub and made idx+sub files. I've positioned them JUST below the movie's edge using VobSub while playing the movie (My first rip which turned out without the subs).

Now I'm trying to start fresh...Encode the movie AGAIN and add the subtitles in there. I'm using Gordian Knot by the way.

When you press the Save & Encode button the page pops up with resize and deinterlace settings and also the subtitle option. I haven't a clue what I need to do there. Someone please run me through this.

Please please please do NOT point me to Doom9s or any other halfwit guide for this, because I've looked all over the place and I couldn't find one that made ANY sense. Agreed, some of D9s guides are good, but most are badly written.

Please help me out on this...even if it means giving me a had through the rip setup...I'll REALLY appreciate it.

Thanks

manono
12th July 2004, 12:36
Hello, and welcome to the forum-

Getting the subs into the movie is a 2-step process. First you have to create the subs (the .idx and .sub files), and you then have to get them into the .avs to be encoded onto the video.

1. Making the subs: here's Doom9's guide:

http://www.doom9.org/dvobsub.htm

Forget the command line stuff, and start reading where it says, Press open and specify the IFO from your movie. So, go to the Subtitle Tab of GKnot, choose the IFO, choose a destination folder, choose a language, and hit "OK". Wait a few minutes, and you should see a couple of new files in the movie folder. I guess you already did all that.

2. Getting them into the movie: In the Save And Encode area where you create the .avs, check "Select VobSub Files", and pick the .idx that was created. But before wasting all the time encoding, either play the Preview, or save the .avs and open it in VDubMod to make sure you have the subs you want, and they're positioned to your liking.

But you're going for Forced Subs. They can be one of 2 places. Either they have their own separate subtitle stream, and you choose that one back in the Subtitle Tab (and they're sometimes listed under a wrong language-it's kind of trial and error), or they're part of the main sub stream. If you're seeing all the subs, and not just the Forced Subs, then open the .idx in Notepad, and where it says:

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

change the OFF to ON, and test again in the Preview or VDubMod.

I've positioned them JUST below the movie's edge

So, did you keep some of the black bars below the video on which to display them? If not, then of course you didn't get any subs showing up.

...most are badly written

I'd be very careful if I were you.

Kishen
12th July 2004, 14:09
Originally posted by manono
In the Save And Encode area where you create the .avs, check "Select VobSub Files", and pick the .idx that was created.


Ok...should I set it for Before Resizing, After Borders, or before Cropping?

Also, my subs are a separate stream. I used a small app called VobSubStrip to remove the other subtitles in the idx+sub and only leave the one I need (So as to avoid mistakes and confusion). I'm going to try out the default settings first.

When I play one of the avis I created earlier along with the idx+sub files I've made, they work perfectly and the subs show up...right where I want them too.

Anyways...thanks for all your help, and I apologize for my statement about how badly written the guides are. This one you've written is quite nice though. Just hope I don't have to get back to you if this doesn't work...meaning I hope this works :)

Thanks again

Kishen
12th July 2004, 14:32
Originally posted by manono
But before wasting all the time encoding, either play the Preview, or save the .avs and open it in VDubMod to make sure you have the subs you want, and they're positioned to your liking.

The preview isn't working...neither using the preview button, nor with VirtualDubMod. When I press the preview button I see nothing...the video won't play. When I save the AVS and open it in VDM (I even tried selecting 'Preview Filtered') I don't see the subs.

Do I need to add filter files to VDM or something? Where can I get these files and where do I put them?

Please help :(

Thanks

manono
12th July 2004, 16:31
Hi-

should I set it for Before Resizing, After Borders, or before Cropping?

It's done automatically. You don't have to set anything. Personally, I put mine after the Resize, but it doesn't have anything to do with whether or not they show up.

OK, the subs don't show up. Lets find out why. First, were the subs actually created? Open the .idx file and below all the stuff on top, are there any timestamps? They should look like this:

# Vob/Cell ID: 1, 2 (PTS: 74607)
timestamp: 00:01:26:386, filepos: 000000000

And there should be one for each line of Forced Subs.

Next, let's make sure you didn't put them too low. In the .idx file, where it says:

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

If you have something besides "0" for that boldfaced number, change it back to "0" temporarily, save the .idx, and open the .avs in VDubMod again and scroll to someplace where the subs should show up. Do you see them yet? If not, let's examine the .avs. You need 2 lines operating for them to show up. You need to load the VSFilter. So, up near the top, you should have something like this:

LoadPlugin("C:\Path\To\VSFilter.dll")

with no "#" in front of it. And further down you should have the VobSub line:

# SUBTITLES
VobSub("C:\Path\To\Subs")

Again, with no "#" in front. And lastly, if nothing above is wrong, in the off chance that these are from a PAL DVD (you didn't say), in the .idx where it says:

# Original frame size
size: 720x480

change that 480 to 576, save the .idx, and open the .avs again and see if the Forced Subs show up.

And if none of those things work, I'd say make the subs again, and don't run them through VobSubStrip this time. Just choose the Forced Subs in the VobSub Configure of GKnot. I hope one of those suggestions works. I'm running out of ideas here. Good luck.

Kishen
12th July 2004, 20:55
It's done automatically. You don't have to set anything. Personally, I put mine after the Resize, but it doesn't have anything to do with whether or not they show up

I put mine After Borders.

OK, the subs don't show up. Lets find out why. First, were the subs actually created?

I checked and double checked. I opened the IDX file in Notepad, and saw the lines. I opened it in SubResync and saw the time stamps and the lines that I needed. I even took one of my earlier rips (The one without the subs) and played the subs with it and I see the subs (DirectVovSub).

And there should be one for each line of Forced Subs

I used Vob Sub to actually move them back ONTO the video instead of directly under it, but I still tried what you said and tried with an Intact VobSub set (I made sure the origin figures were 0, 0.

Do you see them yet? If not, let's examine the .avs. You need 2 lines operating for them to show up.

I checked the two lines, and they're ok. There is no # before those lines.

Original frame size is 720x576 (Yes it is PAL...sorry I forgot to mention that).

This is the first time I used VobSubStrip. The last two times I had used the original VobSub files, unedited.

I think I'm going to put up my avs and idx files here so you can have a look.

Thanks for all your help. Very kind of you :D

AVS
#
# Created with Gordian Knot
#
# http://gknot.doom9.org
#
# PLUGINS
LoadPlugin("C:\PROGRA~1\Media\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\Media\GORDIA~1\undot.dll")
#LoadPlugin("C:\PROGRA~1\Media\GORDIA~1\decomb.dll")
#LoadPlugin("C:\PROGRA~1\Media\GORDIA~1\KernelDeInt.dll")
#LoadPlugin("C:\PROGRA~1\Media\GORDIA~1\dgbob.dll")
#LoadPlugin("C:\PROGRA~1\Media\GORDIA~1\Convolution3d.dll")
#LoadPlugin("C:\PROGRA~1\Media\GORDIA~1\FluxSmooth.dll")
#LoadPlugin("C:\PROGRA~1\Media\GORDIA~1\TomsMoComp.dll")
LoadPlugin("C:\PROGRA~1\Media\GORDIA~1\VSFilter.dll")
#LoadPlugin("C:\PROGRA~1\Media\GORDIA~1\SimpleResize.dll")
#
# SOURCE
mpeg2source("C:\Documents and Settings\CENSORED\Desktop\Rip\The Last Samurai\The Last Samurai.d2v")
#
# TRIM
trim(0,207876)
#
# IVTC
#Telecide(order=1,guide=1).Decimate()
# or use
#IVTC(44,11,95)
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# CROPPING
crop(8,78,700,420)
#
# DEINTERLACING (1)
#FieldDeinterlace()
#FieldDeinterlace(blend=false)
#TomsMoComp(1,5,1)
#
# DEINTERLACING (2)
#KernelDeInt(order=1,sharp=true)
# or maybe
#DGBob(order=1,mode=0)
# DEINTERLACING (3) - special requests
#GreedyHMA(1,0,0,0,0,0,0,0)
#Telecide()
#SeparateFields()
#
#
Undot()
#
# DENOISING: choose one combination (or none)
# 1) little noise
#Temporalsoften(2,3,3,mode=2,scenechange=6)
#mergechroma(blur(1.3))
#FluxSmooth(5,7)
#
# 2) medium noise
#Temporalsoften(3,5,5,mode=2,scenechange=10)
#Convolution3d("moviehq")
#FluxSmooth(7,7)
#
# 3) heavy noise
#Temporalsoften(4,8,8,mode=2,scenechange=10)
#Convolution3d("movielq")
#FluxSmooth(10,15)
#
# RESIZING
LanczosResize(608,256)
#
# BORDERS
#AddBorders(left,top,right,bottom)
#
# SUBTITLES
VobSub("C:\Documents and Settings\CENSORED\Desktop\Rip\The Last Samurai\VTS_01_0")
#
# COMPRESSIBILITY CHECK
# !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)
#
# FOOL CCEnc


IDX
# 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: ON

# In millisecs
fadein/out: 50, 50

# Force subtitle placement relative to (org.x, org.y)
align: ON 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: ON

# The original palette of the DVD
palette: 000000, 828282, 828282, 828282, 828282, 828282, 828282, ffffff, 828282, bababa, 828282, 828282, 828282, 828282, 828282, 828282

# Custom colors (transp idxs and the four colors)
custom colors: OFF, tridx: 1000, colors: 12daf0, 12dc64, 12dc64, 16ae00

# Language index in use
langidx: 11

# English
id: en, index: 11
# Decomment next line to activate alternative name in DirectVobSub / Windows Media Player 6.x
# alt: English
# Vob/Cell ID: 1, 2 (PTS: 106600)
timestamp: 00:02:12:560, filepos: 000000000
# Vob/Cell ID: 1, 3 (PTS: 323800)
timestamp: 00:07:23:240, filepos: 000000800
timestamp: 00:07:25:000, filepos: 000001000
# Vob/Cell ID: 1, 4 (PTS: 572880)
timestamp: 00:10:49:280, filepos: 000002000
# Vob/Cell ID: 1, 8 (PTS: 1317560)
timestamp: 00:22:56:920, filepos: 000002800
# Vob/Cell ID: 1, 9 (PTS: 1475360)
timestamp: 00:28:25:400, filepos: 000003000
timestamp: 00:28:53:280, filepos: 000003800
timestamp: 00:29:01:960, filepos: 000004000
# Vob/Cell ID: 1, 10 (PTS: 1795200)
timestamp: 00:31:09:000, filepos: 000004800
timestamp: 00:31:22:960, filepos: 000005000
timestamp: 00:33:42:240, filepos: 000005800
timestamp: 00:33:45:080, filepos: 000006800
timestamp: 00:33:48:240, filepos: 000007000
...
...

manono
13th July 2004, 03:27
Hi-

You said they have their own separate sub stream, so that means they're not Forced Subs:

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

So, turn that to OFF.

Do you understand? They're Forced in the sense that you want them, and not the other subs in English. But for the purposes of VobSub, a Forced Sub is part of the larger English sub stream (all the English subs, and not just the Japanese talk), and you would force just the Japanese parts. But you have them in their own sub stream, and there are no Forced Subs within that stream, and that's why you get no subs at all.

Forced Subs are tricky, and thankfully there aren't that many movies that have them. If you were to open them in SubResynch (in the Subtitle Tab of GKnot) you'd see there are no Forced Subs listed. It's a regular Sub Stream. Got it? Clear as mud? I did imply this in my point 2 in my first reply, but wasn't quite clear about it, as I see now.

I'm pretty sure that's it. Hope you got what you want now. You're not the first person to stumble over this. I've done it myself before. Good thing you posted the .idx or I may not have spotted it.

But rereading your last post gave me pause:

I even took one of my earlier rips (The one without the subs) and played the subs with it and I see the subs (DirectVovSub).

So, you've played these subs before, externally? And it worked? So, make sure the path is correct, and that they're named as in the .avs:

VTS_01_0

as, perhaps, you renamed them temporarily to play them with the other movie. And I don't know whether or not VobSub cares about them being on the Desktop or not, but I've never done that.

Kishen
13th July 2004, 07:50
Ok...I changed that, and I played the resulting avs file in Media Player Classic. Whaddaya know...I can see the subtitles. I even had the opportunity to align them properly using VobSub to exactly where I wanted them to be in the movie.

I'm running my passes now...I'll post a note here to let you know if it worked.

Once again, I really appreciate all your time and help, and I thank you for it :)

Kishen
14th July 2004, 11:53
IT WORKED!!! HAHAHA

I really owe you bigtime...thanks for all your help. Really appreciate it.

Now I have my own good quality rip of a great movie.

Thanks.

manono
14th July 2004, 12:42
Glad to oblige. Thanks for reporting back. Sorry it took so long to figure out.