[MPlayer-users] Cache empty, consider increasing -cache and/or -cache-min. [performance issue]

Jim Cross jimgcross at gmail.com
Thu Oct 23 17:14:49 CEST 2014


Thanks for the detail and correction Erik. Trying again I get the 'Cache
empty' messages and does not play as copied further below.
My user config file contains:-
noar=yes
nomouseinput=yes
nolirc=yes
nojoystick=yes
noconsolecontrols=yes
ao=alsa,pulse,sdl:aalib

There are a couple of considerations I have:
 - I am working with this software on a raspberry pi and have written
python code to scrape web sites for their playlists and/or webcasting
URL's. Most data I get back plays well with MPlayer without using 'wget' -
I would like to keep to this method.
 - I am new to linux, MPlayer and the such and have no experience in
'building' apps (such as MPlayer) using the latest version especially to a
raspberry pi and its CPU - Not sure where to start or if latest MPlayer
version would work on a RPi.... Anything more than 'sudo apt-get install
mplayer' is beyond me at the moment :(

$ wget -q http://ai-radio.org:8000/radio.opus -O- | mplayer -cache 320 -
MPlayer svn r34540 (Debian), built with gcc-4.6 (C) 2000-2012 MPlayer Team

Playing -.
Reading from stdin...
Cache fill:  0.00% (0 bytes)

libavformat version 53.21.1 (external)
Mismatching header version 53.19.0
libavformat file format detected.
[ogg @ 0xb64c0ee8]Codec not found
Cache empty, consider increasing -cache and/or -cache-min. [performance
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance
issue]


On Thu, Oct 23, 2014 at 2:42 PM, Erik Auerswald <auerswal at unix-ag.uni-kl.de>
wrote:

> Hi,
>
> On Thu, Oct 23, 2014 at 02:11:43PM +0100, Jim Cross wrote:
> > I have just tried wget as follows. The output shows a moving '<=>' but I
> > get no sound (even using '-volume 70'). - As Erik's works, maybe a
> version
> > discrepancy as mine looks to be quite old?
>
> You're wget invocation is not quite right, for me it works as follows:
>
> $ wget -q http://ai-radio.org:8000/radio.opus -O- |
> ~/Software/mplayer/mplayer -
> MPlayer SVN-r37293-4.8 (C) 2000-2014 MPlayer Team
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
>
> Playing -.
> Reading from stdin...
> libavformat version 56.7.104 (internal)
> libavformat file format detected.
> [ogg @ 0x7fc26fc712a0]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
> VIDEO:  [MPNG]  120x120  0bpp  90000.000 fps    0.0 kbps ( 0.0 kbyte/s)
> Load subtitles in ./
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> libavcodec version 56.3.101 (internal)
> Selected video codec: [ffpng] vfm: ffmpeg (FFmpeg PNG)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 48000 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->384000)
> Selected audio codec: [ffopus] afm: ffmpeg (FFmpeg opus)
> ==========================================================================
> AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
> Starting playback...
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> Movie-Aspect is undefined - no prescaling applied.
> [swscaler @ 0x7fc26fc951c0]bicubic scaler, from pal8 to yuv420p using
> MMXEXT
> VO: [xv] 120x120 => 120x120 Planar YV12
> mp_image: mpi->imgfmt: 0x42475208
> mp_image: bits per image: 124928, bits allocated: 124928
> No pts value from demuxer to use for frame!
> mp_image: mpi->imgfmt: 0x32315659
> mp_image: bits per image: 187392, bits allocated: 187392
> pts after filters MISSING
> A:3610870.5 V:-9223372036854775808.0 A-V:  0.000 ct: -0.000   0/  0  1%
> 0%  1.
>
> Exiting... (Quit)
>
> > Maybe it is a codec issue as looking at previous posts the messages "Ogg
> > stream 0 is of an unknown type" and my "[ogg @ 0xb646f990]Codec not
> found"
> > make me suspicious this could be the case?:
> >
> > $ wget http://ai-radio.org:8000/radio.opus | mplayer
>
> For this to work, you need the wget option "-O-" to write to STDOUT and
> start mplayer with "-" as argument to read from STDIN.
>
> If that does not work for you, you should consider using a recent svn
> version of MPlayer.
>
> HTH,
> Erik
> --
> Am I secure? I don't know. Does that mean I should just disable all
> security functionality and have an open root shell bound to a well known
> port? No. Obviously.
>                         -- Matthew Garret
> _______________________________________________
> 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