public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Mazur" <mmazur@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Choppy video playback
Date: Fri, 25 Jan 2008 19:26:03 +0900	[thread overview]
Message-ID: <184110a70801250226r539e5e4ahd18c13dc2c58cfaf@mail.gmail.com> (raw)

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



             reply	other threads:[~2008-01-25 10:26 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-25 10:26 Mike Mazur [this message]
2008-01-25 11:55 ` [gentoo-user] Choppy video playback 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=184110a70801250226r539e5e4ahd18c13dc2c58cfaf@mail.gmail.com \
    --to=mmazur@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox