Re: mplayer + heavy io: why ionice doesn't help?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux