Burn an mkv with mkvtoolnix, ffmpeg, dvdauthor and K3B
July 13, 2011 at 13:54 | Posted in Guides | Leave a commentTags: dvdauthor, ffmpeg, K3b, mkvextract, mkvinfo, mkvtoolnix
Avidemux is crashing for me right now, so here’s how to transcode for DVD command-line style.
- Display the track information for the mkv you wish to burn:
$mkvinfo movie.mkv - Extract the audio and video tracks you need:
$mkvextract movie.mkv 1:video_output.mpg 2:audio_output.aac - Combine the two tracks with ffmpeg: (use pal-dvd if you live in Europe)
$ffmpeg -i video_output.mpg -i audio_output.aac -target ntsc-dvd movie.mpg - Prepare the movie file for DVD by authoring it:
- Create a new textfile named movie.xml with the following contents:
<dvdauthor>
<vmgm>
</vmgm>
<titleset>
<titles>
<pgc>
<vob file="movie.mpg" />
</pgc>
</titles>
</titleset>
</dvdauthor>
- Create the DVD structure in a new outputfolder with dvdauthor:
$dvdauthor -o outputfolder -x movie.xml
- Open K3B and start a new DVD video project
- Drag the contents of outputfolder/VIDEO_TS to the project’s VIDEO_TS folder
- Insert a blank DVD and hit burn!
Edit — As it turns out, K3B is also not working for me, due to HAL not being present because it requires v4l from the kernel, which has been removed in the latest version I have. Anyway, here’s how to BURN from the CLI as well, instead of using K3B.
$mkisofs -dvd-video -udf -o dvd.iso outputfolder$growisofs -Z /dev/dvd=dvd.iso
You can also test the .iso by mounting and making sure it plays correctly before you burn it.
Advertisement
Like this:
Be the first to like this post.
Leave a Comment »
RSS feed for comments on this post. TrackBack URI
Leave a Reply Cancel reply
Tags
64-bit ati boot.ini cleaning css cydia debian dhcpcd dvdauthor espeak ext3 ffmpeg fglrx gaming gparted grub hal.dll ipod ipod touch jailbreak K3b kernel headers lame lfs linux locate mencoder mkvextract mkvtoolnix ndiswrapper networking NTLDR rockbox slackware ssh steam swiftfox swiftweasel ubuntu vnc windows wine wireless wordpress xorg.confCategories
Links
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.