-
h.264 decode on slow CPUs
Having have to downgrade my system from AMD Thunderbird [email protected] to a Duron 900Mhz@1Ghz, I didn't know at the moment that one of my hobbbies (watch anime series) will be stopped
my specs 1Ghz, 256MB, Geforce4MX 64MB.
Literaly my system specs don't stop me for the most usual, surf the web, listen music, some docs withn abiword, but watching anime (usually matroska files) with the codec h.264 take all cpu. At the best case I can watch video files (specially avi)
with the cpu going to 35-55% without problems...
Later with bigger resolution videos and of course with h.264 the experience was horrible, mplayer my prefered media player (used xine, vlc..) can not help even with hard frame dropping or cache, audio out of sync, slow video, pauses on the video, and for last mplayer show me an informative text saying ... "your CPU is to slow..." with certain tips to make my experiencia more normal.
Searching, reading, tips, mplayer-hq,users comments, I prove knowing what it do the tips that mplayer always mentioned (obviusly for mplayer). The result? Hurra!!
Code:
nano ~/.mplayer/config
# Write your default config options here!
vo=xv
ao=alsa
softvol=1
vf=screenshot
lavdopts=fast=1:skiploopfilter=all
I've and know all options except the last 'lavdopts' wich make the big difference.
Before wathing a matroska video file decode with h.264 my cpu go top 100%, now the same video file my cpu go between 76-84%
what more can I ask?
After 2 hours watching the chapters of my anime, I decided to post this experiencie to help other users with similar problems.
----
*Other interesting option was lavdopts=lowres=1, but like the cpu going at 50% or less, the quality drops too. I suppose on systems more slower than mine the option for lowres is really important.
*slow systems: The standard today for computer machine go something like 2ghz, 1Gb ram. I don't try to disrespect, likewise my system is slow for standard...and works too well

*The options explication here...
fast (MPEG-2, MPEG-4, and H.264 only)
Enable optimizations which do not comply to the specification and might potentially cause problems, like simpler dequantization, simpler motion compensation, assuming use of the default quantization matrix, assuming YUV 4:2:0 and skipping a few checks to detect damaged bitstreams.
lowres=<number>[,<w>]
Decode at lower resolutions. Low resolution decoding is not supported by all codecs, and it will often result in ugly artifacts. This is not a bug, but a side effect of not decoding at full resolution.
0: disabled
1: 1/2 resolution
2: 1/4 resolution
3: 1/8 resolution
skiploopfilter=<skipvalue>
Skips the loop filter (AKA deblocking) during H.264 decoding. Since the filtered frame is supposed to be used as reference for decoding dependent frames this has a worse effect on quality than not doing deblocking on e.g. MPEG-2 video. But at least for high bitrate HDTV this provides a big speedup with no visible quality loss.
<skipvalue> can be either one of the following:
none: Never skip.
default: Skip useless processing steps (e.g. 0 size packets in AVI).
nonref: Skip frames that are not referenced (i.e. not used for decoding other frames, the error cannot "buildup").
bidir: Skip B-Frames.
nonkey: Skip all frames except keyframes.
all: Skip all frames.
Similar Threads
-
By Acorn22 in forum General Support
Replies: 1
Last Post: 03-24-2007, 03:31 PM
-
By Snorkfroken in forum Hardware & Booting
Replies: 2
Last Post: 03-14-2006, 10:43 AM
-
By m_yates in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 02-12-2004, 05:21 AM
-
By RobC in forum Networking
Replies: 3
Last Post: 02-01-2004, 04:16 PM
-
By CaffeineGamer in forum General Support
Replies: 7
Last Post: 07-08-2003, 06:14 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$115.00

Microsoft SQL Server 2019 Enterprise 40 Core Unlimited CAL Retail License FPP
$299.00

OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 16GB DDR4 128GB SSD 8xNIC
$175.00

Ubuntu Server 26.04.1 LTS Bootable USB Flash Drive – Latest September 2026
$12.99

ZimaBoard 2 1664 Home Server 16GB
$350.00

1U Rackmount PC Intel Core i5-2520M 8GB RAM 500GB HDD Ubuntu Linux Server
$109.99

All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive
$15.95

Start9 Server Pure 32GB 4TB Intel i7 Node StartOS — Box + PSU
$649.00

Red Hat Enterprise Linux 5 Server DVD English OS Media Kit RHF0382US
$41.30

Sun Enterprise e450 400mhz cpu(x4), 4gb ram, 9gb HD w/spud most complete on ebay
$500.00