DVD Mastering Using QDVDAuthor
Video Encoding
If you're working from footage taken on a miniDV camera, outputting a DVD-ready video from Kino is relatively simple. If you haven't used it before, Kino's interface is comfortable and easy to navigate. Good user guides are available at several places on the Web, most obviously at Kino's home page (kinodv.org/article/archive/13). It's not a multitrack editor, more's the pity, but for quick-and-dirty edit work with basic transitions and soundtrack mixing, it works encouragingly well. When outputting video from Kino, I've found that I get the best results (for both video quality and a minimum of sound sync slippage) with the dual-pass encoding in the DV Pipe screen.
On the off chance that you're wanting to burn DVDs from your PVR, you still need to get the files into the right format. Mencoder is great for this, though it has a confusing array of options. Here's a sample command argument for moving from xvid to DVD-compatible MPEG-2:
mencoder -ovc lavc -lavcopts vcodec=mpeg2video -oac lavc -lavcopts \ acodec=mp2:abitrate=512 foo.avi -o foo.mpg
An important caveat about encoding to DVD-format MPEGs: every Linux video encoder I have ever run into uses FFmpeg or MJPEGTools as a back end, and they both have the same problem—a big one. They both seem to have a bug that causes a slip of sound sync progressively throughout the file, becoming noticeable after about the first two minutes of footage. It's a problem in the library that I've not found a way around, though it is markedly less pronounced using FFmpeg than MJPEGTools. This is the biggest and most troublesome hurdle still facing Linux DVD authors. The only solution I've found to this deeply irritating problem is to slice your video into two- to five-minute tracks and use each of these tracks as separate titles on your DVD. It's an ugly solution, and not the kind of thing you want to talk about at parties, but for the moment it's the best we can do. In an ideal world, the good folks who maintain these projects would fix the issue, but as this is a common problem for many commercial MPEG encoders, I'm not holding my breath. (I should add, dear reader, on the off chance that this is a user-brain-dead error and I'm missing something obvious, I look forward to your hate mail with cheerful enthusiasm.)
In case you want to strike out on your own with the available command-line tools (mencoder, FFmpeg and mjpegtools), here are the vital stats you'll need to encode a serviceable DVD video file (all numbers are for NTSC):
Video:
720x480 with 4:3 (standard) or 16:9 (anamorphic) aspect ratio.
MPEG-2 @ up to 98,00kbps
Audio:
48khz @ 32–1,536kbps
PCM, AC3, MPEG-1 Layer2
Up to eight audio tracks encoded
DVD File Structure
The difference between a data DVD and a video DVD is essentially the file structure and video format. The proper encoding of the file structure is handled by DVDAuthor, the back end on which all Linux DVD programs depend. It takes an XML file and builds the DVD image from it. Here is the DVDAuthor output from the project I built for this article:
<dvdauthor dest="/home/user/dvddirectory/" jumppad="yes" >
<vmgm>
<menus>
<video format="ntsc" resolution="720x480" />
<pgc entry="title" >
<vob file="/tmp/HK Promo disc/Main Menu VMGM_menu.mpg"
pause="inf" />
<button name="1" >jump title2; </button>
<post> jump vmgm menu 1; </post>
</pgc>
</menus>
</vmgm>
<titleset>
<menus>
<pgc>
<post> jump vmgm menu 1; </post>
</pgc>
</menus>
<titles>
<pgc>
<vob file="/home/user/dvdmenu1.mpeg.vob" />
<vob file="/home/user/trailerdvd.mpeg.vob" />
<vob file="/home/user/video/cinereel1.mpg" />
<vob file="/home/user/video/cinereel2.mpg" />
<post> call vmgm menu 1; </post>
</pgc>
</titles>
</titleset>
</dvdauthor>
Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
| Trying to Tame the Tablet | May 08, 2013 |
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- New Products
- RSS Feeds
- Validate an E-Mail Address with PHP, the Right Way
- Drupal Is a Framework: Why Everyone Needs to Understand This
- A Topic for Discussion - Open Source Feature-Richness?
- Home, My Backup Data Center
- New Products
- Tech Tip: Really Simple HTTP Server with Python
- Connecting Android device to desktop Linux via USB
21 min 29 sec ago - Find new cell phone and tablet pc
1 hour 19 min ago - Epistle
2 hours 48 min ago - Automatically updating Guest Additions
3 hours 57 min ago - I like your topic on android
4 hours 43 min ago - Reply to comment | Linux Journal
5 hours 4 min ago - This is the easiest tutorial
11 hours 19 min ago - Ahh, the Koolaid.
16 hours 57 min ago - git-annex assistant
22 hours 57 min ago - direct cable connection
23 hours 19 min ago
Enter to Win an Adafruit Prototyping Pi Plate Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Prototyping Pi Plate Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.





Comments
Where's the chaptering step hiding?
"Once you've finished importing all your footage, it's time to begin constructing your menus."
Seems to me the subject of chapters to this point has not yet been addressed, which would mean now's the time to contruct chapters, not menus. Did I miss something?
Doesn't burn after "Create DVD" is clicked
The "Create DVD" button when clicked goes through the usual display of processes and some sort of files are created in the tmp area but none of the stuff created makes a DVD that'll play on a DVD player. It's just junk.
I wish someone would make a linux video program that actually works!
thanks
Thanks for putting this together. I've tried qdvdauthor a few times but never could quite get it figured out.
I have managed to put together a dvd but when I run the batch it just quits after processing the 3 clips I have added and I'm running the batch again to find the error. The output folder has 2 of the 3 video files so it must be something with the 3rd clip. It creates the mpg files for all 3 though in the tmp folder. All 3 clips came from the same source and were run through mencoder.
Any ideas?
Qdvdauthor - transparent background to buttons
I can't see anyway to make the background of buttons transparent.
Did you simply blend the colours? - if not, how please.
Mike. (UK - explains colours)
Authoring Help
On the page for "Authoring" : alle the list of commands are empty ! Why ?
How can I do to export my project ?
Missing defaults
I had a similar problem. I deleted ~/.qdvdauthor/qdvdauthor.ini then accepted the regenerate init file dialog when I restarted qdvdauthor and my problem was solved.
Worked for me
Thanks, had the very same problem here, but deleting the ini file helped!
Audio Help Wanted
I'm looking for help in mastering the original audio into AC3 and/or PCM in addition to stereo. If I import my DV into Kino, edit it and export it to an MPEG file, and then create a DVD from it, I don't get audio on my digital input to my receiver from my DVD player. I do have the stereo audio if I use those inputs to the TV.
Is there a set of flags to set in the Audio Encoding field in Kino? The default is "mp2enc -v 0". I suspect that I need to invoke ffmpeg with the right flags for AC3, PCM, and MP2.
Thanks -- Tuxi
Audio Problem Solved
I found out that if I used Kino's DV Pipe [I used the DVD-Video Dual Pass (FFMPEG)] I got the AC3 sound. The problem with playback over my home theater system is resolved.
Previously, I had used the MPEG tab in Kino and had selected the YUV Deinterlace Film-Like option.
(After orginally posting this, I found the explicit instruction in the article to use the DV Pipe :(.)
Any further comments would be appreciated.
Thanks -- Tuxi