LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-06-2010, 12:31 PM   #1
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Rep: Reputation: 34
Which video codec for low CPU playback?


Hi,

I started using HandBrake to transcode my DVDs into the H.264 format. I noticed that compared to other video files (XviD, MPEG etc.) it uses a lot more of my CPU when playing back the file.

These videos are for playback on my netbook so minimal CPU usage is crucial to maximise battery life.

What codec uses the least CPU for playback? (I don't mind how long it takes to transcode). What software is best to transcode into your recommended format? I'd probably be happier using something like ffmpeg or mencoder as long as it's easy to use a DVD input source (from a folder, not directly from the DVD itself).

Thanks

Last edited by jsteel; 08-06-2010 at 12:36 PM.
 
Old 08-06-2010, 06:35 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
There are so many options available in multimedia encoding that it's almost impossible to say anything clear-cut about it.

But in general, the greater the compression, the more cpu power needed to decode it. H264 is one of the newest of the modern high-compression-high cpu formats, so it's natural for a low-powered system to have trouble with it. You'll probably want to look into some of the older codecs, the ones available 5-10 years ago. My first thought for a low-burden codec is mpeg1, but you really need to just experiment with various codecs and see for yourself what works best. If you're lucky xvid or theora do a good enough job. Of course, lower compression means larger file sizes, so there's a trade-off involved.

Reducing the frame size, frame-rate, and bitrate can also have a large effect. The less data in the file, the easier it is to process. But of course this also means reduced image quality, so again, it's a trade-off.

Last edited by David the H.; 08-06-2010 at 06:38 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
High Load Average, Low CPU, Low IO Wait ordaolmayanadam Linux - Server 13 07-15-2010 06:55 AM
Ubuntu 9.04 audio codec/playback confusion rtrock Linux - Newbie 5 08-08-2009 11:39 PM
LXer: HD Video Playback With A $20 CPU & $30 GPU On Linux LXer Syndicated Linux News 0 12-11-2008 02:00 PM
No media playback after codec-fix! mtravis SUSE / openSUSE 1 02-03-2008 10:00 AM
video with Debian: dropped frames, 100% CPU usage in playback gregmcavoy Linux - Software 0 01-07-2006 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration