Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.

hpr3294 :: Update to MakeMKV to back up media

Update to MakeMKV to back up media, now on Raspberry Pi

<< First, < Previous, , Latest >>

Thumbnail of Archer72
Hosted by Archer72 on 2021-03-18 is flagged as Clean and is released under a CC-BY-SA license.
dvd, blu-ray, backup, nnn. (Be the first).

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:06:18


This is an update on my previous episode hpr3179 :: MakeMKV to back up media.

In the past month, has been updated to include Raspberry Pi support.


It was a very uneventful "It's here"

MakeMV on Raspberry Pi (ARM)
MakeMV on Raspberry Pi (ARM)
Click the thumbnail to see the full-sized image


Unpack both packages and starting from source package and do the following steps:

For makemkv-oss package:

sudo make install

For makemkv-bin package:

sudo make install

Install ccextractor and necessary packages

sudo apt install libtesseract-dev autoconf sysconftool

git clone
cd ccextractor/linux/

nnn: command line file browser with vim-like keybindings

Script to rip TV episodes

#echo "Series?"
echo "Series: $series"
echo "What Season is this?"
read season
echo "Season: $season"
echo "Which disc # is this?"
read disknum
echo "This is disk #$disknum"
echo "Starting with which episode?"
read episode

eject -x20
mkdir ""disc."$disknum"
makemkvcon mkv --progress=-same --minlength=2100 disc:0 all ""disc."$disknum"
cd ""disc."$disknum"

for track in *.mkv
  mv $track $series"_S"$season"_D"$disknum"_E"$episode.mkv

cd ..

Script to convert multiple episodes

mkdir encoded
for i in *.mkv
  HandBrakeCLI --first-subtitle --subtitle-default=none -i $i -o "encoded"/"`basename -s .mkv $i`.mkv"

Before and after the rename loop

Before rename
Before rename

After rename
After rename


Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Anti Spam Question: What does the P in HPR stand for ?