Skip to main content

Handbrake/KODI - buying a water cooler for a non-K Core i7-2600

In our living room we have a computer that acts as a media server for several rooms and doubles as an encoding machine for video. We call the server KODI:

CPU:Intel Core i7-2600 (4 cores @ 3.8GHz plus Hyperthreading)
Motherboard: Intel Gigabyte H67MA-D2H-B3
RAM: 16GB
Disks: 120GB Samsung SSD 840 + 8TB Seagate ST80000VN0022-2EL
Graphics: NVidia GeForce GTX 970
OS: Xubuntu 18.04

Stored on KODI is most of my DVD and Blu-ray library. DVD files are pretty small (approximately 1.2GB compressed), but Blu-ray files can be pretty huge when they're first extracted (sometimes as large as 35GB). In just over 7 months I managed to almost fill our 8TB hard drive with all the Blu-ray discs I own so I needed to find a method to deal with the problem.

Buying a larger hard drive was out of the question because my media library tends to grow in a rate that outpaces a reasonable price for drives (to me $200CDN would be a sweet spot for something like an 8TB drive - I paid $330 for mine). That left either buying a second drive, which would add more expense and complexity or compressing the files. The answer was pretty easy, compress the files.

We have several other computers in the apartment, but the system with the strongest CPU is still our media centre. Among our systems are an old AMD Phenom X4 II, an A8-5600K, an i5-2300, and a less powerful notebook. Because the media centre is in use at any time I decided to use the command-line version of Handbrake to re-encode the Blu-ray disc files (which I use MakeMKV to extract).

I have a simple script called hb.sh which contains:

HandBrakeCLI -i "$1" -o "${1%.*}-264.mkv" --preset="H.264 MKV 1080p30" -s "1,2,3,4,5,6,7,8"

I run hb.sh <moviename> and end up with moviename-264.mkv which helps me differentiate between the original and compressed file. Once I'm sure I'm happy with the compressed file I delete the original. This command includes the first 8 subtitles in the <moviename> (though they have to be turned on in playback).

The problem with this is that after the first 30-60 seconds of the encode the i7-2600 ramps up to 100% CPU use on all 4 cores and the temperature creeps up to 80 - 82 Celsius and stays there the entire encode time. Over time this will really wear on the CPU so my plan is to buy a water cooler to keep the CPU cool. Currently the system boasts a stock Intel cooler. While the cooler does a pretty remarkable job considering 1-3 hours of CPU use at 100% I don't want the i7-2600 to die anytime soon, so water cooler. More updates soon.

Comments

Popular posts from this blog

Our media encoding process

It occurred to me that I started posting to debugfs as if I just left off from my old domain (a story for another time). I had something in the order of 300 articles on the site so naturally posts on this site don't have the context they had on the old site. When I first started debugfs I talked about the Handbrake command-line script I run on our KODI server to shrink the size of Blu-rays (since they can be huge). I didn't really get into the details of the whole process and I've since changed how I rip and encode media. When I buy a DVD/Blu-ray the first step I take is to back-up the media using MakeMKV. MakeMKV is great for dumping both Blu-ray and DVD content to a .mkv file. I prefer .mkv over .mp4 because I love subtitles and the .mp4 container only lets you "burn" one subtitle into the file. Files in an .mkv container can contain as many subtitles as the DVD/Blu-ray has. I normally rip these on my desktop workstation which has a late 2013 AMD A8-5...

CentOS 4.8 in Virtualbox 5.1.x

Years ago I was part of a project that was developed on and ran on CentOS 4.8. The software we developed was only used in-house so we were able to work around any bugs we found. The development cycle was extremely short, 4 months, considering the end result. While we've backed up the source frequently over the years the software really never got a major facelift. I spent a bit of time over the years making some minor changes (I gave the menu a facelift changing it from rotating gifs to CSS, and made some code changes to deal with a tax shift that happened years ago), but what the project really needs is a major overhaul. One of my goals right from the outset was to open source the project, but this didn't happen because I was simply too swamped with other things to completely audit the code. Also I wanted to simplify the project before exposing it to the world. Initially we based the project on an eCommerce suite (OSCommerce). At the time we were using that suite for an...

That itch to upgrade again - Ryzen 5 2600G?

Lately I've been collecting a lot of movies. Each week Maria and I set a small budget for personal "wants," much of mine has gone to DVDs and the occasional Blu-ray disc. I've been lucky to find some really great deals, but it's got to the point where I'm backed up because ripping all the media is taking more time than I have on evenings and weekends. From what I've read ripping Blu-rays (unless you're also re-encoding them) is entirely dependent on the Blu-ray drive - there's little to be gained by upgrading to a new CPU/motherboard. I use a licensed copy of MakeMKV to rip my Blu-rays. Then I transfer the ripped mkv to our KODI machine and using HandbrakeCLI (the command-line version of Handbrake) to compress the large Blu-ray file to a smaller file. I could compress the file on my desktop, but my AMD A8-5600K APU doesn't have the same power as our KODI machine (which has an i7-2600 and is cooled with a Corsair H60 water cooler). The...