Skip to content

Instantly share code, notes, and snippets.

@n1ckfg
Created May 13, 2018 14:54
Show Gist options
  • Save n1ckfg/91c90d17ca6549d78b258757acb9aa17 to your computer and use it in GitHub Desktop.
Save n1ckfg/91c90d17ca6549d78b258757acb9aa17 to your computer and use it in GitHub Desktop.
Create a DVD image from a video file using only the Ubuntu command line
ffmpeg -y -i $PWD"/"$1 -aspect 16:9 -target ntsc-dvd dvd.mpg
rm -rf dvd
mkdir dvd
export VIDEO_FORMAT=NTSC
dvdauthor -o dvd/ -t dvd.mpg
dvdauthor -T -o dvd/
genisoimage -dvd-video -o dvd.iso dvd/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment