bpa wrote: > Why are you trying to use mplayer - alienbBC is dead BBC no longer uses > RealAudio. Use the BBiPlayer plugin. > > Have you another reason for RealAudio ?
Sorry, I really was expecting to find you... I have read your previous messages, and I think you are very experienced user for mplayer cross compilation. I will not use AlienBBC, actually I even don't know what it is. Currently, I am trying to cross compile mplayer for my arm-linux STB. It uses Celestial CSM1203 ( http://www.cavium.com/Processor_CNC1203.html ). Unfortunately, Cavium does not provide a new toolchain, so I had to use that old one in my previous message. Currently, I have succeed to cross compile mplayer with following way: 1) CFLAGS+="-I/dfb/include/directfb -march=armv5te" LDFLAGS+="-L/dfb/lib" ./configure --cc=arm-linux-gcc --as=arm-linux-as --target=arm-linux --prefix=/Chipbox/mpout --disable-x11 --disable-gui --disable-mencoder --disable-tv --disable-real --disable-xanim --disable-dvb --disable-dvdnav --enable-static --disable-ossaudio --disable-alsa --as=arm-linux-as --enable-cross-compile --enable-armv5te --disable-ftp --disable-libdvdcss-internal --disable-dvdread --disable-md5sum --disable-dvdread-internal --disable-tremor-internal --disable-pnm --disable-tga --host-cc=gcc --disable-libmpeg2 2) CFLAGS+="-I/dfb/include/directfb -march=armv5te" LDFLAGS+="-L/dfb/lib" make -j4 3) make install After compiling and stripping, resulting binary was about 9Mbyte!!! Note: As you see, in order to avoid that assembler error, I had to disable libmpeg2. This is the 1st problem. After that, I tried to play some AVI file, but it was too slow... And then, I tried to play a very small MPEG file, it was too slow too ( I am doing like this: # /tmp/mplayer /tmp/ba.mpg -ao null -vo sdl ) I just get the 1st frame on the linux framebuffer, but it move very very slowly... And CPU usage seems high. Then I tried like this too: # /tmp/mplayer mms://95.0.159.138/TV1 -ao null -vo sdl Result: Same as above... A typical output from target is as follows: # /tmp/mplayer mms://95.0.159.138/TV1 -ao null -vo sdl MPlayer 1.0rc2-3.4.6 (C) 2000-2007 MPlayer Team CPU: ARM Playing mms://95.0.159.138/TV1. STREAM_ASF, URL: mms://95.0.159.138/TV1 Connecting to server 95.0.159.138[95.0.159.138]: 1755... Connected unknown object file object, packet length = 4975 (4975) unknown object stream object, stream ID: 1 stream object, stream ID: 2 unknown object unknown object data object mmst packet_length = 4975 Cache size set to 64 KBytes Cache fill: 0.00% (0 bytes) ASF file format detected. [asfheader] Audio stream found, -aid 1 [asfheader] Video stream found, -vid 2 VIDEO: [WMV3] 640x360 24bpp 1000.000 fps 350.0 kbps (42.7 kbyte/s) [VO_SDL] Using driver: fbcon. ========================================================================== Requested video codec family [wmv9dmo] (vfm=dmo) not available. Enable it at compilation. Requested video codec family [wmvdmo] (vfm=dmo) not available. Enable it at compilation. Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family [wmv3 @ 0x834054]Extra data: 8 bits left, value: 0 Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg M$ WMV3/WMV9) ========================================================================== ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 1 ch, s16le, 48.0 kbit/6.81% (ratio: 6003->88200) Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg)) ========================================================================== AO: [null] 44100Hz 1ch s16le (2 bytes per sample) Starting playback... VDec: vo config request - 640 x 360 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [sdl] 640x360 => 640x360 Planar YV12 A:114338.6 V:114337.8 A-V: 0.864 ct: -0.004 2/ 2 ??% ??% ??,?% 2 0 12% $<50> ................. Like this.... Can you give me some idea, why it is soo slow? The CPU is very good at displaying images, playing MPEG..etc and clock speed is about 220Mhz... Why so slow... Can you help? ------------------------------------------------------------------------ stulluk's Profile: http://forums.slimdevices.com/member.php?userid=56877 View this thread: http://forums.slimdevices.com/showthread.php?t=34178 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
