[MPlayer-users] rtsp and -nocache
old.codger at mac.com
old.codger at mac.com
Mon Jun 1 08:51:04 CEST 2009
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.
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.
Reverting the $(AS) back to $(CC) works for me
--- common.mak (revision 29175)
+++ common.mak (working copy)
@@ -18,14 +18,13 @@
ALLFFLIBS = avcodec avdevice avfilter avformat avutil postproc swscale
-CFLAGS := -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -
D_LARGEFILE_SOURCE \
- -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(OPTFLAGS)
+CFLAGS := -DHAVE_AV_CONFIG_H -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $
(OPTFLAGS)
%.o: %.c
$(CC) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
%.o: %.S
- $(CC) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
+ $(AS) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
%.ho: %.h
$(CC) $(CFLAGS) $(LIBOBJFLAGS) -Wno-unused -c -o $@ -x c $<
and while I am on the NSLU2 I also have to set -mcpu=xscale in
configure to get the my NSLU2 which is a Xscale-IXP42X (ARMv5TE)
processor recognised as such:
ARMv5TE (Enhanced DSP Extensions) ... yes
Other than that Mplayer is great
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).
It would also be nice to get rid of one or more:
Checking for FFmpeg libavutil ... yes (static)
Checking for FFmpeg libavcodec ... yes (static)
Checking for FFmpeg libavformat ... yes (static)
Checking for FFmpeg libpostproc ... no
Checking for FFmpeg libswscale ... yes (static)
Which seems to be compulsory
Can a developer please get some of these points fixed?
More information about the MPlayer-users
mailing list