Collecting a home video library is a troublesome task, especially for those who prefer the DVD format to all others. The range, as well as the quality of some publications in the fifth zone (which includes Russia and Ukraine) is noticeably worse than in other regions. Therefore, sooner or later, the collector is struck by the idea of ​​purchasing foreign discs from online stores. However, to view them comfortably, you need a good command of the English language (or at least the ability to read it fluently), which few can boast of. Manually added Russian subtitles will help overcome this language barrier.

There is one nuance here: not a single program existing today allows you to fully edit a finished DVD. Moreover, even if the user had the source materials, they could only be fully assembled using studio-grade DVD authoring programs, which cost tens of thousands of dollars. However, using the specifics of the format, it is possible to add subtitles without having to rebuild the entire disc and without using expensive software.

"How it works"

All DVDs contain a title structure, as well as one or more titles (also called Video Title Set, or VTS). To some extent, they are analogous to tracks on audio CDs. In each section, producers put certain content: say, in one - the film itself, in another - a trailer or interviews with actors. If there are several parts of a series on a disk, then each of them can be recorded in its own section. A total of 99 partitions can be created on the disk. The files on the DVD are named according to them.

VIDEO_TS.* files refer to the header structure, which we will not change.

The partitions themselves include files of the form VTS_nn_k.*, where nn is the partition number, and k is the file number in it. The section consists of the following files:

  • VTS_nn_0.IFO, VTS_nn_0.BUP -- section header information. Stores the characteristics of the video stream, the number and types of audio tracks (no more than eight) and subtitles (no more than thirty-two).
  • VTS_nn_0.VOB -- section menu. If this is where the movie is located, then this file will contain a menu for selecting chapters, audio tracks, etc.
  • VTS_nn_k.VOB, where k varies from 1 to 9. Actually, files with a movie or other video fragment.

Thus, in order to add titles without disturbing the rest of the DVD structure, you need to replace only some files - those that contain the movie video stream itself. Neither the menu file nor the files of other sections are changed. The only exceptions are files with header information, which contain general information about partitions (for example, their size) and which will have to be corrected after replacement so that their data matches the received content. Fortunately, editing can be done automatically using a number of applications.

Where can I get new files? To do this, you need to create a special DVD, which is called “intermediate” in the article. Here we don’t need any menus or add-ons, but only a clean movie with the necessary audio streams and subtitles. To obtain such a blank, you will not need any of the expensive DVD studio authoring programs - the free programs mentioned below will also work quite well.

To be fair, we note that this method is not applicable to all DVDs. Some discs have very complex authoring - for example, they can simultaneously contain two versions of a film (theatrical and director's version) or simply store all their data - from the film to the add-ons - in one section.

The first stage This operation will involve searching for the subtitle files themselves. They are stored on a number of sites, a list of which. However, not all subtitles are suitable for overlay immediately after downloading - they may require proofreading and corrections. In this situation, MS Word will help with its spell checking. As a result, you should receive subtitles, the text of which you will not have any complaints about. In addition, titles are stored in different formats; For further work, we need the SRT format. For subtitles in a different format (for example, SUB/SMI/SSA), you will have to look for a program to convert them to SRT. So, in our case, subtitles in SUB format were converted to SRT using Ultimate Subtitle Converter.

Second phase-- copying a DVD to your hard drive (in a directory called Original). If you are recording a single-layer film on a simple disc or a two-layer film on a two-layer disc, then a simple copying program will suit you - for example, DVD Decrypter. If the source disc is two-layer, and you need to make a copy on a single-layer one, you will have to use DVD Shrink. When compressing, you'll want to specify a size that's about ten megabytes smaller than what DVD Shrink suggests by default—we'll need extra space for the new subtitles.

Third stage will be the definition of “partition to be replaced” (see sidebar). As a rule, the movie section is the largest and contains the largest number of files. To check, open its first VOB file using any video player that plays these types of files (for example, Media Player Classic). Moreover, using the same method you can “try on subtitles” - checking the accuracy of their synchronization with the video sequence. To do this, you need to install the DirectVobSub program, which allows you to add subtitles on the fly. Now (assuming the movie is in the 2nd section) temporarily rename the subtitle file to VTS_02_1.srt and put it next to VTS_02_1.VOB, and then play the VOB file. In this case, DirectVobSub will “pick up” the subtitle file: if they are synchronized correctly, then when played back they will coincide with the speech of the characters. If not, you will have to take the trouble to adjust them - for the SRT format such an operation can be done, for example, using the Shirokuro program.

Rice. 1
Rice. 2
Rice. 3

Fourth stage-- "disassembly into components." We launch VobEdit and open in it the first file from the movie section - the same one that we checked with subtitles (Fig. 1).

Click the Demux button in it, and in the dialog that opens, select all streams: video, audio and subtitles (Fig. 2).

The program will begin “parsing” the data. Don’t be surprised if during the process she shows the progress of the task in thousands of percent, but just let her finish the job.

This structure may contain one or more "program chains" (PGCs) - instructions for the DVD player on how to properly play the movie. When you select a chain, its data is written in the lower window, in particular the duration (Playback time) and the number of programs and cells (Number of Programs/Number of Cells). The chain we are interested in must be the length of the entire film and contain a number of programs equal to the number of cells or less by one. After the chain is selected, you should call Save celltimes to file from the Tools menu and save the CellTimes.txt file where the data parsed using VobEdit is located.

Rice. 4
Rice. 5

Fifth stage-- final preparation of subtitles. Srt2Sup will help us convert them from text format to graphic format (used in DVDs). Having launched the program, the first thing we will do is open the settings. As you can see, all colors are set to black by default - this result, of course, does not suit us. The recommended settings are shown in the screenshot (please note that you will make the choice between NTSC and PAL yourself, depending on the format of your disk) (Fig. 4).

After the settings, open our subtitles (SRT file -> Open as Text) and mark all phrases by clicking the All button (Fig. 5).

At the same time, you can see the result and choose the font and colors of the titles yourself. After the final setup, you need to select SUP file -> Save... from the menu and wait until the program creates a graphic subtitle file.

Sixth stage-- "authoring", assembly of an "intermediate" DVD (it will contain only the main film). At this point we will have to choose between IfoEdit and ReJig. Both programs can create a simple DVD and, annoyingly, contain similar errors, which makes ReJig unsuitable for authoring a PAL disc, and IfoEdit unsuitable for NTSC. Therefore, we will decide on the program depending on the disc being edited. Over time, the situation may improve, but for now we will assemble an NTSC disk using ReJig (note that the interface of these programs is very similar).

Rice. 6

After launching ReJig, select DVD Author. In the dialog that appears, add all the materials, each in its own section - first the film, then the audio tracks and subtitles. All tracks must be added in the same sequence in which they were in the original version, and our subtitles, accordingly, should be added last. Be sure to also specify the correct disc format (PAL/NTSC). To separate Scene changes/Chapters, you need to specify the file CellTimes.txt (with exactly that name). In the Output stream directory field, select a previously created directory (named Remake), and then start creating the disk (Fig. 6).

Rice. 7

Seventh stage there will be an operation of merging the original disk and the intermediate disk obtained at the previous stage. The VobBlanker program will help us with this. First, let's create a third directory, Final, which will store the result of its work. Then, having launched it, we indicate the VIDEO_TS.IFO file from the Original directory in the Input Folder field, and the Final directory in the Output Folder field. In this case, the TitleSet table will show the sections of the source DVD. We select the desired section, find the desired chain in the lower table and issue the Replace command, after which we point the program to the file VTS_01_1.VOB from the Remake directory. Now we press PROCESS!!, and after some time in the Final directory the program will create a “hybrid” DVD, which differs from the original one in the section with the film taken from the Remake directory (Fig. 7).

Eighth stage-- registration of subtitles. Although we have already received DVDs with additional subtitles, they are still not "registered" (and therefore not accepted by players). Registering them manually requires attention and is the most difficult step for a beginner, but only for the first time.

So, let’s launch the already familiar IfoEdit and open the IFO file of the movie section in it. Select the VTSI_MAT structure in the upper window, then look for the Number of sub-picture streams in VTSTT_VOBS field in the lower window, which contains the number of subtitles on the DVD. We need to increase it by one. However, on some incorrectly created discs there may be the number 32 - in this case, you should indicate the actual number of subtitles present on the disc (including added ones).

Rice. 8

Then pay attention to the nearby group of thirty-two entries of the form Subpicture stream attributes. We need to find the one that corresponds to the added subtitles and edit it (set the Language type field to present, and the Language field to Russian, do not change the rest) (Fig. 8).

Then in the upper window we open the VTS_PGCITI structure, and in it - the program chain with the movie. In the lower window, you need to select the entry corresponding to the number from the Subpicture stream NN status group, and assign it a certain number, calculated using the formula:

Number = (number_of_subtitles added 16,843,009) -- 2,164,326,657

Then select any other structure in the upper window, and then again the chain with the film. This will update all data, and four additional fields will appear in the edited entry, each of which will have a value equal to (subtitle_number - 1); if not, check the accuracy of your calculations.

Now the complex process of "registering" new subtitles is complete, save the edited file and close IfoEdit.

After all these steps we received a DVD with additional subtitles. We recommend that you check its functionality using the player. If the result is satisfactory and the subtitle colors suit you, then the disc can be considered ready. Otherwise, you will have to sacrifice the display of some other subtitles and correct the color table. To do this, open the file again in IfoEdit and, in the chain with the movie from the VTS_PGCITI structure, set the following field values:

That's all. The final result can be written to disk and played on a home player.

Hi all!
I was prompted to write this article by the absence on the Internet of a sensible method for replacing the audio track in a DVD without full authorization.

I admit, at first I also used the method of completely disassembling the DVD structure, piece by piece, and then putting it together and making my own menu in Sony DVD Architect. However, this requires a lot of time, since, in fact, this menu takes up the lion's share of it...

About 4 months ago, on one of the forums, it was briefly mentioned about the VobBlanker program, which allows you to replace the VOB file of a movie with your own (for example, with a Russian track) without changing the structure of the original DVD, i.e. all menus and bonuses remain fully functional.

So, let's get down to the description:

Programs that we will need:

DVD Decrypter 3.5.1.0 (for gutting DVDs into components, as well as for removing copy protection)
VOB Edit 0.6 (pull out subtitles)
IFO Edit 0.95 (assembling individual parts of a movie together, i.e. creating your own DVD movie without menus)
VobBlanker 1.3.0.3 (actually, to replace VOB files in the original disk)
Let's begin our dirty work: we will mock the film "Full Metal Jacket": we will replace the English track with the Goblin translation, leave the German one and throw out the Spanish one. We will also clear all subtitles except English and German.
__________________________________________________ ___________

1) Open DVD Decrypter, and in the IFO Mode settings, check the Stream Information box:

2) Open our DVD (don’t forget to set IFO in the Mode menu, or just press I); we see the following picture:

PGC 1 is our test film (the other two are the trailer and the opening screensaver of the film, we don’t pay attention to them for now.

3) We press on the Stream Processing pimp and the DVD’s giblets appear in all their glory: video stream, audio streams and subtitles:

we are interested in 3 streams 0xE0 - video, 0x80 - English track, 0x81 - German. We will pull out the subtitles later with VOB Editom, so we’ll forget about them for now. We determine the folder where everything will be unpacked; We put a check mark on the streams that interest us and do not forget to click on the Demux pimp from below for each of them.
Once everything is ready, click on the picture with the disk below - the process of copying the streams to the screw begins; this lasts approximately 15-20 minutes.

4) We pull out the subtitles: for those who do not matter, they can safely skip this point. Particularly advanced people may ask: why don’t we pull out the DVD Decrypterom subtitles? I hasten to answer: DVD Decrypter demuxes them into the .sub format, but IFO Edit does not support it...
So: launch VOB Edit: open the first file with the movie VTS_01_1.VOB:

We select each subtitle stream one by one and save them in the .sup format, which perfectly eats IFO Edit:

By the way, the addresses (or numbers) of each stream can be seen in the file VTS_01 - Stream Information.txt, which DVD Decrypter creates in the folder with the extracted files.

5) Now we need to define Celltimes for our movie, i.e. the start time of each episode and it must be exactly the same as on the original DVD.
To do this, open the IFO Edit program and look for the IFO file of the movie (usually VTS_01_0.IFO):

then look for the value of VTS_PGC_1:

go to Tools=> Save Celltimes to file:

If we did everything correctly, then the folder where we saved everything should look like this:

6) So the operation to gut our long-suffering DVD was successful, we now need to put a translation on the English track and put everything back together as it was, only so that there are no extra parts left
I will not give recommendations on how to add a Russian translation; There is enough information on this matter on the Internet and many ways.
Personally, I use the program HeadAC3he 0.23 to convert AC3 to WAV. Of course, the quality and volume effect are slightly lost due to the downmix of up to 2 channels, but this is almost unnoticeable. To combine the audio track with the translation I use Sony Vegas 5.0 followed by reverse rendering in AC3.

In general, we have all the components for the required operation, namely: creating a DVD structure - a movie with Russian and German tracks, but without a menu:

7) Launch our favorite IFO Edit; go to the menu DVD Author=> Author new DVD. By clicking on the buttons, we select the necessary files and determine the folder where everything will be stored:

Click OK and wait for the end of the Muxing process; as a result we have:

The result can be viewed with any software DVD player.

8) Let’s proceed to the final and most important part of our performance: cramming our bunch of files into our own DVD:
ATTENTION: before this, it is better to copy DVD Decrypterom the original DVD onto a screw - firstly, the process will go faster, and secondly, if the film is protected from copying, then this is simply necessary, since although VobBlanker will replace the film itself, the protection will remain in the menu and bonuses.


  • (1) Find the VIDEO_TS.IFO file in the VIDEO_TS folder of the original DVD

    (2) Define the output folder

    (3) Point the mouse at the line VTS_01_*.VOB in the middle window of the program

    (4) In the lower window we see what it consists of: the size shows that this is the film itself, the opening screensaver and the film trailer

    (5) Mark the movie, feel free to click on the Replace button and select the VTS_01_1.VOB file from the IFO Editom we created

    (6) Fsyo! We put pressure on PROCESS!! and let's go have coffee (or beer, if desired)

    After 15-20 minutes. We have in the folder indicated in paragraph (2) a ready-made DVD with the Russian road:

Next, we write what we received on the idiot’s DVD-R: it’s a matter of taste what to write; I'm writing Nero, but if the source disc was licensed (i.e., in most cases, DVD9), then you will have to first compress it to 4.5 Gb, for example, using DVD Shrink.

Of course, the above method is not without its drawbacks: for example, if the source DVD has a function for switching viewing angles (Angle), then there may be problems.

One more nuance - with the FAT32 file system (i.e., file size limitation to 4 Gb); here you have to squirm like a cunning snake, not allowing the size of the video file to exceed this mark. As an option: pre-compress DVD Shrinkom to disc size and perform all further operations with smaller file sizes.


All programs mentioned here, except where otherwise noted, are free. All links were valid at the time of writing this guide. As a last resort, everything can be found on VideoHelp.com.

First, let's copy the disk to the hard drive, not forgetting to remove all advertising from it using VobBlanker (825 kb.) (if the disk were protected from copying, and this is common among licensed publications, even budget ones, we would have to use the help of DVD Decrypter). We need to decompose the film into elementary streams (video and audio), so that, after adding subtitles to it, we can assemble it again and insert it back into the DVD.

In the same way, open VTS_05_0.IFO, on the “Format” tab, select the “DVDMaestro” preset and save (“Save data”). Take a look at the “Customize” tab: there you can choose which chapters to keep and which not. At the same time, “Chapter-X-tractor” independently deletes chapters if their duration is too short.

Now comes the high point of DVDLab Pro (23 MB). NB! The program is paid ($250).

Find a detailed Russian guide to the program here:

Instead of IfoEdit and VobBlanker, the IfoUpdate utility (85 kb.) may be useful.

As you know, there is no perfection in the world, and neither does the author of this article, and therefore his opus is also far from complete and accurate. Therefore, all attempts to correct and supplement this manual are welcome (as well as its distribution among interested parties).

P.S. Although I mentioned above that you cannot import ready-made subtitles into DVDLab, it turns out that you can!

P. P. S. To import information about chapters (“chapters”) into DVDLab, ChapterExtractor is not necessary, ReJig is quite enough. It extracts information about the layout by frame, and DVDLab understands it too. (Imported in the same way as described above).

Subtitles (txt, sub, srt format), as a rule, carry information about lines displayed in italics. But DVDLab, unfortunately, ignores this information. But italics can be forced. In the subtitle generator window, in the “Prop” section (between “Text” and “Preview”), click the button similar to the standard “minimize window” button in Microsoft Windows. The “Current Subtitle Advanced Properties” window will appear, where you can set the position of the text (6 options) and ways of displaying it (7 options, including italics and its combinations with regular text). If desired, all specified attributes (position in the frame and writing) can be applied to all subtitles at once (“Apply to All Subtitles”).

Subtitles generated by DVDLab are slightly grayish and slightly transparent - pay attention to this and correct it in DVDSubEdit if necessary.

(A) 2007, Dozator
All rights are completely ignored.
March 2007.

Everyone loves watching movies and it doesn’t matter who speaks what language. The problem is that most projects do not have enough budget to translate the film into several languages, which means that depending on the country of residence, you may simply not understand the film itself. If you want to add subtitles to your favorite movie or write them yourself, know that translating a movie is not that difficult, but it will take time and patience.


This article describes the process of adding subtitles to a movie that doesn't have them. If you want to know how to turn on subtitles while watching a movie, click here.

Steps

How to download subtitles

    You can only add subtitles to a movie on your computer. If you don't have any subtitles in the Settings or Language menu on your DVD, you won't be able to add them without additional hardware and software. DVDs are write-protected, and new subtitles cannot be added to the DVD player. A computer is a completely different matter. On a computer, new subtitles can be inserted into any movie.

    • While watching a movie on a DVD player, try clicking on the "Titles" or "Subtitles" buttons.
  1. Find the movie you want to add subtitles to and place it in a separate folder. Locate the movie folder or the movie itself in Finder or Windows Explorer. Most likely, the movie will have a .mov, .avi or .mp4 extension. Fortunately, you won't have to change the movie file itself, but you will need to find it and link it to the subtitle file. Subtitle files usually have the .SRT extension, and are a set of phrases and time stamps at which certain phrases should appear in the film.

    To find a suitable file, search for “[movie title] subtitles in [your language].” Open your favorite search service and search for subtitles in your language. For example, if you need Russian subtitles for the movie X-Men: First Class, search for “X-Men: First Class subtitles in Russian” (without quotes). The first link will probably work for you, since subtitle files are quite small and are unlikely to contain viruses.

    Find the subtitles you need and download the .SRT file. Download the .SRT file from sites like Subscene, MovieSubtitles or YiFiSubtitles. Do not click on pop-ups and download only files with the extension .SRT or .SUB. If you feel that a site is not reliable, close it and go to another one.

    Rename the subtitle file so that it is identical to the movie file. If the movie file is called “The Best Movie.AVI”, the subtitle file should be called “The Best Movie.SRT”. Find the subtitle file where you saved it (usually your Downloads folder) and rename it. A file with the .SRT extension must have the same name as the movie file.

    Paste the .SRT file into your movie folder. Create a new, separate folder for the movie if you haven't already. Place the .SRT file in the same folder as the movie. For most video players, this will be enough to link the files.

    • VLC is the simplest free player that supports most formats.
  2. Insert the .SRT file into the movie you are uploading to YouTube. To do this, click on the “Subtitles” button while loading the video. Then click on “Add new subtitles” and select a file with the .SRT extension. Make sure to select "Subtitles" and not "Translation". Press the CC button while watching a video to turn on subtitles.

    How to create subtitles (three ways)

    1. Understand the purpose of subtitles. Subtitles are the translation of text, and anyone who has ever used Google Translate will tell you that translations are more of an art than a science. When translating any scene, there are several points to consider:

      You can effectively add subtitles using a subtitle creation site. Sites like DotSub, Amara and Universal Subtitler allow you to watch a movie and write subtitles for it at the same time. As a result, you will get an .SRT file with subtitles for the movie. While each site's process for creating subtitles is different, they all follow a similar format:

      Type your own subtitles in Notepad. You can also type subtitles manually, although it will be much faster with a program. To do this, open any text editor, such as Notepad (Window) or TextEdit (Mac), and select the appropriate format for the subtitles. Before you begin, click “Save As” and name the file “MovieTitle.SRT.” Then specify the encoding "ANSI" for English subtitles and "UTF-8" for the rest. Type subtitles.