[MPlayer-users] rtsp and -nocache

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Jun 1 12:03:45 CEST 2009


On Mon, Jun 01, 2009 at 08:51:04AM +0200, old.codger at mac.com wrote:
> I use mplayer to listen to BBC radio, (Stream mimetype: audio/x-pn- 
> multirate-realaudio-live) and with recent svn compiles -nocache does  
> not work.
> 
> I tracked this down to svn 29121:
> 
> --- libmpdemux/demux_lavf.c	(revision 29121)
> +++ libmpdemux/demux_lavf.c	(working copy)
> @@ -41,7 +41,7 @@
> 
>   #include "mp_taglists.h"
> 
> -#define PROBE_BUF_SIZE (32*1024)
> +#define PROBE_BUF_SIZE 2048
> 
>   extern char *audio_lang;
>   extern char *dvdsub_lang;
> 
> I have no idea of the implications of reversing this patch, except - 
> nocache for me works again.

The implication is that many ac3/aac files no longer work.
Both e.g.
-demuxer real
or with latest SVN
-demuxer lavf -lavfdopts format=rm
should work around it.

> Whilst svn 29176 fixed a lot of compile problems it causes me some  
> grief compiling on a NSLU2 the $(AS) -DHAVE_AV_CONFIG_H etc line fails.

More details please.

> It allows me to create a minimalistic mplayer to play the BBC
> 
>    Enabled optional drivers:
>      Input: network
>      Codecs: libavcodec(internal) real
>      Audio output: alsa mpegpes(file)
>      Video output: mpegpes(file)
> 
> I can't seem to be able to get rid of libavcodec(internal) or  
> mpegpes(file).

The one you want to get rid of is "real", not "libavcodec".
"real" is the binary realplayer codecs which only exist for x86,
x86_64 and ppc so I have no idea what you'd want with that on an Xscale.
You'll probably want something more like
--disable-mencoder --disable-parser='.*' --disable-decoder='.*'
--enable-decoder=COOK_DECODER --disable-demuxer='.*'
--enable-demuxer=RM_DEMUXER
instead.


More information about the MPlayer-users mailing list