Simple CLI script to rip:
I cant for the life of me find a script that works.
All I want is a script to run (auto when inserting a DVD through Mac DVD preferences)
Rip at generic 720p DVD quality to an external disk in an Apple friendly format. then eject.
An auto name would be amazing, but I'm willing to settle without it at present.
ignore the Push Bullet stuff, fee free to comment.
Below is my script,
#!/bin/sh
"Volumes/Macintosh HD/Applications/HandbrakeCLI/HandBrakeCLI" -i /dev/dvd -o /Volumes/RAID/Movies/NewMovie.mp4 -e x264 -q 20 -B 160
# Set your pushbullet access token here:
PUSHBULLET_ACCESS_TOKEN=MY PB TOKEN:PASSWORD
# -- END of user configurable variables. --
PUSHBULLET_API_PUSH=https://api.pushbullet.com/v2/pushes
curl --header "Authorization: Bearer $PUSHBULLET_ACCESS_TOKEN" \
-o /dev/null \
-fs \
-X POST $PUSHBULLET_API_PUSH \
--header 'Content-Type: application/json' \
--data-binary "{
\"type\": \"note\",
\"title\": \"DVD Ripped\”,
\"body\": \"DVD has been ripped and imported to Plex @ $TR_TIME_LOCALTIME.\"
}"
END [/b]
HandBrakeCLI 1.2.2
macOS 10.12 Sierra:
HandBrake Activity Log ***required*** (see How-to get an activity log)
Don't have one,
Please Help. Happy too throw a couple of PayPal $'s if it works.
Simple CLI script to rip DVD
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Re: Simple CLI script to rip DVD
Use ripping software, rather than trying to force handbrake to do something it isn't intended to do. Handbrake doesn't understand encrypted commercial disks, so it's going to fail when you try to make it read them.
I know there are scripts over on the MakeMKV forum for using the command line version of that program to rip disks to unencrypted MKV files, which handbrake can handle. I would not be surprised if other disk rippers had the capability.
I know there are scripts over on the MakeMKV forum for using the command line version of that program to rip disks to unencrypted MKV files, which handbrake can handle. I would not be surprised if other disk rippers had the capability.