[nas] mplayer and NAS

Darren dazdaz at gmail.com
Thu Jun 29 11:00:31 MDT 2006


Hi all,

I finally have my NAS server setup under Windows with cygnus with the options

$ nasd -aa -pn -v

On the client side I am running Linux, SLC 4 and I have verified that
the NAS works, as I setup xmms-nas which worked wonders, I was very
impressed to finally hear network audio cross platform.  Good job !

However I can't get mplayer working, which was the whole reason for
configuring NAS.  I am using MPlayer 1.0pre7-3.2.3.  I am testing
mplayer first of all by just playing a simple mp3, and not a video
file.

Does mplayer need to be recompiled to get NAS to work with it ?  I
don't understand why the -ao nas option does'nt work.

Lastly, it would be nice to see some updates on the webpage for how to
configure different clients under more upto date Linux distributions.


[root at pcitfio21 ~]# mplayer -v 3 -ao nas -nojoystick
/tmp/01-youandwhosearmy.mp3
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer 1.0pre7-3.2.3 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0

CommandLine: '-v' '3' '-ao' 'nas' '-nojoystick'
'/tmp/01-youandwhosearmy.mp3'
init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or
directory
Can't open input config file /etc/mplayer/input.conf: No such file or
directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
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.
get_path('3.conf') -> '/root/.mplayer/3.conf'
Playing 3.
File not found: '3'
Failed to open 3

get_path('01-youandwhosearmy.mp3.conf') ->
'/root/.mplayer/01-youandwhosearmy.mp3.conf'
Playing /tmp/01-youandwhosearmy.mp3.
[file] File size is 5072128 bytes
STREAM: [file] /tmp/01-youandwhosearmy.mp3
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename /tmp/01-youandwhosearmy.mp3 ext:
.mp3
Trying demuxer 17 based on filename extension
==> Found audio stream: 0
demux_audio: seeking from 0x4D6483 to start pos 0x0
demux_audio: audio data 0x0 - 0x4D6500
Audio file detected.
========================================================================
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
========================================================================
==
Checking audio filter chain for 44100Hz/2ch/s16le ->
44100Hz/2ch/s16le...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
AF_pre: 44100Hz/2ch/s16le
ao2: 44100 Hz  2 chans  s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or
directory
[AO ARTS] Connected to sound server.
[AO ARTS] Stream opened.
[AO ARTS] buffer size: 20480
[AO ARTS] buffer size: 2048
AO: [arts] 44100Hz 2ch s16le (2 bps)
AO: Description: aRts audio output
AO: Author: Michele Balistreri
Building audio filter chain for 44100Hz/2ch/s16le ->
44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: mp3lib
vo: x11 uninit called but X11 not inited..

Exiting... (Quit)

-- 
Kind regards,
Darren



More information about the Nas mailing list