Skip to content

Instantly share code, notes, and snippets.

@colinwilson
Last active February 17, 2020 04:44
Show Gist options
  • Save colinwilson/8635f522ae5b0a3c377d008243138ddb to your computer and use it in GitHub Desktop.
Save colinwilson/8635f522ae5b0a3c377d008243138ddb to your computer and use it in GitHub Desktop.
HandBrake Install Script
#! /bin/bash
cd /root && mkdir video_in && mkdir video_out \
&& wget https://gist.githubusercontent.com/colinwilson/bdc29535d8825acdda2fbc2d3718d021/raw/2a14fa3f8be94424a650308a2b5f2dbd6bad8876/hbap.json \
&& wget https://gist.githubusercontent.com/colinwilson/3ba48ea637035d3f4ac8fdf5c25bc55a/raw/b9692629119246685bfeb3141b35e63a96a6ef6f/hbap720p.json \
&& wget https://gist.githubusercontent.com/colinwilson/8852b8fe09a52cca6828960621edd5d3/raw/90f4b89f8f6b35a1929a1fd7b187340cb1d5342a/hbap4k.json \
&& wget https://gist.githubusercontent.com/colinwilson/5ea73985e520f0c85e610c2f0e29ac39/raw/484cfa10216973d754bee2ab1e16ca18fb864dfa/hb_h.265_720p.sh \
&& wget https://gist.githubusercontent.com/colinwilson/db77c82536721f6ea70309b6d601f19e/raw/4bd1f86df6b144123f3885c9bb99fe0842ee7e4c/hb_h.265_1080p.sh \
&& wget https://gist.githubusercontent.com/colinwilson/4416611115d5f76bb9f6555dd2fe0730/raw/c343cde69b6a4e23e5bca304f865d36593e91b95/hb_h.265_2160p.sh \
&& chmod +x hb_h.265_720p.sh \
&& chmod +x hb_h.265_1080p.sh \
&& chmod +x hb_h.265_2160p.sh \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y software-properties-common \
&& add-apt-repository ppa:stebbins/handbrake-git-snapshots -y \
&& apt-get update \
&& apt-get install handbrake-cli handbrake-gtk -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment