Log in

View Full Version : AviSynth and VobSub problems


blahblah1234
23rd March 2010, 21:49
I don't know if it's just me being stupid and I'm overlooking something here, or if I really don't know how to use AviSynth, but no matter what I try, I can't seem to get VobSubs to display on my video. I have the latest vsfilter.dll in my AviSynth plugin directory already.

Here's the script I'm using:
DirectShowSource("E:\video.mkv", fps=23.976, audio=false, convertfps=true)

VobSub("E:\subs")
LanczosResize(480,272)

It's just a very simple script I'm using to feed it into the video part of MeGUI to get it to encode the video with subs so that I can play it on my portable. The subs were originally a track in the mkv. Both the .sub and .idx files are already in the directory.

Can anyone help me with this? Thanks in advance.

The Scientist
23rd March 2010, 22:09
VobSub("E:\subs") ????
point to the ".idx" > "subs.idx"

blahblah1234
23rd March 2010, 23:33
VobSub("E:\subs") ????
point to the ".idx" > "subs.idx"

That's what I did at first too. It still doesn't work though.

shroomM
24th March 2010, 10:08
I had a similar problem not too long ago.

First, do as The Scientist says, point to the .IDX file, then check your .IDX file, specifically the langidx ...

...
# Language index in use
langidx: 0

# English
id: en, index: 0
# Decomment next line to activate alternative name in DirectVobSub / Windows Media Player 6.x
# alt: English
# Vob/Cell ID: 1, 1 (PTS: 0)
timestamp: 00:00:50:860, filepos: 000000000
...

Make sure the right one is specified.

Hope this helps.

blahblah1234
24th March 2010, 22:03
I had a similar problem not too long ago.

First, do as The Scientist says, point to the .IDX file, then check your .IDX file, specifically the langidx ...

...
# Language index in use
langidx: 0

# English
id: en, index: 0
# Decomment next line to activate alternative name in DirectVobSub / Windows Media Player 6.x
# alt: English
# Vob/Cell ID: 1, 1 (PTS: 0)
timestamp: 00:00:50:860, filepos: 000000000
...

Make sure the right one is specified.

Hope this helps.

Ah, that worked. Thank you very much. It turns out that the entire langidx line was missing, adding it in fixed the problem.