Closed cvzi closed 1 year ago
Thanks for the PR! Sorry it took me so long to get back. This got lost in my email.
How do you actually install this script? I'm new to Git but I have python installed
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
I merged this from the command line. Thanks for the PR!
Pretty weird that Github gives command line instructions, but when you follow them it treats the PR as "closed" rather than "merged". 😞
\r
from stdout because it breaks the regular expressionseject
does not exist on WindowsI could not test if these changes have an effect on non-Windows systems.