Gentoo Archives: gentoo-user

From: Mike Mazur <mmazur@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Choppy video playback
Date: Fri, 25 Jan 2008 10:26:05
Message-Id: 184110a70801250226r539e5e4ahd18c13dc2c58cfaf@mail.gmail.com
1 Hi,
2
3 I'm having choppy video playback in mplayer, vlc and also in Firefox
4 on YouTube and the like. I notice a video freeze every 1-2 seconds or
5 so, then the video snaps back to where it should be. The audio sounds
6 fine. Mplayer often spits out a warning message[1].
7
8 I also noticed that typing into forms (like an email in Gmail) in
9 Firefox, after Firefox has been running a few hours also suffers from
10 this freeze every 1-2 seconds.
11
12 A typical workload is Gnome, Firefox, Claws-Mail, Pidgin, Tomboy,
13 xmms2 and a bunch of terminals with SSH sessions and irssi.
14
15 I have an Intel Core 2 Duo 2GHz with 2 GB of RAM, so this shouldn't be
16 happening. I'm running kernel 2.6.23-gentoo-r3. I don't remember when
17 exactly this started, I don't really watch video too often.
18
19 Could it be the scheduler with which my kernel is compiled? Currently
20 it's set to "Preemptible Kernel (Low-Latency Desktop)".
21
22 Any ideas? What to start tweaking with?
23
24 Thanks for any help,
25 Mike
26
27
28 [1] Mplayer warning message:
29 ************************************************
30 **** Your system is too SLOW to play this! ****
31 ************************************************
32
33 Possible reasons, problems, workarounds:
34 - Most common: broken/buggy _audio_ driver
35 - Try -ao sdl or use the OSS emulation of ALSA.
36 - Experiment with different values for -autosync, 30 is a good start.
37 - Slow video output
38 - Try a different -vo driver (-vo help for a list) or try -framedrop!
39 - Slow CPU
40 - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
41 e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
42 - Broken file
43 - Try various combinations of -nobps -ni -forceidx -mc 0.
44 - Slow media (NFS/SMB mounts, DVD, VCD etc)
45 - Try -cache 8192.
46 - Are you using -cache to play a non-interleaved AVI file?
47 - Try -nocache.
48 Read DOCS/HTML/en/video.html for tuning/speedup tips.
49 If none of this helps you, read DOCS/HTML/en/bugreports.html.
50 --
51 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Choppy video playback Tomas Papan <tomas.papan@×××××××.com>