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

GTK+ Gains Experimental Overlay Scrollbars

The overlay scrollbar work that was committed on Monday is about improving the scrolling experience for those using GTK+ applications from touch screens. This prototype widget allows for showing a scroll position indicator on touch screens while hiding the scrollbar -- it sounds similar to Ubuntu's GTK2/GTK3 overlay scrollbar support for Unity. Read more

3 Alternatives to the Adobe PDF Reader on Linux

Adobe has pulled the plug on supporting its PDF reader app for Linux. This should come as no surprise, as the last time Adobe Reader for Linux was updated came in May 2013. But until recently, you could at least download and install Reader on your Linux desktop machine. Now? You can’t. If you go to the Adobe Reader site, you’ll find the Linux installer is no longer available. Read more

How OpenStack powers the research at CERN

OpenStack has been in a production environment at CERN for more than a year. One of the people that has been key to implementing the OpenStack infrastructure is Tim Bell. He is responsible for the CERN IT Operating Systems and Infrastructure group which provides a set of services to CERN users from email, web, operating systems, and the Infrastructure-as-a-Service cloud based on OpenStack. Read more

WE’RE HOSTING AN OPENDAYLIGHT HACKFEST IN JAPAN!

The OpenDaylight Project has quickly grown to become a global community, with more than 250 contributors working to advance open SDN and NFV from all corners of the world. This includes 11 ambassadors worldwide and OpenDaylight User Groups (ODLUG) in six cities across three countries. We are excited to host our first OpenDaylight HackFest in Japan in less than two weeks, and the good news is that it’s free to attend. Read more