Anda di halaman 1dari 21

How to add permanent subtitles with VobSub

How to add permanent subtitles with VobSub


| User comments | Printer-friendly version of this page | Guide made by Truman |
WHAT IS
BD & HD-DVD
DVD
SVCD
VCD
How to add permanent subtitles with VobSub
GLOSSARY
How to add permanent subtitles with VobSub /VirtualDub / Avisynth
HOW TO
ALL GUIDES There are several ways to add permanent subs. This is only one solution. Usual subtitle formats are *.srt (subrip), *.sub (microDVD),
ARTICLES *.sub (subviewer), *.ssa (Sub Station Alpha), *.sub (vobsub, requires a *.idx too).

AUTHOR Used tools:


CAPTURE
VirtualDub 1.4.10
CONVERT vobsub 2.13
DVD BACKUP Avisynth 1.0 beta 5
EDIT any MPEG encoder
PLAY
Installation hints:
LISTS
Extract VirtualDub to any dir and double click on AuxSetup.exe, install the handler.Leave the proxy mode alone unless you know what
Capture Cards
you are doing.
DVD Media
DVD Players Copy Avisynth to any dir. Copy Avisynth.dll to c:winntsystem32 resp. c:windowssystem. Then run Install.reg.

DVD Hacks
DVD Recorders
DVD Writers
Tools
OTHER
Forum
F.A.Q
VobSub now comes with an installer. In the options dialog check "vobsub for VirtualDub" and "TextSub for VirtualDub" too.
Search
About
Advertise
Donate
Contact us
CD Writers
RSS Feeds
Sefy
Statistics
Shop
http://www.videohelp.com/forum/userguides/87065.php (1 of 21)6/11/2006 4:59:27 PM
How to add permanent subtitles with VobSub

Site layout:
Classic

VideoHelp
Blue

Red
Green
Brown

Test
Custom
Change
Cookies must be
enabled.

Printer
Friendly

Hosted by: If you are unsure which subtitle format you have, just open it with a text editor. All the mentioned formats above are txt files, except .
ThePlanet sub (vobsub). It looks like this:
Code:
Sponsors:
DVD-R Blank
Media ºD TÄ”« ‰Ãø ½ ì•• ! U8q `:& „ f < 8 , AðD h ì Að¼
ø# 2B°H<½k ýg8½¼ ‹Û KÛ KÛ °p½°œ 8½´½²C0h½°•½´ñ 4 ±•6 o <ýñ Ö³‹Û‹i¸½°ä½>°D½°Ü¶›
VideoReDo

Magic ISO
Let me start with a short description how to rip subtitles off a DVD.
Maker
Start VobSub Configure, press "open" and select the *.ifo file.
Free Codecs

cdfreaks.com

DVD
Replication

newcyberian

meritline

DVD
Duplication

TMPG Inc

Giganews
Usenet Service

IO Products

http://www.videohelp.com/forum/userguides/87065.php (2 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

iop shop

DVD Cases

©1999-2006
videohelp.com
dvdrhelp.com
vcdhelp.com
svcdhelp.com

Contact Us
Privacy Policy

Select an output directory and press OK.

http://www.videohelp.com/forum/userguides/87065.php (3 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

Select the subtitle streams, that you want to save clicking the and buttons.

After that press the button.

Vobsub writes a new index now.

http://www.videohelp.com/forum/userguides/87065.php (4 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

After that the configuration dialog will appear. Select one language[1], select time offset[2] if you need, fade in and out[3] if you like
and define the exact position of the subtitles[4]. then press OK.

Now you are ready to proceed.

Add subtitles with...


1. VirtualDub and Vobsub
2. VirtualDub and Textsub
3. Avisynth and VobSub
4. Avisynth and TextSub

off topic: Mux avi and subs (Direct VobSub)

Scenario 1 --VIRTUAL DUB--


Your subtitles are ripped by vobsub and you have a *.idx file, written by vobsub as well.

Let's start VirtualDub, select file > open the video file.
Select video > filters > add vobsub
A configuration dialog will pop up,

http://www.videohelp.com/forum/userguides/87065.php (5 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

press open, select the *.sub (.sub and .idx must have the same filename)

http://www.videohelp.com/forum/userguides/87065.php (6 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

As you can see, you have several options to change the properties of the subtitles, select a language.
Close the configuration dialog by pressing OK, then close the VD filter dialog by pressing OK. Now you are back to the main VD window,
select file > preview or just hit F5.

http://www.videohelp.com/forum/userguides/87065.php (7 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

If you want to change position or background color or whatever, abort the preview, select video > filters again. The filter dialog appears,
doubleclick on vobsub and you can change whatever you want. Then preview again. If you are happy, select file > Start frameserver.

http://www.videohelp.com/forum/userguides/87065.php (8 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

Frameserve to your favorite MPEG encoder.

>>back

Scenario 2 --VIRTUAL DUB--


Your subtitles are ripped by subrip or you wrote your own subs with Sub Station Alpha.

Let's start VirtualDub, select file > open the video file.
Select video > filters > add TextSub
A configuration dialog will pop up, press open, select the *.sub, *.srt or *.ssa

http://www.videohelp.com/forum/userguides/87065.php (9 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

Press STYLE to open the configuration dialog.

http://www.videohelp.com/forum/userguides/87065.php (10 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

As you can see, you have several options to change the properties of the subtitles.

Close the configuration dialog by pressing OK, close the TextSub setting dialog by pressing OK, then close the VD filter dialog by pressing
OK. Now you are back to the main VD window, select file > preview or just hit F5.

http://www.videohelp.com/forum/userguides/87065.php (11 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

If you want to change position or color or whatever, abort the preview, select video > filters again. The filter dialog appears, doubleclick
on TextSub and you can change whatever you want. Then preview again. If you are happy, select file > Start frameserver.

http://www.videohelp.com/forum/userguides/87065.php (12 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

Frameserve to your favorite MPEG encoder.

>>back

Scenario 3 --AVISYNTH--
Your subtitles are ripped by vobsub and you have a *.idx file, written by vobsub as well.

Go to the VobSub directory and start VobSub Configure.


A configuration dialog will pop up,

http://www.videohelp.com/forum/userguides/87065.php (13 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

press open, select the *.sub (.sub and .idx must have the same filename)

http://www.videohelp.com/forum/userguides/87065.php (14 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

As you can see, you have several options to change the properties of the subtitles, select a language.
Close the configuration dialog by pressing OK.
Open notepad, write your Avisynth script. Make sure, that you type the real pathes to the *.dll and the source files.
Code:
LoadPlugin("c:winntsystem32vobsub.dll")
AVISource("d:divxmatrixmatrix.avi")
#[filter]
#[filter]
#[filter]
#[filter]
VobSub("d:divxmatrixsubsmatrix")

The last line refers to the *.sub and *.idx, do not type any extension into that line.
Save it as *.avs. Make sure that the filetype field in the save dialog box says All Files (*.*) and NOT Textfile (*.txt). Now right click on *.
avs in explorer, select open-with and select the Media Player from the list. Preview.
If you want to change position or background color or whatever, stop windows media player and start VobSub Configure again. The
configuration dialog appears, open the *.sub again and you can change whatever you want. Then preview again. If you are happy,
frameserve to your favorite MPEG encoder.

>>back

Scenario 4 --AVISYNTH--
Your subtitles are ripped by subrip or you wrote your own subs with Sub Station Alpha.

Go to the VobSub directory and start SubResync.


A configuration dialog will pop up, press open, select the *.sub, *.srt or *.ssa

http://www.videohelp.com/forum/userguides/87065.php (15 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

Press EDIT to open the configuration dialog.

http://www.videohelp.com/forum/userguides/87065.php (16 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

As you can see, you have several options to change the properties of the subtitles.

Close the configuration dialog by pressing OK, and save as *_new.srt, *_new.ssa, *_new.sub, etc.

Write your Avisynth script.


Code:
LoadPlugin("c:Program FilesVirtualdubpluginsTextSub.vdf")
LoadPlugin("c:winntsystem32mpeg2dec.dll")
mpeg2source("d:dvdmatrixmatrix.d2v")
#[filter]
#[filter]
#[filter]
#[filter]
TextSub(d:dvdmatrixsubsmatrix.srt")

http://www.videohelp.com/forum/userguides/87065.php (17 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

Make sure you typed the proper extension of your subtitle file into the last line.
Save it as *.avs. Make sure that the filetype field in the save dialog box says All Files (*.*) and NOT Textfile (*.txt). Now right click on *.
avs in explorer, select open-with and select the Media Player from the list. Preview.
If you want to change position, color, style or whatever, stop windows media player and start SubResync again. The configuration dialog
appears, open the subtitle file again and you can change whatever you want. Then preview again. If you are happy,
frameserve to your favorite MPEG encoder.

>>back

off topic: --Multiplex subtitles to a AVI--(playback using Direct VobSub)

Go to the VobSub directory and start SubMux. Supported formats are .avi, .wav, .wma and as subtitle file .ssa (SUB Station Alpha). If
you have a different subtitle format, you have to convert it to *.ssa.
Go to the VobSub directory and start SubResync. Open your subtitle file. If the subtitle file is one of the text formats, you can edit it if
you like, then save as *.ssa.

If the subtitle file is ripped by vobsub (*.sub and *.idx)...


http://www.videohelp.com/forum/userguides/87065.php (18 of 21)6/11/2006 4:59:27 PM
How to add permanent subtitles with VobSub

... the program has to "learn" which Image represents which character. Answer everyone of these question boxes very carefully. You
may know that procedure if you ripped subtitles with SubRip once.

http://www.videohelp.com/forum/userguides/87065.php (19 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

After that save as *.ssa.


Finally start SubMux and drag and drop the AVI and the *.ssa into the window.

Press "MUX" and save as new *.avi.

What is it good for? DirectVobSub is a direct show filter, which can be used to display subtitle files during playback in a software player.
To display the muxed subtitle(s) you need to install Vobsub for DirectShow. The subtitles are not hardencoded to the video file. The
advantage of submux is, that you don't need to carry arround a whole lot of single files. All you need to display the muxed subs is
DirectVobSub. Open explorer, search for the *.avi, double click on it, usually Windows media player starts and DirectVobSub starts in the
background.
If you want to select a different language, right-click on wmp or doubleclick on the Dvobsub symbol on the task bar. Also there is a very
detailed Dvobsub configuration dialog.
Why the submux part of the guide is rather off topic? The subtitles are not hardencoded. So you can not simply load the *.avi as
videosource and proceed. Well, it is possible. Start TMPGEnc, select option > enviromental settings > VFAPI plugins. Disable all plugins
except directshow multimedia file reader. Then load the *.avi as video source, audio and subtitle will be loaded as well. You can even
change the subtitle languages after you started the conversion. Anyway, this is very experimental and not recommended. Use Submux
and DirectVobSub to playback only.

http://www.videohelp.com/forum/userguides/87065.php (20 of 21)6/11/2006 4:59:27 PM


How to add permanent subtitles with VobSub

>>back

View user comments or post your own comments/issues about this guide here.

http://www.videohelp.com/forum/userguides/87065.php (21 of 21)6/11/2006 4:59:27 PM

Anda mungkin juga menyukai