Skip to content

Instantly share code, notes, and snippets.

@denhamparry
Last active June 29, 2019 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save denhamparry/eac5fc7716b90e63ab09e29c423d0fa4 to your computer and use it in GitHub Desktop.
Save denhamparry/eac5fc7716b90e63ab09e29c423d0fa4 to your computer and use it in GitHub Desktop.
Copy DVD in Ubuntu
$ cd /dev/
$ ls -la | less
$ cd /media/
# dvd sr0
$ mkdir dvd
$ sudo mount /dev/sr0 /media/dvd
$ cd /media/dvd
$ vobcopy -o /media/plex/import
$ sudo apt install mediainfo
$ for f in *.vob ; do ffmpeg -i "$f" -b:v 3000k  -b:a 128k "${f%.*.vob}.mp4"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment