From ef43d544a883b3927681f7b79eef449e8e8b2882 Mon Sep 17 00:00:00 2001 From: kfrn Date: Sun, 30 Oct 2016 21:13:27 +1300 Subject: [PATCH] Add further explanation of .VOB files --- index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 9fd7214..de9c97b 100644 --- a/index.html +++ b/index.html @@ -373,14 +373,15 @@

Convert DVD to H.264

ffmpeg -i concat:input_file1\|input_file2\|input_file3 -c:v libx264 -c:a copy output_file.mp4

-

This command allows you to create an H.264 file from a DVD source.

+

This command allows you to create an H.264 file from a DVD source that is not copy-protected.

+

Before encoding, you'll need to establish which of the .VOB files on the DVD or .iso contain the content that you wish to encode. Inside the VIDEO_TS directory, you will see a series of files with names like VTS_01_0.VOB, VTS_01_1.VOB, etc. Some of the .VOB files will contain menus, special features, etc, so locate the ones that contain target content by playing them back in VLC.

ffmpeg
starts the command
-i concat:input files
lists the input VOB files and directs ffmpeg to concatenate them. Each input file should be separated by a backslash and a pipe, like so:
-i concat:VTS_01_1.VOB\|VTS_01_2.VOB\|VTS_01_3.VOB
The backslash is simply an escape character for the pipe (|).
-c:v libx264
sets the codec as H.264
-
-c:a copy
audio remains as-is (it is not reencoded)
+
-c:a copy
audio remains as-is (no re-encode)
output_file.mp4
path and name of the output file.

It's also possible to adjust the quality of your output by setting the -crf and -preset values:

@@ -394,7 +395,7 @@

ffmpeg -i concat:input_file1\|input_file2 -map 0:v -map 0:a -c:v libx264 -c:a copy output_file.mp4

-map 0:v
encodes all video streams
-
-map 0:a
encodes all audio streams
+
-map 0:a
encodes all audio streams.