Technology

Using Handbrake to Encode Blu-Rays for the Roku

Using Handbrake to Encode Blu-Rays for the Roku

This post is a sibling of my earlier post Using Handbrake to Encode DVDs for the Roku and contains the settings I use for Blu-Ray movies. The instructions apply to Handbrake 0.9.9. Once again, start with the High Profile preset and then make the following changes: In Output Settings: Set Container = Mp4 Ensure Large File Size is checked Ensure Web Optimized is checked Ensure iPod 5G Support is unchecked In Picture: Set Anamorphic = Strict (all Blu-Rays I’ve seen are 1920x1080) Set Cropping = Automatic.
Using Handbrake to Encode DVDs for the Roku

Using Handbrake to Encode DVDs for the Roku

Update 2014-04-27 10:00 PM: See also Using Handbrake to Encode Blu-Rays for the Roku In a previous post, I noted that I use ffmpeg to convert DVDs to MP4s which will play on my Roku. I recently encountered two problems with this approach. First, the resulting MP4s only include a stereo audio track, so are highly sub-optimal for surround sound systems. Second, for a yet-undetermined reason, Plex (my current preferred media client) will transcode the videos rather than play them directly.
Ffmpeg encoding for the Roku

Ffmpeg encoding for the Roku

Update 2013-12-02: I no longer use this method. See this post for my new method. I have three (someday to be four) Roku players at home. I primarily use them to stream Netflix and Amazon Instant Video and to stream MP4s from a home server using Roksbox. My typical workflow is to rip DVDs to VOBs using Dvdfab, copy the VOBs to my home server, and then convert them in bulk from VOB to MP4 using ffmpeg.
Creating a Virtual Java RPM

Creating a Virtual Java RPM

Some RPMs (e.g. jpackage.org’s tomcat7-7.0.39-1.jpp6.noarch.rpm) express their dependency upon Java by requiring a RPM that provides capability java (as opposed to, for example, depending on the existence of a file /usr/bin/java). On CentOS, this capability is normally provided by the java-*-openjdk RPM. Therefore, if you execute # yum install tomcat7 on a clean install of CentOS, yum will install OpenJDK in addition to Tomcat 7. Some people prefer to run the Oracle JRE/JDK instead of OpenJDK.
Pronounciation of GIF

Pronounciation of GIF

The Oxford English Dictionary accepts both pronunciations [of the word GIF]. They are wrong. It is a soft ‘G,’ pronounced ‘jif.’ End of story. Steve Wilhite, creator of the GIF file format.
Varnish and Graphite

Varnish and Graphite

At work we have a reasonably busy Varnish cluster. We hooked it up to Graphite to allow near real-time visualization of how busy it is. Here’s a sample of what part of our Graphite dashboard looks like when you look over the past four months: ![Varnish traffic][3]
Scaling Varnish

Scaling Varnish

As seen on varnish-misc@varnish-cache.org: I read one web testimony of a person who used Varnish to scale a site up to almost 200 million page views a month. I’d like to find someone who has that level of expertise. At work we have a Varnish cluster which, during the month of March, served over 17 billion requests for an average of 6,400 requests/second. This cluster contains two physical machines with 24 cores and 192GB of RAM apiece.