Created
September 20, 2018 17:51
-
-
Save sergeioff/0727e8385c162975ed4d24ab36e7c2aa to your computer and use it in GitHub Desktop.
Rip DVD to mp4 supported by iMovie
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for entry in "."/* | |
do | |
if [[ "$entry" =~ .VOB$ ]]; then | |
/Applications/VLC.app/Contents/MacOS/VLC -I dummy --sout "#transcode{vcodec=h264,acodec=aac,ab=128,channels=2,samplerate=44100}:std{access=file,mux="mp4",dst=$entry.mp4}" "$entry" vlc://quit | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment