#1 2007-11-29 22:28:56

jmap82
New member
Ranking
Japan
From: Hanno, Saitama
Registered: 2007-11-29
Posts: 4
Expertise

Subtitles from VOB to AVI

I was excited to get my hands on SUPER, and even more excited to see it accomplish what I need it to.  I am an American living in Japan and have a small collection of Japanese films that I have backed up on my computer in various formats.  Now that SUPER has exposed me to superior formats, I would like to upgrade my back ups. 

I successfully converted one VOB to AVI and was ecstatic with the video and audio quality when encoded in H264.  But I realized that I forgot the subtitles.

Previously I used DVDx to convert my decrypted DVD VOBs to avi files, and it was very easy to select the subtitle to be printed on the output .avi.  With SUPER it doesn't appear that I have that option.

Am I missing something or is this a limitation of the program?

I've checked other threads and this problem doesn't seem to be discussed anywhere else. I hope the answer isn't too obvious, I hate to be a bother.

Offline

 

#2 2007-11-30 03:34:11

96crypt_mod
Moderator
RankingRankingRankingRankingRankingRankingRankingRanking
Registered: 2006-08-02
Posts: 2262
Expertise

Offline

 

#3 2007-12-03 07:27:06

jmap82
New member
Ranking
Japan
From: Hanno, Saitama
Registered: 2007-11-29
Posts: 4
Expertise

Re: Subtitles from VOB to AVI

Well it took me almost 8 hours of searching, testing, checking, playing, and pushing but I finally came up with a code that will work.  Here it is for anyone else who is having the same problem:

Code::

a = mpeg2source("C:\...\FlyingCastle.d2v")

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\decomb.dll")

FieldDeinterlace(a)

b = DirectShowSource("C:\...\FlyingCastle T01 2_0ch 448kbps DELAY 0ms.ac3")

AudioDub(a,b)

ConvertToRGB32()

LoadPlugin("C:\Program Files\DirectVobSub\VSFilter.dll")

vobsub("C:\...\VTS_01_0")

AVIsynth is much more sensitive than I imagined, somethings have to be in a particular order for them to be read correctly. 

Special notice to the "vobsub" function. It must be written in lower-case and the file it calls should not be called with its file extension. And vobsub subtiles can only be called if you convert to RGB.

I'll look forward to using this a lot more now. smiley-smile


EDIT

I got this code to work in all players, including SUPER's MPlayer, but I haven't been able to encode it with audio.  I think there is a problem with the way SUPER handles avs files, at least on my computer.

Last edited by jmap82 (2007-12-12 18:41:01)

Offline

 

#4 2007-12-03 08:04:55

96crypt_mod
Moderator
RankingRankingRankingRankingRankingRankingRankingRanking
Registered: 2006-08-02
Posts: 2262
Expertise

Re: Subtitles from VOB to AVI

you may want to try this easiest way to encode any file format (Not only VOB)

1/all you need is to point to your input file, AVI, VOB, MP4, MOV etcc.. (providing your PC have the corresponding DirectShow filter)
Clip=DirectShowSource("C:\the_input_file.AVI", fps=29.97, convertfps=true)

2/convert to YV12
ConvertToYV12(Clip)

3/point to the Subtitle file that must be in .sub format (VobSub.dll must be installed which isn't VSFilter.dll)
VobSub("C:\your_subtitle_file.sub")


Which makes this 3 line script

Clip=DirectShowSource("C:\the_input_file.AVI", fps=29.97, convertfps=true)
ConvertToYV12(Clip)
VobSub("C:\your_subtitle_file.sub")

Last edited by 96crypt_mod (2007-12-04 02:21:43)

Offline

 

#5 2007-12-03 16:36:49

jmap82
New member
Ranking
Japan
From: Hanno, Saitama
Registered: 2007-11-29
Posts: 4
Expertise

Re: Subtitles from VOB to AVI

I appreciate the help.

Unfortunately, in my previous tests, (as well as the try I did just now) vobsub comes up as an invalid function if the VSFilter.dll is not called.  I have vobsub.dll installed in my windows\system32 folder and I copied it to my avisynth folder, but it is still not acknowledged by AVIsynth.  Even if I try to call vobsub.dll, it comes back with an error that vobsub.dll is not an AVIsynth 2.5 plugin.

The code I'm using is working, so I'm not too worried about why vobsub.dll doesn't seem to work, but if you have any suggestions, I'd be happy to hear them.

Offline

 

#6 2007-12-03 23:55:43

96crypt_mod
Moderator
RankingRankingRankingRankingRankingRankingRankingRanking
Registered: 2006-08-02
Posts: 2262
Expertise

Re: Subtitles from VOB to AVI

I am not sure whether you have installed VSFilter or VobSub

SUPER(C) requires VobSub not VSFilter, they aren't the same..
http://www.divxsweden.net/program/filer/VobSub_2.23.exe

Offline

 

Board footer

OPML feedsRSS feeds



Powered by WWWThreads Forum
© Copyright 2006, WWWThreads