Skip to content

Instantly share code, notes, and snippets.

@Lucent
Created July 31, 2018 03:58
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 Lucent/a405a65f81915abad84b3fa27e18886e to your computer and use it in GitHub Desktop.
Save Lucent/a405a65f81915abad84b3fa27e18886e to your computer and use it in GitHub Desktop.
Rip DVD into chapter/title files using VideoLAN
set DVDDrive=E:
set DestPrefix="Whatever"
set Title=2
set FirstChapter=1
set LastChapter=20
for /L %%i in (%FirstChapter%,1,%LastChapter%) do "vlc.exe" --sout "#standard{access=file,mux=ts,dst=%DestPrefix%_c%%i.mpg}" dvdsimple:///%DVDDrive%/#%Title%:%%i-%Title%:%%i vlc://quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment