{"id":306,"date":"2021-06-16T20:06:36","date_gmt":"2021-06-17T04:06:36","guid":{"rendered":"http:\/\/spacefold.com\/colin\/morethanfour\/?p=306"},"modified":"2021-06-20T09:56:04","modified_gmt":"2021-06-20T17:56:04","slug":"dvd-ripping-with-handbrake-on-linux","status":"publish","type":"post","link":"https:\/\/spacefold.com\/colin\/morethanfour\/2021\/06\/16\/dvd-ripping-with-handbrake-on-linux\/","title":{"rendered":"DVD ripping with Handbrake on Linux"},"content":{"rendered":"\n<p>We&#8217;re enjoying our new <a rel=\"noreferrer noopener\" href=\"https:\/\/www.synology.com\/en-us\/products\/series\/home\" target=\"_blank\">Synology NAS<\/a>, and leveraging <a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/Digital_Living_Network_Alliance\" target=\"_blank\">DLNA<\/a> to access music and video from any client on our network, including iPad, Roku, and desktop devices. <a rel=\"noreferrer noopener\" href=\"http:\/\/littlesvr.ca\/asunder\/\" target=\"_blank\">Audio CD ripping<\/a> on <a rel=\"noreferrer noopener\" href=\"https:\/\/linuxmint.com\/\" target=\"_blank\">Linux Mint<\/a> isn&#8217;t a problem, but DVDs are more complicated. <\/p>\n\n\n\n<p>I&#8217;m using <a rel=\"noreferrer noopener\" href=\"https:\/\/handbrake.fr\/\" target=\"_blank\">Handbrake<\/a>, because it is open source, free, fast, and very configurable. Also, it is available for both Windows and Linux. On the downside, it is not newbie-friendly; not a point-and-click app. &#8220;With great flexibility comes a learning curve&#8221;. Hence, my decision to write up my process so far.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Installing Handbrake<\/h3>\n\n\n\n<p>In Linux Mint, Handbrake is available in the Software Manager. At time of writing, there are three options available. I chose the GUI version that is not flatpak.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image.png\" alt=\"\" class=\"wp-image-307\" width=\"676\" height=\"296\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image.png 760w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-300x131.png 300w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-676x295.png 676w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\" \/><\/figure>\n\n\n\n<p>Installation was uneventful. The UI is complicated, at first blush, and I&#8217;m not qualified to explain it. I will document my steps to rip a DVD.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">About commercial DVDs<\/h3>\n\n\n\n<p>A DVD is essentially a file system with directories (such as VIDEO_TS) containing files, including menus, videos, FBI warnings, trailers, images, etc. Depending on the DVD, there may be multiple video files for different aspect ratios. Languages, commentaries, and captions seem to be encapsulated in the video files themselves, although there may be multiple video files for different aspect ratios or edits such as Director&#8217;s Cut, alternate endings, etc.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Choosing a format (I)<\/h4>\n\n\n\n<p>It is possible to create a single .ISO file containing a disc image of the DVD, and copy it to the NAS. There are clients (e.g. <a rel=\"noreferrer noopener\" href=\"https:\/\/arichidea.com\/open-iso-file-with-vlc-media-players\/\" target=\"_blank\">VLC<\/a>) that can open the .ISO and present the disc menu interactively, just like a DVD player. That&#8217;s one option. On the downside, .ISO images take up storage space, and you are limited in how to view them over the network. Given our DLNA ecosystem, I wanted to explore extracting the video files into a format that was more compact and streaming-friendly. <\/p>\n\n\n\n<p>There are more formats than you can shake an empty DVD case at, each with advantages and disadvantages. More on this later.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Loading a DVD into Handbrake<\/h3>\n\n\n\n<p>Insert the DVD into your drive, and close any application that tries to play it automatically. I chose a commercial release of the film &#8220;Galaxy Quest&#8221; because they&#8217;ll be some extra bonus features and soundtracks to review. <\/p>\n\n\n\n<p>Run Handbrake (the icon is under the Sound &amp; Video menu) and scan the disc for source files. I found the quickest way to scan the disc in Handbrake is to use the File menu, there&#8217;s an entry for the optical disc drive:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"263\" height=\"200\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-1.png\" alt=\"\" class=\"wp-image-308\"\/><\/figure><\/div>\n\n\n\n<p>Handbrake scans the disc and identifies a list of 25 possible source files. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"854\" height=\"187\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-2.png\" alt=\"\" class=\"wp-image-309\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-2.png 854w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-2-300x66.png 300w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-2-768x168.png 768w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-2-676x148.png 676w\" sizes=\"auto, (max-width: 854px) 100vw, 854px\" \/><\/figure>\n\n\n\n<p>By default, the first file is selected. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Exploring the DVD files<\/h4>\n\n\n\n<p>Note that at first glance there is no information about what these source files are, except for their sequence number and their duration. There&#8217;s no way to view any DVD &#8220;menu&#8221; within Handbrake, although Handbrake will generate a set of preview images from each source file to help us identify.<\/p>\n\n\n\n<p>Here&#8217;s what I determined from reviewing the preview images for each title:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> 1  1:42:00   Feature Presentation\n 2    10:07   On Location In Space - Making Of\n 3     2:15   unknown sequence \n 4     1:47   unknown sequence \n 5      :40   unknown sequence\n 6      :52   unknown sequence\n 7     2:02   FX test sequence?\n 8     1:30   unknown sequence \n 9      :47   unknown sequence \n10     9:47   unknown sequence\n11     1:54   unknown sequence\n12     1:12   Trailer #1\n13     2:20   Trailer #2\n14     1:50   Trailer #3\n15     2:09   Tim Allen talking\n16      :42   Sigourney Weaver talking\n17      :46   Alan Rickman talking\n18      :21   Tony Shaloub talking\n19      :34   Sam and Daryl talking\n20      :21   Sam and Daryl talking\n21     1:21   talking head\n22      :25   talking head\n23      :35   talking head\n24      :13   talking head\n25      :24   Dreamworks Logo<\/code><\/pre>\n\n\n\n<p>Handbrake can extract any one of these 25 source files and convert to a stand-alone video file. Galaxy Quest is an &#8220;interesting&#8221; example, in that the extras aren&#8217;t obvious.  The actual DVD menu may help decipher this list. Handbrake can&#8217;t play the DVD menu, but VLC can. (Or I could put the disc in our DVD Player.)<\/p>\n\n\n\n<p>Looking at the DVD menu in VLC allowed me to compile:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PLAY MOVIE \nSCENE INDEX\nSPECIAL FEATURES\n    On Location In Space (10:07)\n    From The Cutting Room Floor\n        PLAY ALL (9:47)\n        1. Tech Talk with Sergeant Chen (2:15)\n        2. Alex tours his \"personalized\" quarters (1:47)\n        3. A running spat between old flames (0:40)\n        4. Guy gets attacked (0:52)\n        5. Alex's motivational speech (2:02)\n        6. Gwen saves the day (1:30)\n        7. The Crew vs. Sarris (0:47)\n    Theatrical Trailer (1:54)\n    Sneak Preview Trailers\n        Chicken Run\n        El Dorado\n        Road Trip\n    Cast and Crew\n    Production Notes\nSUBTITLES\n    English Only Captions ON\/OFF\nAUDIO\n    5.1 ENGLISH DOLBY DIGITAL\n    2.0 ENGLISH DOLBY SURROUND\n    2.0 THERMIAN DOLBY SURROUND\nOMEGA 13<\/code><\/pre>\n\n\n\n<p>We can now cross-reference this and update that source file list from Handbrake:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> 1  1:42:00   Galaxy Quest\n 2    10:07   On Location In Space - Making Of\n 3     2:15   Deleted Scene - Tech Talk\n 4     1:47   Deleted Scene - Alex's quarters\n 5      :40   Deleted Scene - Old flames\n 6      :52   Deleted Scene - Guy gets attacked\n 7     2:02   Deleted Scene - Alex's speech\n 8     1:30   Deleted Scene - Gwen saves the day\n 9      :47   Deleted Scene - Crew vs Sarris\n10     9:47   All Deleted Scenes (alternative)\n11     1:54   Theatrical Trailer\n12     1:12   Trailer #1 - Chicken Run\n13     2:20   Trailer #2 - El Dorado\n14     1:50   Trailer #3 - Road Trip\n15     2:09   Tim Allen talking\n16      :42   Sigourney Weaver talking\n17      :46   Alan Rickman talking\n18      :21   Tony Shaloub talking\n19      :34   Sam and Daryl talking\n20      :21   Sam and Daryl talking\n21     1:21   Unknown talking head\n22      :25   Unknown talking head\n23      :35   Unknown talking head\n24      :13   Unknown talking head\n25      :24   Dreamworks Logo<\/code><\/pre>\n\n\n\n<p>My guess is that the 15 &#8211; 24 &#8220;talking heads&#8221; clips are somehow part of the &#8220;Omega 13&#8221; bonus feature, but I couldn&#8217;t figure out how to play them from the DVD menu. <\/p>\n\n\n\n<p>Now we have enough information to start the extraction process.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Extracting\/Ripping a source file<\/h3>\n\n\n\n<p>Let&#8217;s start with the Feature Presentation. <\/p>\n\n\n\n<p>Select Title 1 in the <strong>Title:<\/strong> dropdown if it isn&#8217;t already selected. Note that there are 21 chapters in this source file.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Choosing a format (I)<\/h4>\n\n\n\n<p>We need something compatible with common DLNA clients that can retain the multiple audio tracks and subtitle captions; and keep the original DVD image resolution (or close to it).  We don&#8217;t need HD video, 48kHz sound or 5.1 surround sound. <a rel=\"noreferrer noopener\" href=\"https:\/\/www.movavi.com\/learning-portal\/mkv-vs-mp4.html\" target=\"_blank\">MP4 or MKV<\/a> seem like a good option. <\/p>\n\n\n\n<p>From the <strong>Preset<\/strong>: dropdown, choose <em>Official &gt; Matroska &gt; H.265 MKV 720p30<\/em> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"743\" height=\"63\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-4.png\" alt=\"\" class=\"wp-image-315\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-4.png 743w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-4-300x25.png 300w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-4-676x57.png 676w\" sizes=\"auto, (max-width: 743px) 100vw, 743px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>There are a series of &#8220;tab buttons&#8221; that select different pages in the UI. We can skip the next two and go directly to <strong>Video<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Selecting Video conversion options<\/h4>\n\n\n\n<p>The output format preset I&#8217;ve recommended here is definitely <strong><em>not<\/em><\/strong> the fastest to convert, at least as configured by default.  Alternatively I&#8217;ve had good results using a different preset,  <em>Official &gt; General &gt; Fast 720p30<\/em> which is .M4V, and given <a rel=\"noreferrer noopener\" href=\"https:\/\/www.dvdfab.cn\/resource\/video\/m4v-vs-mkv\" target=\"_blank\">the debate here<\/a>, I don&#8217;t want to recommend that unilaterally. But it seems faster to process; and the output looks fine; and it is definitely <strong><em>not<\/em><\/strong> limited to just Apple clients.<\/p>\n\n\n\n<p>I compared processing time and output file size, limiting the run to just chapters 1-3 of the Galaxy Quest feature presentation:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Fast 720p30 \nRender Time:  4:48\nSize: 123.5 MB\n\nMatroska H.265 MKV 720p30  \nRender Time: 22:04\nSize: 108.3 MB<\/code><\/pre>\n\n\n\n<p>Playing back each of the converted files, I honestly couldn&#8217;t tell a difference. They both looked like &#8220;perfect&#8221; DVD quality rips, and captions and audio soundtrack selections were available.<\/p>\n\n\n\n<p>Hence my personal choice of &#8220;Fast 720p30&#8221; over the &#8220;Matroska&#8221;.<\/p>\n\n\n\n<p>That said, just looking at all the options under the Video tab, clearly there is a lot of scope for tweaking; trading off conversion speed for quality, etc. Ideally we want to retain as much of the original quality of the source as possible. However, I don&#8217;t recommend changing anything here until we know what the consequences are. Let&#8217;s stick with the preset defaults for now.<\/p>\n\n\n\n<p>Next: <strong>Audio<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Selecting Audio Tracks<\/h4>\n\n\n\n<p>Handbrake makes a default selection but I recommend clicking on<strong> + Add All<\/strong> and reviewing.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"735\" height=\"187\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-5.png\" alt=\"\" class=\"wp-image-318\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-5.png 735w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-5-300x76.png 300w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-5-676x172.png 676w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/figure>\n\n\n\n<p>Normally these are obvious, such as Alternative language dialog, or a Director&#8217;s Commentary, etc. Galaxy Quest is a bit of an outlier in that, according to the DVD Menu options (see previous) there are two English-language soundtracks plus an Alien &#8220;Thermian&#8221; language soundtrack (ha!). I think it would be nice to have two audio tracks available, English and Thermian, and I&#8217;d like to alter the default name so that we can tell which is which. <\/p>\n\n\n\n<p>We can remove the 5.1 track because we&#8217;ll take our English soundtrack from the 2.0. (5.1 would be fine if it were the only option &#8211; but we&#8217;ll be converting to Stereo so 2.0 is fine and probably easier for the conversion.)<\/p>\n\n\n\n<p>If we click on the &#8220;edit pencil&#8221; icon, we can change the name of subtitle Track 3:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"754\" height=\"272\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-6.png\" alt=\"\" class=\"wp-image-319\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-6.png 754w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-6-300x108.png 300w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-6-676x244.png 676w\" sizes=\"auto, (max-width: 754px) 100vw, 754px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Choosing Captions\/Subtitles<\/h4>\n\n\n\n<p>Next, we select <strong>Subtitles<\/strong>. Again, click on <strong>+ Add All<\/strong> to review the available options:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"90\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-7.png\" alt=\"\" class=\"wp-image-320\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-7.png 723w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-7-300x37.png 300w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-7-676x84.png 676w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/figure>\n\n\n\n<p>Why are there two options here? <a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/Closed_captioning#DVDs_and_Blu-ray_Discs\" target=\"_blank\">It&#8217;s complicated<\/a> and I don&#8217;t fully understand it. Succinctly put: <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>the closed captions is a data packet inside the mpeg2 video stream and subtitles is a separate stream inside the vob file<\/p><cite>&#8220;baldrick&#8221;, <a href=\"https:\/\/forum.videohelp.com\/threads\/337638-difference-between-subtitles-and-closed-caption\" target=\"_blank\" rel=\"noreferrer noopener\">Videohelp forum<\/a><\/cite><\/blockquote>\n\n\n\n<p>Until I have a better handle on which type is best suited to our needs, I retain both to make them available for clients that support them.<\/p>\n\n\n\n<p>Reading List: <a href=\"https:\/\/bunnystudio.com\/blog\/library\/transcription\/handbrake-subtitles-a-complete-guide-for-first-time-users\/\" target=\"_blank\" rel=\"noreferrer noopener\">Handbrake Subtitles: a Complete Guide for First Time Users<\/a><\/p>\n\n\n\n<p>VOBSUB are bitmapped overlays, whereas CC608 are text rendered by the player. Probably CC are better, if available, but so far I&#8217;ve retained both as available.<\/p>\n\n\n\n<p>Some clients don&#8217;t support optional closed caption display, and if we had no other choice, we could choose one of these two subtitle tracks and &#8220;burn&#8221; them into the rendered video. We wouldn&#8217;t be able to turn them off, but they would be displayed by lesser-capable video players. We&#8217;d do this by clicking on the &#8220;Edit Pencil&#8221; against one of the tracks, and changing the option:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-8.png\" alt=\"\" class=\"wp-image-321\" width=\"354\" height=\"160\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-8.png 303w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-8-300x136.png 300w\" sizes=\"auto, (max-width: 354px) 100vw, 354px\" \/><\/figure><\/div>\n\n\n\n<p>(Note to self: Try [x] Set Default Track to see if captions are displayed by default, even by &#8220;lesser capable&#8221; video player clients.)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Enter the Metadata<\/h4>\n\n\n\n<p>Now we select <strong>Tags<\/strong>, and change the metadata to suit. At this point, I also change the <strong>Save As:<\/strong> output file name that will be created for this Title:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-9.png\" alt=\"\" class=\"wp-image-322\" width=\"591\" height=\"474\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-9.png 500w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-9-300x241.png 300w\" sizes=\"auto, (max-width: 591px) 100vw, 591px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Batch Processing<\/h3>\n\n\n\n<p>At this point, we can start the extraction\/conversion process immediately, or we can put the job onto a queue and define the next title. Let&#8217;s do that: Click on <strong>Add To Queue<\/strong> in the toolbar at the top of the window.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"60\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-10.png\" alt=\"\" class=\"wp-image-323\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-10.png 708w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-10-300x25.png 300w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-10-676x57.png 676w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><figcaption>The Queue (1) now has one job<\/figcaption><\/figure>\n\n\n\n<p>Let&#8217;s also add the &#8220;Making Of&#8221; extra as a second job to the queue. We can do this quickly:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Select <strong>Title: 2 &#8211; 00h10m07s<\/strong>  which we identified above as being the documentary featurette &#8220;On Location In Space&#8221;;<\/li><li>Leave the <strong>Preset<\/strong> unchanged;<\/li><li>Click on <strong>Audio<\/strong>; +<strong>Add All<\/strong> (observe: only one track; leave it as-is);<\/li><li>Click on <strong>Subtitles<\/strong>; +<strong>Add All<\/strong> (observe: no subtitles available (typical for a bonus feature);<\/li><li>Click on Tags; enter metadata and set output file name;<\/li><li>Click <strong>Add To Queue<\/strong><\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Review The Queue<\/h4>\n\n\n\n<p>We can view and edit the queue by clicking on the <strong>Queue (2)<\/strong> button in the toolbar:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-11.png\" alt=\"\" class=\"wp-image-324\" width=\"589\" height=\"255\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-11.png 504w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-11-300x130.png 300w\" sizes=\"auto, (max-width: 589px) 100vw, 589px\" \/><\/figure>\n\n\n\n<p>Now we can process the entire queue by pressing <strong>Start<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Help! My Computer Is Melting!<\/h3>\n\n\n\n<p>You&#8217;ll notice that Handbrake is making good use of all cores in your CPU and your cooling fan has cranked up to max. <\/p>\n\n\n\n<p>Resource Monitor shows all CPU cores are maxed? YOU SHOULD BE FINE. It&#8217;s what they&#8217;re for.<\/p>\n\n\n\n<p>However, if it absolutely positively DOESN&#8217;T have to be completed in the shortest possible time, you can tell Handbrake to cool its heels and relax its grip somewhat.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Install cpulimit<\/h4>\n\n\n\n<p>Linux Mint has the command-line tool <em>cpulimit<\/em> in the Software Manager:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-12.png\" alt=\"\" class=\"wp-image-325\" width=\"385\" height=\"103\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-12.png 307w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-12-300x80.png 300w\" sizes=\"auto, (max-width: 385px) 100vw, 385px\" \/><\/figure><\/div>\n\n\n\n<p>After you&#8217;ve installed it, I recommend editing the command-line of the Handbrake launch menu item, from:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ghb %f<\/code><\/pre>\n\n\n\n<p>To:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cpulimit -l 400 ghb %f<\/code><\/pre>\n\n\n\n<p>The -l option specifies a percentage of CPU resources to the application. The trick here is that 100 = 100% of one CPU core. My system has effectively 8 cores, so &#8220;400&#8221; means that Handbrake (ghb) will only use 50% of the total CPU core resources. You&#8217;ll need to tune that number to suit your system.<\/p>\n\n\n\n<p>Here is my system ripping a DVD:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"670\" height=\"218\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-13.png\" alt=\"\" class=\"wp-image-327\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-13.png 670w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-13-300x98.png 300w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><figcaption>Ahh&#8230; still working quite hard but not red-lining<\/figcaption><\/figure>\n\n\n\n<p>And now, we wait. &lt;skeleton.png&gt;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Reviewing The Results<\/h3>\n\n\n\n<p>The Audio Tracks are available, with our naming:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"457\" height=\"206\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-14.png\" alt=\"\" class=\"wp-image-331\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-14.png 457w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-14-300x135.png 300w\" sizes=\"auto, (max-width: 457px) 100vw, 457px\" \/><\/figure>\n\n\n\n<p>The subtitle tracks are available:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"395\" height=\"333\" src=\"http:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-15.png\" alt=\"\" class=\"wp-image-332\" srcset=\"https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-15.png 395w, https:\/\/spacefold.com\/colin\/morethanfour\/wp-content\/uploads\/2021\/06\/image-15-300x253.png 300w\" sizes=\"auto, (max-width: 395px) 100vw, 395px\" \/><\/figure>\n\n\n\n<p>Now you can see why specifying our own label against the audio and subtitle tracks can be beneficial.  Track 1 is actually &#8220;English (Wide Screen) [VOBSUB]&#8221;; and Track 2 is &#8220;English, Closed Caption [CC608]&#8221;. They contain the same captions but they are rendered differently (how they are rendered could be player-dependent).<\/p>\n\n\n\n<p>Track 3 adds Chapter identification (e.g. &#8220;Chapter 2&#8221;) at the bottom of the window. I need to investigate what option controls this.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;re enjoying our new Synology NAS, and leveraging DLNA to access music and video from any client on our network, including iPad, Roku, and desktop devices. Audio CD ripping on Linux Mint isn&#8217;t a problem, but DVDs are more complicated. I&#8217;m using Handbrake, because it is open source, free, fast, and very configurable. Also, it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-306","post","type-post","status-publish","format-standard","hentry","category-linux","post-preview"],"_links":{"self":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/posts\/306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/comments?post=306"}],"version-history":[{"count":0,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/posts\/306\/revisions"}],"wp:attachment":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/media?parent=306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/categories?post=306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/tags?post=306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}