<p>Installed Fedora 32 on a spare laptop</p>
<h5 id="quick-tip">Quick tip</h5>
<p>To ignore the handle switch on the laptop triggering a power off:</p>
<p>Put <code>HandleLidSwitch=ignore</code> in <code>/etc/systemd/logind.conf</code></p>
<h4 id="install-makemkv-from-source">Install MakeMKV from source</h4>
<pre><code>dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

dnf install zlib-devel openssl-devel expat-devel ffmpeg ffmpeg-devel qt5-qtbase-devel
mkdir git/makemkv.source

cd makemkv.source
wget https://www.makemkv.com/download/makemkv-oss-1.15.2.tar.gz
wget https://www.makemkv.com/download/makemkv-bin-1.15.2.tar.gz

tar xpf makemkv-oss-1.15.2.tar.gz
tar xpf makemkv-bin-1.15.2.tar.gz

cd makemkv-oss-1.15.2/
./configure
make
sudo make install

cd ../makemkv-bin-1.15.2/
make
sudo make install</code></pre>
<h4 id="install-makemkv-from-flathub">Install MakeMKV from flathub</h4>
<pre><code>flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub com.makemkv.MakeMKV</code></pre>
<h4 id="install-ccextractor">Install ccextractor</h4>
<pre><code>dnf install libtesseract-dev autoconf sysconftool

git clone https://github.com/CCExtractor/ccextractor.git
cd ccextractor/linux/
./build</code></pre>
<h4 id="enable-expert-mode">Enable expert mode</h4>
<p><br />
<img src="https://hackerpublicradio.org/eps/hpr3179/img_001.png" /></p>
<h4 id="provide-path-to-the-ccextractor-binary">Provide path to the ccextractor binary</h4>
<p><br />
<img src="https://hackerpublicradio.org/eps/hpr3179/img_002.png" /></p>
<h4 id="re-encoding-mkv-file">Re-encoding MKV file</h4>
<pre><code>ffmpeg -i $1 -b:a 128k -b:v 2000k -vcodec mpeg4 -acodec aac &quot;encoded&quot;/&quot;`basename -s .mkv $1`-_2000k_aac.mkv&quot;</code></pre>
<h4 id="updated-registration-key-good-for-2-months">Updated registration key (Good for 2 months?)</h4>
<p><a href="https://www.makemkv.com/forum/viewtopic.php?t=1053">Updated registration key for MakeMKV</a></p>
<h4 id="makemkv-registration-code-update-script-untested">MakeMKV registration code update script (Untested)</h4>
<p><a href="https://github.com/AyrA/MakeMKV">Github link to MakeMKV registration update script</a></p>
<h4 id="other-links">Other links</h4>
<p><a href="https://linuxconfig.org/how-to-install-makemkv-on-fedora-linux">How to install MakeMKV on Fedora Linux</a> <br> <a href="https://www.makemkv.com/forum/viewtopic.php?f=3&amp;t=224&amp;sid=4e978698972df3de5f4e055c39370e03">Forum post for MakeMKV on Linux</a></p>
<h4 id="how-to-playrip-blu-ray-discs-on-mplayer-command-line">How to play/rip Blu-ray discs on Mplayer command line</h4>
<p>For DVD's</p>
<pre><code>mplayer dvd:///_/dvd/mount/dir_</code></pre>
<p>For Blu-ray discs <br> Download keydb.cfg and place it in <code>~/.config/aacs/</code> <br> <a href="https://fvonline-db.bplaced.net/">Link to keydb.cfg</a></p>
<pre><code>mplayer br:///_/bluray/mount/dir_
ie. mplayer br:////dev/sr0 &lt;br&gt;</code></pre>
<p>note the 3 forward slashes before the block device, as the disk will not be read otherwise</p>
<p>Ripping:</p>
<pre><code>mplayer br:////dev/sr0 -alang en -dumpstream -dumpfile $movie.mpg</code></pre>
<p>Encoding:</p>
<pre><code>mkdir encoded
ffmpeg -i $1 -map 0:0 -map 0:1 -b:a 128k -b:v 2000k -vcodec mpeg4 &quot;encoded&quot;/&quot;`basename -s .mpg $1`.mkv&quot;</code></pre>
<h4 id="questions-for-the-community">Questions for the Community:</h4>
<p>Is it antiquated to want to rip Blu-ray/DVD disks to a server?</p>
<p>Is there a better way to accomplish this, rather than using MakeMKV, which continues to be Beta software, and not Free and Open Source?</p>
