Burning a DVD Video on Gentoo
May 15, 2018 —
Jesse Harris
Quick note for my future self
Overview
- Convert media to dvd compatible format
- Author DVD title
- Author DVD Table of Contents
- Convert DVD folder to ISO
- (Optional) Loopback mount ISO and test.
- Burn ISO to DVD
Packages Required
media-video/ffmpeg
media-video/dvdauthor
app-cdr/dvd+rw-tools
Commands
Start by using ffmpeg to convert the media to a dvd compatible format:
ffmpeg -i Big\ Buck\ Bunny.mp4 -target pal-dvd BigBuckBunny.mpg
Now use dvdauthor to author a title
dvdauthor -t -o dvd --video=pal -f BigBuckBunny.mpg
Add a table of contents
dvdauthor -T -o dvd
Create the ISO file
mkisofs -dvd-video -o BigBuckBunny.iso dvd/
(Optional) Mount to a loopback for testing
mkdir mount
mount -o loop BigBuckBunny.iso mount/
Play the video using VLC or some other tool to check it, then unmount
umount mount/
Burn to a disc
growisofs -dvd-compat -Z /dev/sr0=BigBuckBunny.iso
Credit to andrew.46 over at the ubuntuforums
Tags: burn-a-dvd, gentoo, ffmpeg, linux