Extract Subtitles From Dvd Ubuntu

Ubuntu

Question: “Simple way to extract subtitles from VOB to SRT file? - Hi! Is there a simple and easy way to extract only the subs from a DVD? Not the whole movie! I need to generate regular soft coded subtitles. I feel it should be easy, but I've been searching everywhere and can't find a good solution! Doesn't have to be free. Looks like D-Subtitler could do it, but it doesn't work on High Sierra. Any ideas will be welcome.”

Such questions are not rare among movie fans. .srt subtitles are much handier. It's plain text, so it is small sized and can be formatted by the player. Also it is very easy to merge in containers like mkv so that you can have video, audio and subtitles in one file. However, to extract subtitles from DVD to SRT file, you might find that most DVD ripping tools out there handle video and audio pretty well but unfortunately they just do not manage subtitles that good at all. They either 'burn' the subtitles on the video, which means you cannot turn them off or create .sub files.

Well, in this guide, we would like to show you how to extract subtitles from DVD to SRT in different ways. Check the content below.

The software extracts the DVD and places the subtitles in a separate SRT file in the temporary directory you specified. These srt files can be edited and synced with Gnome subtitles. In a terminal use the 'sudo apt-get install gnome-subtitles' command, or install from the ubuntu software center. I want to use the command line to extract subtitles from video files. I want to extract subtitles from a lot of files. That is why I want a CLI tool. Ideally it should work with any video format that supports embedded subtitles. For example: subextract -f RevolutionOS.mp4 Extracting English.srt Extracting French.srt Extracting Russina.srt All.

Part 1: How to extract subtitles from DVD with HandBrake

Handbrake is the very first tool we would like to recommend to you for extracting subtitles from DVD to SRT file. As a free and open-source transcoder for digital video files, Handbrake could help you easily convert video, audio, DVD, Blu-ray files for multiple media players and devices as you need.

By default, Handbrake doesn't include the subtitles when you rip DVDs so it can keep the ripped movie's file size small. Thankfully, it's really easy to keep the subtitles on when you rip the DVD. The below steps would show you how to extract subtitles from DVD with Handbrake in detail:
1. Launch Handbrake.
2. Put your movie in your disc drive and wait for Handbrake to scan it.
3. Click the “Source” button to add your DVD movies from disc drive.
4. After adding source DVD movies, click over to the 'Subtitles' tab.
5. You have two different options here. Select the language you want, and then the 'Burned In' checkbox to lock the subtitles to the movie, or select Closed Captions from the drop-down list to get the subtitles in the original language of the film.
6. Under Destination, click Browse to set output directory for saving output files.
7. Click 'Start Encode' button and you'll rip the subtitles from DVD with Handbrake.
Obviously, with Handbrake, you could easily extract subtitles from DVD in several simple clicks. The whole conversion will be finished quite soon.

Part 2: How to extract subtitles from DVD to srt via Subrip

The second tool to extract subtitles from DVD to SRT file we would like to recommend to you is Subrip, a professional subtitle extracting tool that could help you easily extract subtitles from DVD to SRT file in clicks.

The below steps would show you how to extract subtitles from DVD by using Subrip in detail. Check the guide below:
1. Download and install SubRip on your computer. Currently the latest version of SubRip is V1.57.1 released in November 2018. Download is available on SourceForge.
2. Launch SubRip tool on your computer.
3. On the main window, click the 'VOB' button in the toolbar to click Open IFO and load the first .IFO file of the DVD. That will probably be VTS_01_0.IFO.
4. After you load it, check the filenames to make sure everything is OK. There should be 4 or more VOB files of a big size (size appears in the right).
5. Select all of them, and right at the top select the Language stream you want to rip.
6. In the right part of the window, leave Characters matrix file to New File and make sure 'SubPictures to Text via OCR' is selected in the Actions option.
7. Finally, click Start to begin the ripping process.
The operation to extract subtitles from DVD to SRT file with SubRip seems to be a little bit more complicated than that of Handbrake, but finally it could do the job well.

Part 3: How to extract subtitles from DVD using Subtitle Edit

As a professional subtitle extractor tool, Subtitle Edit is our third pick for you to extract subtitles from DVD to SRT file. Subtitle Edit is a free editor for video subtitles - a subtitle editor. With Subtitle Edit, you can easily adjust a subtitle if it is out of sync with the video and much more, visually sync/adjust a subtitle (start/end position and speed), import Blu-ray SUP titles or VobSub sub/idx binary subtitles and OCR to text srt subtitles, convert SUP to SRT, SUB to SRT., and DVD to SRT.

Check the below steps to learn how to extract subtitles from DVD with Subtitle Edit program. Please remember that Subtitle Edit requires Microsoft .NET Framework Version 4.0 or later installed on your computer.
1. Download and install Subtitle Edit on your computer.
2. Launch Subtitle Edit on your computer and then insert DVD disc into the disc drive.
3. On Subtitle Edit main interface, open the “File” menu and then click “Import/OCR subtitle from vob/ifo (dvd)” option.
4. Click the browse button with 2 dots in the “IFO file” section and then browse and add DVD IFO file to Subtitle Edit (you can directly add from your DVD disc, or use Leawo DVD Copy to remove the copy-protection upon your DVD disc for IFO file adding if necessary).
5. You could then see all VOB files automatically added to the “VOB Files” section.
6. Then, click the “Start ripping” button at the bottom left corner to start to extract subtitles from DVD into SRT file within Subtitle Edit.
7. After ripping, click the “Save” button on the sub-menu bar to save the SRT subtitle file into your local drive. Of course, you need to give the output SRT file a name.
8. Finally, click the “Save” button on the “Save subtitle as” window to save output SRT file.
Subtitle Edit could help you firstly convert DVD to video with subtitles and then extract subtitles from video converted from DVD files to SRT file. The operation seems to be more complicated than the above mentioned 2 methods, but it really works. You could freely choose the method you prefer from the above 3 ones.

Bonus: How to rip and convert DVD with subtitles with Leawo DVD Ripper

As a bonus, we would like to show you how to rip and convert DVD movies with subtitles since once you have ripped and converted DVD movies to video files with subtitles retained, it would be easier to get subtitles from video files.
Leawo DVD Ripper could help you easily rip and convert DVD files to videos in 180+ file formats for any use on any media player or device, no matter the DVD files are copy protected or not. It could help you rip and convert DVD to MKV, MP4, MPEG, AVI, FLV, MOV, etc. Moreover, to meet your needs more, with Leawo DVD Ripper, you can even adjust the parameters of the target file, including video codec, audio codec, video bit rate, aspect ratio, resolution, frame rate and etc. This makes output video files more suitable to your computer media players, iPhone, iPad, Android devices, Microsoft Phones, etc.

Download and install Leawo DVD Ripper on your computer (it’s a module of Leawo Prof. Media). Then, follow the below steps to learn how to rip and convert DVD movies to general videos with Leawo DVD Ripper in detail.

Step 1. Add source DVD files
After launching Leawo Prof. Media on your computer hit the “Convert” option on the top panel. After that click on the “Add Blu-ray/DVD” option to load the DVD file that you want to burn.

Extract subtitles from iso

Note: Three content loading modes will be available on the main interface: Full Movie, Main Movie and Custom Mode. Full Movie means to load all contents of the source DVD including files like subtitle, audio track and many more. Main Movie only imports the longest chapter of DVD content, by default the main movie of source DVD file, and Custom Mode allows users to select chapters for loading upon personal needs.
Step 2. Set output format
Now, hit the drop-down box before the big green “Convert” button and choose the Change option to select the output format on the Profile panel. You could choose from either “Format” or “Device” group according to your own needs.

Step 3. Set output profile parameters
Then, to meet your needs more, edit the parameter information of the output file including video codec, channel, resolution and many more. To do this, click the “Edit” button on the drop-down panel right before the big green “Convert” button. Click “OK” button to save settings and exit.

Step 4. Set output directory
Click the big green icon of “Convert” option to continue. After that, on the popup sidebar, set output directory in the “Save to” box.

After that, click the bottom “Convert” button to start to convert DVD movies to video files with Leawo DVD Ripper. You then only need to wait for the conversion.
In fact, Leawo DVD Ripper could not only help you rip and convert DVD files to general video files, but also edit DVD movies, apply 3D movie effect, select subtitles and audio tracks, etc. It’s far more than a simple DVD to video converter.

This article will describe installing deb packages which are in DVD. This will help to recovery when the network packages are removed by mistake.

Table of Contents

  • 3. Create DVD which has custom deb packages

1 Add cdrom to repository list with apt-cdrom

Rip subtitles from dvd

Mount cdrom to /media/cdrom.

Add cdrom to repository list with apt-cdrom.

The apt-cdrom changes /etc/apt/sources.list. For removing cdrom from repository list, remove 'deb cdrom:' statement in /etc/apt/sources.list.

2 Few packages in ubuntu-16.04-desktop-amd64.iso

ubuntu-16.04-desktop-amd64.iso has only 24 packages. ubuntu-16.04-desktop-amd64.iso is LiveDVD. For installing, copy root filesystem of LiveDVD to storage and install 24 packages to storage.

ubuntu-16.04-server-amd64.iso has 1244 packages. But it has no desktop environment packages.

3 Create DVD which has custom deb packages

This article will create DVD which has desktop environment packages. And this will add DVD to repository list.

3.1 Download deb packages

Download deb packages of ubuntu-desktop and dependencies with this script.

3.2 Create GPG key

When creating GPG key, the following message will be output and console will be hung.

For avoid this hung, update /dev/urandom with rng-tools.

Create gpg config file.

Create GPG key with gpg batch mode, and import GPG key.

3.3 Create repository

Install reprepro which creates repository with apt.

Get subkey value for GPG key of repository.

Create iso directory and store reprepro config file to there.

Get Subtitles From Dvd

Create repository with reprepro.

Copy GPG public key to iso directory.

3.4 Create DVD

Extract Video Files From Dvd

Create iso image with genisoimage. Please burn iso image to DVD media.

3.5 Add cdrom to repository list

Files

Insert DVD media and mount cdrom to /media/cdrom.

Add GPG key with apt-key.

Add cdrom to repository list with apt-cdrom. Because the database has no entry of this DVD, input repository name 'Ubuntu 16.04 repo'.

Extract Subtitles From Dvd Ubuntu Usb

Now you can install deb packages from DVD.