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

Open Source’s money issue

These past years -and months- we have had several examples how lack of funding can cut a project’s ability to develop, patch and maintain its codebase and by project I mean developers not getting adequate money, if no money at all, for what they do. There is really two sides to the same coin here. There’s the one where an entire industry re-uses entire FOSS stacks or components, sometimes without even acknowledging it licence-wise or even just in name. And there’s the other side, where the same industry will not compensate anyone upstream, because the license terms enables simple reuse and distribution of those software components. Read more

Acer bets on Android gaming with $300 Predator 8 tablet

Is the market ready for an 8-inch slate running Android 5.1 Lollipop designed for gamers? We'll find out starting in November. Read more

Netflix Sleepy Puppy XSS flaw detection tool goes open source

GTK+ 3.17.8 Adds Even More Improvements to Wayland, Prepares for GNOME 3.18

While the GNOME Project prepares for the release of the second Beta build of the forthcoming GNOME 3.18 desktop environment, due for release on September 23, the GTK+ development team announced the release of GTK+ 3.17.8. Read more Also: Second Beta Build of the Orca 3.18 Screen Reader Adds More LibreOffice Improvements