Skip to content

Instantly share code, notes, and snippets.

@ffeu
Last active November 18, 2021 13:44
Show Gist options
  • Save ffeu/7905139fabd76e8030fa6161a12b2f6b to your computer and use it in GitHub Desktop.
Save ffeu/7905139fabd76e8030fa6161a12b2f6b to your computer and use it in GitHub Desktop.
rip dvd in ubuntu using mencoder
#!/bin/bash
# https://gist.github.com/ffeu/7905139fabd76e8030fa6161a12b2f6b
if [ -z "$*" ] ; then
echo "No arguments provided. Usage:"
echo ""
echo "./rip_dvd.sh <input_vob_file> <output_avi_file>"
echo ""
exit 0
fi
mencoder $1 -nosub -oac mp3lame -ovc copy -o $2
@ffeu
Copy link
Author

ffeu commented Nov 18, 2021

Requirements

sudo apt install mencoder

Usage

ls /dev/sr0
./rip_dvd.sh <input_vob_file> <output_avi_file>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment