xenomachina / dvdrip

Rip DVDs quickly and easily from the command line.
GNU General Public License v3.0
126 stars 29 forks source link

Make it work on Windows 10 #11

Closed cvzi closed 1 year ago

cvzi commented 2 years ago

I could not test if these changes have an effect on non-Windows systems.

xenomachina commented 1 year ago

Thanks for the PR! Sorry it took me so long to get back. This got lost in my email.

dmike23 commented 1 year ago

How do you actually install this script? I'm new to Git but I have python installed

cvzi commented 1 year ago

How do you actually install this script? I'm new to Git but I have python installed

First you need to clone my repository (download a copy of the repository): Open a terminal and do this:

git clone git@github.com:cvzi/dvdrip.git
cd dvdrip

This creates a folder dvdrip with the contents my repository. The dvdrip.py file should be in that folder.

Then you need to download HandBrake from here: https://handbrake.fr/downloads2.php Extract the HandBrakeCLI.exe in to the dvdrip folder.

Now you can run dvdrip with --scan in the terminal to show the content of the DVD:

dvdrip.py -i "D:\VIDEO_TS" --scan

If that doesn't work maybe you need to add the path to the python.exe before the command (that depends on how you installed python)

"C:\Program Files\Python 3.11\python.exe" dvdrip.py -i "D:\VIDEO_TS" --scan

Then you can do the actual ripping, for example with the chapter splitting like this:

dvdrip.py -i "D:\VIDEO_TS" -c -o "output_folder"

It will create the .mp4 files in the folder output_folder

xenomachina commented 1 year ago

I merged this from the command line. Thanks for the PR!

xenomachina commented 1 year ago

Pretty weird that Github gives command line instructions, but when you follow them it treats the PR as "closed" rather than "merged". 😞