{"id":8704,"date":"2025-10-14T18:20:13","date_gmt":"2025-10-14T16:20:13","guid":{"rendered":"http:\/\/www.kameli.net\/marq\/?p=8704"},"modified":"2025-10-14T18:36:37","modified_gmt":"2025-10-14T16:36:37","slug":"raspberry-pi-500-dvd-bd-playback-and-compression","status":"publish","type":"post","link":"http:\/\/www.kameli.net\/marq\/?p=8704","title":{"rendered":"Raspberry Pi 500, DVD\/BD Playback and Compression"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This time in English again, as the topic might have some relevance for someone out there. Today I tested DVD\/BD ripping and direct DVD playback on my brand new Raspi 500. The drive was an external <a href=\"https:\/\/www.asus.com\/motherboards-components\/optical-drives\/external-blu-ray-drive\/sbw06d2xu\/\">Asus SBW-06D2X-U<\/a>, which ran fine connected to a USB3 port without any additional juice. As the first thing, install <em>libdvdread8<\/em>, if it isn&#8217;t already:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>sudo apt install libdvdread8<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next go to <em>\/usr\/share\/doc\/libdvdread8<\/em> and follow the instructions given in <em>README.css<\/em>. Note that this is very secret stuff and you may be committing serious crime depending on the local legislation. After that mischief <em>VLC<\/em> should already be able to play back DVDs. Blu-rays are a different ballgame, so most of them won&#8217;t work even if you install a suitable key database. But let&#8217;s get to that later and start with DVD ripping. For that install <em>HandBrake<\/em> as usual:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>sudo apt install handbrake<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then just open the disc and configure the settings as you see fit. My traditional settings for DVD compression have been h264, 2500 kbps, 2-pass encoding and turbo first pass. The default preset is &#8220;fast&#8221;, which is probably a good compromise here. In this case, the speed is heavily constrained by disc i\/o, so even a much more powerful computer won&#8217;t complete the task considerably faster. My Raspi 500 took 1 hour and 10 minutes, whereas a Ryzen 5900x was done in half an hour.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2025\/10\/handu-pakkaa.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1017\" height=\"773\" src=\"http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2025\/10\/handu-pakkaa.png\" alt=\"\" class=\"wp-image-8705\" style=\"width:500px\" srcset=\"http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2025\/10\/handu-pakkaa.png 1017w, http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2025\/10\/handu-pakkaa-300x228.png 300w, http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2025\/10\/handu-pakkaa-768x584.png 768w\" sizes=\"auto, (max-width: 1017px) 100vw, 1017px\" \/><\/a><figcaption class=\"wp-element-caption\"><em>A Bullet for the General<\/em> in the works.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">How about BD then? First we need to install <em>MakeMKV<\/em>, which is conveniently available for ARM-based computers these days. <a href=\"https:\/\/snapcraft.io\/install\/makemkv\/raspbian\">A snap is the easiest way to get it<\/a>, even though I wasn&#8217;t awfully happy to add one more package manager to the system. For testing, <a href=\"https:\/\/forum.makemkv.com\/forum\/viewtopic.php?t=1053\">a beta code<\/a> should work, but shelling out is not a bad idea in the long run, as the license seems to stay valid forever and lets you install the app on multiple computers, too. At least on the PC it was possible to use <em>MakeMKV<\/em> libraries with <em>VLC<\/em> for direct playback, but that&#8217;s something I didn&#8217;t get around to yet.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2025\/10\/maakari-works.png\"><img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"719\" src=\"http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2025\/10\/maakari-works.png\" alt=\"\" class=\"wp-image-8706\" style=\"width:500px\" srcset=\"http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2025\/10\/maakari-works.png 611w, http:\/\/www.kameli.net\/marq\/wp-content\/uploads\/2025\/10\/maakari-works-255x300.png 255w\" sizes=\"auto, (max-width: 611px) 100vw, 611px\" \/><\/a><figcaption class=\"wp-element-caption\">I know, I know. It&#8217;s a lame movie.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Dumping the BD into a file is purely i\/o limited, so the big PC wasn&#8217;t any faster: both machines took 35 minutes. When it comes to comperssion, though, the difference is vast. Raspi 500 took 3 hours and 50 minutes to finish, while the Ryzen only spent half an hour. The settings were mostly the same as with the DVD, but obviously with a higher bitrate (6000 kbps). If you&#8217;re in a hurry, using a powerful computer will get things done \u2013 on the other hand, leaving the power-sipping and completely quiet Raspi to crunch the videos overnight isn&#8217;t too bad, either. <em>HandBrake<\/em> lets you queue jobs, so there&#8217;s no need to poke it constantly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This time in English again, as the topic might have some relevance for someone out there. Today I tested DVD\/BD ripping and direct DVD playback on my brand new Raspi 500. The drive was an external Asus SBW-06D2X-U, which ran fine connected to a USB3 port without any additional juice. As the first thing, install [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,13,24],"tags":[],"class_list":["post-8704","post","type-post","status-publish","format-standard","hentry","category-laitteet","category-linux","category-softat"],"_links":{"self":[{"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=\/wp\/v2\/posts\/8704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8704"}],"version-history":[{"count":4,"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=\/wp\/v2\/posts\/8704\/revisions"}],"predecessor-version":[{"id":8710,"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=\/wp\/v2\/posts\/8704\/revisions\/8710"}],"wp:attachment":[{"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8704"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.kameli.net\/marq\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}