Language Selection

English French German Italian Portuguese Spanish

H264 Video Encoding on Amazon's EC2

Filed under
Linux
Hardware
Movies

Stream #0 recently started looking at Amazon's EC2 computing offering. We created our first public AMI, based on Debian Squeeze, including FFmpeg and x264 pre-installed. Now that we can easily start instances with the necessary basics installed, it is time to compare the relative merits of the different instance sizes that Amazon offers.

EC2 Instances come in a variety of sizes, with different CPU and RAM capacities. We tested the 64-bit offerings, including the recently announced High-Memory Quadruple Extra Large instance.

Our test file was 5810 frames (a little over 4 minutes and 285MB) of the HD 1920x1080 MP4 AVI version of Big Buck Bunny. The FFmpeg transcode would convert this to H264 using the following 2-pass command:

>ffmpeg -y -i big_buck_bunny_1080p_surround.avi -pass 1 -vcodec libx264 -vpre fastfirstpass -s 1920x1080 -b 2000k -bt 2000k -threads 0 -f mov -an /dev/null && ffmpeg -deinterlace -y -i big_buck_bunny_1080p_surround.avi -pass 2 -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre hq -s 1920x1080 -b 2000k -bt 2000k -threads 0 -f mov big_buck_bunny_1080p_stereo_x264.mov

Now let's look at how each EC2 instance performed.

More in Tux Machines

Linux Remote Desktop Roundup

Over the years I've found that a significant hurdle to getting family and friends to switch to Linux comes from its lack of familiarity. This is especially true when it comes to troubleshooting any issues. Obviously, when a malfunction occurs it's not always possible to be there in person. However thanks to the wonders of broadband Internet and advanced software, we're now able to do the next best thing. In this article, I'll share some recommended remote desktop software for Linux. I’ll explore both open source and closed source solutions. Read more

Android ski goggles offer augmented reality display

It runs Android on a 1.2GHz ARM CPU, and offers hands-free control. Read more

Photoshop competitor Krita is a true creative tool -- and it's free and open source

Open source has some of the greatest tools, which continues to prove that you don't have to lock-down the code behind guarded walls to make a better product. Some popular open source products that don't have any match in the closed source world include Firefox, Chromium, VLC, Blender, Android, one gem that is, surprisingly, less known but extremely powerful when it comes to creating a work of art. Read more

First peek at the next Ubuntu 15.04 nester line-up

Ubuntu 15.04 is here – almost. The first beta of Vivid Vervet has been delivered, and with it have come images of the penguin flock that nestles on this OS. I looked at Xubuntu, Kubuntu, Ubuntu GNOME and Ubuntu MATE but there’s also Lubuntu and the China-centric Ubuntu Kylin, which I didn’t test. These are beta releases and should be considered for testing purposes only, but the advantage of these early versions is that features have been frozen and you can get an early glimpse of what's coming for each of the popular flavours in the 15.04 foundation. From this point on, the only changes will be bug fixes. Read more