[MPlayer-users] Cache empty, consider increasing -cache and/or -cache-min. [performance issue]
Jim Cross
jimgcross at gmail.com
Fri Oct 24 17:49:47 CEST 2014
OK. A big thank you for your help and support. :)
Although my config is now working after completing another 'make'.
I think (not 100% sure) the following install helped prior to the second
'make': $ sudo apt-get install alsa-oss
'-ao help' now shows: "alsa ALSA-0.9.x-1.x audio output"
MPlayer appears to find the ALSA device as the following output doesn't
error anymore:
$ ~/mplayer/mplayer -novideo -ao alsa http://ai-radio.org:8000/radio.opus
MPlayer SVN-r37303-4.6 (C) 2000-2014 MPlayer Team
Playing http://ai-radio.org:8000/radio.opus.
Resolving ai-radio.org for AF_INET...
Connecting to server ai-radio.org[213.163.71.186]: 8000...
Name : OPUS 64KB airadio - video game music & many other more...
ai-radio.org
Genre : VideoGame DemoScene MOD Tracker KeyGen VGM Score Chiptunes 8bit
1bit Low-fi C64 VGRemix Video Game
Website: http://ai-radio.org/?f=OPUS.64KB
Public : yes
Bitrate: 64000kbit/s
Cache size set to 320 KBytes
Cache fill: 19.33% (63349 bytes)
libavformat version 56.10.100 (internal)
libavformat file format detected.
[ogg @ 0xa62018]679 bytes of comment header remain
[lavf] stream 0: audio (opus), -aid 0, OPUS 64KB airadio - video game music
& many other more... ai-radio.org
[lavf] stream 1: video (png), -vid 0, ai-radio.org
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 56.9.100 (internal)
AUDIO: 48000 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->384000)
Selected audio codec: [ffopus] afm: ffmpeg (FFmpeg opus)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...
On Fri, Oct 24, 2014 at 12:27 PM, Erik Auerswald <auerswal at unix-ag.uni-kl.de
> wrote:
> Hi Jim,
>
> On Fri, Oct 24, 2014 at 11:34:06AM +0100, Jim Cross wrote:
> > Thanks again for the quick reply Erik. I had checked that earlier and it
> > did appear using '$ apt-cache search libasound':
> > $ apt-cache search libasound
> > gimp - The GNU Image Manipulation Program
> > libalsa-ocaml - OCaml bindings for the ALSA library
> > libalsa-ocaml-dev - OCaml bindings for the ALSA library
> > libasound2 - shared library for ALSA applications
> > libasound2-dbg - debugging symbols for libasound2
> > libasound2-dev - shared library for ALSA applications -- development
> files
> > libasound2-doc - documentation for user-space ALSA application
> programming
> > libasound2-plugin-equal - equalizer plugin for ALSA
> > libasound2-plugins - ALSA library additional plugins
> > libomxil-bellagio0-components-alsa - ALSA source/sink components for
> > Bellagio OpenMAX IL
> > liboss4-salsa-asound2 - OSS to Alsa compatibility library - binary
> > compatibility symlink
>
> That command tells you that libasound2-dev is _available_ in the package
> repository, it does not tell you if it is installed. You can use dpkg to
> check:
>
> $ dpkg -l libasound2-dev
> Desired=Unknown/Install/Remove/Purge/Hold
> |
>
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version Architecture Description
>
> +++-==============-============-============-=================================
> ii libasound2-dev 1.0.27.2-3ub amd64 shared library for ALSA
> applicati
>
> The last line starts with 'ii' if it is installed.
>
> > I think the problem is more where the new version MPlayer is looking to
> 'open
> > audio device /dev/dsp'. /dev/dsp does not exist after 'make'. The old
> > version uses '/dev/snd/' directory and opens the ALSA device OK.
> >
> > Is there anyway to re-set the /dev/dsp directory to '/dev/snd/' for
> MPlayer
> > to search?
>
> IIRC that was a change in ALSA default behavior: Back in the day ALSA
> provided an OSS compatible interface by default, but nowadays this is
> disabled by default. Using the ALSA driver should give better results
> than using the OSS driver with ALSA's compatibility layer (if you find
> out how to enable it).
>
> HTH,
> Erik
> --
> Bufferbloat just waits in hiding to get you when you try to use the
> network.
> -- Jim Gettys
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
More information about the MPlayer-users
mailing list