These days, we are likely to record our videos in some high-definition format. Sometimes, however, it may still be convenient to provide the final cut of a movie on a DVD disk. This guide describes how to use your Linux PC to create a DVD disk from any source material.
The procedure consists of four simple steps:
- Rendering the source video to a lossless format
- Converting the result to a DVD compliant format (.vob)
- Authoring the DVD
- Burning the DVD
1. Rendering the source video
Whatever video editor you are using, when you finished editing your video, you will probably render it to .mp4 or some other format. In principle, you could use this output file for the following procedure. However, to get the best DVD quality, it is helpful to render to a lossless format.
I am creating and editing my videos in Kdenlive and save the (intermediate) result with the lossless codec HUFFYUF.
2. Converting the result to a DVD compliant format (.vob)
In this step we convert the video to a DVD compliant format (mpeg2 with special settings). Make sure that ffmpeg is installed on your system (check with: "which ffmpeg").
Open a text/terminal window, go into the folder that contains your intermediate file (in my case: "myvideo.mkv") and run ffmpeg like this:
ffmpeg -i myvideo.mkv -target ntsc-dvd -maxrate 8000000 -b:v 4100000 output.vob
This will produce the file "output.vob" which is needed for the next step. The above command produces a DVD in NTSC format. If you need PAL format, just replace "ntsc-dvd" with "pal-dvd".
A DVD can hold video files of up to approx. 4 GB. The size of the output file is adjusted with the value after "-b:v". Smaller values produce smaller files. It should be adjusted to achieve the largest possible file size, while not exceeding 4.4 GB. The value of 4100000 worked well for me and produced a 3.9 GB vob file for my 2-hour video.
3. Authoring the DVD
export VIDEO_FORMAT=NTSC
4. Burning the DVD
In this last step, the DVD is burnt, using the GUI k3b. After starting "k3b", you select on the bottom "more actions..."