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

AMD and Linux

  • The Updated AMD Polaris Firmware Blobs Needed For RX 480 Support Land
    One day ahead of the Radeon RX 480 "Polaris" launch, the necessary firmware updates for the production graphics card support have landed in linux-firmware.git.
  • AMD RX 480 released, AMD will possibly open up Radeon Software
    The next generation of AMD GPU's have launched, and it begins with the AMD RX 480. Benchmarks are now out there along with plenty of info. I don't have the card myself as I have no contacts at AMD, but luckily Phoronix managed to bag a card and he's done plenty of testing as you can imagine. I will be referencing the green site due to other sites obviously focusing on Windows.

Leftovers: Gaming

Fedora: The Latest

  • Container technologies in Fedora: systemd-nspawn
    Welcome to the “Container technologies in Fedora” series! This is the first article in a series of articles that will explain how you can use the various container technologies available in Fedora. This first article will deal with systemd-nspawn.
  • Fedora 24 upgrade
    Fedora 24 was released last week, so of course I had to upgrade my machines. As has become the norm, there weren’t any serious issues, but I hit a few annoyances this time around. The first was due to packages in the RPMFusion repos not being signed. This isn’t Fedora’s fault, as RPMFusion is a completely separate project. And it was temporary: by the time I upgraded my laptop on Sunday night, the packages had all been signed.
  • Fedora Flock 2016
    I’ve been working on a shirt design for this year’s Fedora Flock in Krakow, Poland and figured that I’d share what I’ve put together! I’m also including some of my earlier attempts at the design as well to show my thought process as well. Ps. for those who may not be familiar with landmarks and iconic images of Krakow (and yes, I too am one of you too… much research was needed!) here’s a list of some of the imagery that I tied to incorporate in the designs.
  • A F24 user story
    Honestly, nothing from the features in the announcement of the Fedora 24 release didn't manage to excite me intro upgrading my desktop from an old, out-of-support Fedora. It's main task is to edit digital photography and for some years a Linux solution is decent at it.
  • PHP version 7.0 in Fedora 25
    FESCO have approved, for Fedora 25 the upgrade from PHP 5.6 to PHP 7.0.
  • How to install Nvidia Drivers in Fedora 24
  • Zodbot… upgraded
    We have upgraded our beloved evil super villain IRC bot on freenode from an old version of supybot-gribble to a new shiny version of limnoria ( https://github.com/ProgVal/Limnoria ). This doesn’t change much in the interface, but it does mean we are using something that is maintained and gets updates and is a good deal more secure. If you notice problems please do let us know with a Fedora Infrastructure ticket.
  • GSoC - Journey So Far ( Badges, Milestones and more..)
    2 days ago, I woke up to a mail from Google saying that I passed the mid term evaluations of GSoC and could continue working towards my final evaluation. "What a wonderful way to kick start a day, I thought".

today's howtos