public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Choppy video playback
@ 2008-01-25 10:26 Mike Mazur
  2008-01-25 11:55 ` Tomas Papan
  0 siblings, 1 reply; 20+ messages in thread
From: Mike Mazur @ 2008-01-25 10:26 UTC (permalink / raw
  To: gentoo-user

Hi,

I'm having choppy video playback in mplayer, vlc and also in Firefox
on YouTube and the like. I notice a video freeze every 1-2 seconds or
so, then the video snaps back to where it should be. The audio sounds
fine. Mplayer often spits out a warning message[1].

I also noticed that typing into forms (like an email in Gmail) in
Firefox, after Firefox has been running a few hours also suffers from
this freeze every 1-2 seconds.

A typical workload is Gnome, Firefox, Claws-Mail, Pidgin, Tomboy,
xmms2 and a bunch of terminals with SSH sessions and irssi.

I have an Intel Core 2 Duo 2GHz with 2 GB of RAM, so this shouldn't be
happening. I'm running kernel 2.6.23-gentoo-r3. I don't remember when
exactly this started, I don't really watch video too often.

Could it be the scheduler with which my kernel is compiled? Currently
it's set to "Preemptible Kernel (Low-Latency Desktop)".

Any ideas? What to start tweaking with?

Thanks for any help,
Mike


[1] Mplayer warning message:
           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2008-01-29 22:34 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-25 10:26 [gentoo-user] Choppy video playback Mike Mazur
2008-01-25 11:55 ` Tomas Papan
2008-01-26 10:39   ` Mike Mazur
2008-01-27  6:55     ` Walter Dnes
2008-01-27 12:18       ` Mike Mazur
2008-01-28  2:08         ` Walter Dnes
2008-01-28  8:04           ` ionut cucu
2008-01-29 22:09             ` Mike Mazur
2008-01-27 12:55       ` ionut cucu
2008-01-27 22:28         ` Mike Mazur
2008-01-27 22:55           ` ionut cucu
2008-01-28  0:39             ` Mike Mazur
2008-01-28 10:33               ` Paul Sobey
2008-01-28 13:29                 ` Mike Mazur
2008-01-29  1:57                   ` Walter Dnes
2008-01-29 20:26                     ` James Ausmus
2008-01-29 21:46                       ` Alan McKinnon
2008-01-29 21:56                         ` Eric Martin
2008-01-29 22:24                       ` Mike Mazur
2008-01-29 22:34                         ` Mike Mazur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox