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

Leftovers: Software

  • GNU Guile 2.2.1 released
    We are happy to announce GNU Guile release 2.2.1, the first bug-fix release in the new 2.2 stable release series.
  • Announcing Nylas Mail 2.0 [Ed: just Electron]
  • Cerebro Is An Amazing Open Source OS X Spotlight Alternative For Linux [Ed: also just Electron]
    You may be fed up with traditional way of searching/opening applications on your system. Cerebro is an amazing utility built using Electron and available for Linux, Windows, and Mac. It is open-source and released under MIT license.
  • Flowblade Another Video Editor for Linux? Give It A Try!
    You may have favorite video editor to edit your videos but there is no harm to try something new, its initial release was not that long, with time it made some great improvements. It can be bit hard to master this video editor but if you are not new in this field you can make it easily and will be total worth of time.
  • Get System Info from CLI Using `NeoFetch` Tool in Ubuntu/Linux Mint
  • Ukuu Kernel Manager Utility lets You Upgrade or Install Kernels in Ubuntu/Linux Mint
    There are many ways to upgrade your Linux Kernel using Synaptics, command line and so. The Ukuu utility is the simply solution to manager your Ubuntu/Linux Mint kernels. If you want to test new fixes in the Linux Kernel then you can install Mainline Kernels released by Ubuntu team but mainline Kernels are intended to use for testing purposes only (so be careful).
  • 10 Reasons Why You Should Use Vi/Vim Text Editor in Linux
    While working with Linux systems, there are several areas where you’ll need to use a text editor including programming/scripting, editing configuration/text files, to mention but a few. There are several remarkable text editors you’ll find out there for Linux-based operating systems.
  • OpenShot 2.3 Linux Video Editor New Features
    It’s been quite some time since we last talked about OpenShot, and more specifically when it had its second major release. Recently, the team behind the popular open source video editor has made its third point release available which happens to come with a couple of exciting new features and tools, so here is a quick guide on where to find them and how to use them.
  • Boostnote: Another Great Note Taking App for Developers? Find Out By Yourself
    Boostnote is an open-source note-taking application especially made for programmers and developers, it is build up with Electron framework and cross-platform available for Linux, Windows and Mac. Being programmers, we take lots of notes which includes commands, code snippets, bug information and so on. It all comes in handy when you have organized them all in one place, Boostnote does this job very well. It lets you organize your notes in folders with tags, so you can find anything you are looking for very quickly.
  • Collabora Office 5.3 Released
    Today we released Collabora Office 5.3 and Collabora GovOffice 5.3, which contain great new features and enhancements. They also contains all fixes from the upstream libreoffice-5-3 branch and several backported features.

Virtualization and Containers

GNOME News

today's howtos