Messages in this thread | | | Date | Sun, 20 Aug 2006 10:22:56 +0200 (MEST) | From | Jan Engelhardt <> | Subject | Re: mplayer + heavy io: why ionice doesn't help? |
| |
> >It helps. mplayer skips much less, but still some skipping is present.
Try with -ao alsa, then it should skip less, or at least, if it skip, skip back so that less audio is lost. When playing audio-only files, it is always wise to specify e.g. -cache 320 which proved to be a good value for my workloads.
>I experimented with forcing entire file to be present in the >pagecache, and in this case mplayer almost never skips. > >Looks like mplayer have very little tolerance for reads >randomly taking more time to read input stream. > >However, I then looked into the mplayer's source >(I wondered why it doesn't do read buffering itself)... > >The code is, um, less than pretty.
Jan Engelhardt -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |