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>
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.
Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.
Sponsored by ActiveState
| Non-Linux FOSS: libnotify, OS X Style | Jun 18, 2013 |
| Containers—Not Virtual Machines—Are the Future Cloud | Jun 17, 2013 |
| Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer | Jun 12, 2013 |
| Weechat, Irssi's Little Brother | Jun 11, 2013 |
| One Tail Just Isn't Enough | Jun 07, 2013 |
| Introduction to MapReduce with Hadoop on Linux | Jun 05, 2013 |
- Containers—Not Virtual Machines—Are the Future Cloud
- Non-Linux FOSS: libnotify, OS X Style
- Linux Systems Administrator
- Validate an E-Mail Address with PHP, the Right Way
- Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer
- RSS Feeds
- Senior Perl Developer
- Technical Support Rep
- Introduction to MapReduce with Hadoop on Linux
- Weechat, Irssi's Little Brother
- What the author describes
55 min 40 sec ago - Reply to comment | Linux Journal
5 hours 6 min ago - Reply to comment | Linux Journal
5 hours 51 min ago - Didn't read
6 hours 1 min ago - Reply to comment | Linux Journal
6 hours 6 min ago - Poul-Henning Kamp: welcome to
8 hours 16 min ago - This has already been done
8 hours 17 min ago - Reply to comment | Linux Journal
9 hours 3 min ago - Welcome to 1998
9 hours 51 min ago - notifier shortcomings
10 hours 15 min ago
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?





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