Multicore Video Decoding with MPlayer, Part 1

Written By
Web Webster
Web Webster
Jul 27, 2009

“By default MPlayer uses a single thread to decode an h264 video
stream. This means that on most dual and quad core machines you are
artificially limited in what video files you can smoothly decode
with MPlayer. If you have a multicore CPU and are experiencing
jittery playback of h264 streams then using the ffmpeg-mt library
for decoding might save you from having to purchase new hardware to
play your video files. As the name implies, ffmpeg-mt is a
multithreaded version of ffmpeg. In theory, if you have 4 cores
then they can all be fully used to decode h264 streams. In practice
there is always some coordination overhead to multithreading, so
you are unlikely to acheive twice the performance when using two
cores.

“For this article series I’ll use two freely available video
files: Big Buck Bunny (BBB) (The 1920×1080 H.264 version) and
Elephants Dream (ED). BBB is available for download as a h264 file,
ED is an mpeg-4 encoded video. Both can be downloaded in
1920×1080.”

Advertisement


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.