[MPlayer-users] Ubuntu 64 and Audigy Surround 5.1

Raena Lea-Shannon raen at internode.on.net
Fri Nov 3 04:00:03 CET 2006


I am running Ubuntu Dapper 10.06.1 on AMD 64 ASUS A8N SLI with Audigy Live! 
soundcard and 5.1 analogue speakers, mplayer version 
2:0.99+1.0pre7try2+cvs20060117-0ubuntu8

I can get stereo in all speakers but not 5.1 s-sound. It worked ok in SuSE 8.1 
on my old AMD XP2200.  I have looked in Ubuntu, Alsa and Mplayer lists and 
cannot see an answer.

Attached is the stdout for mplayer mplayer dvd://6 -cache 8192 -v -ao 
alsa:device=hw=0,0 -aid 128 -channels 6

I have also tried it with no alsa:device args and I get nosound at all. I 
installed the Audigy drivers as per modprobe snd-emu10k1

Soundcards are 

sudo cat /proc/asound/cards 
0 [Audigy         ]: Audigy - Audigy 1 [Unknown]
                     Audigy 1 [Unknown] (rev.3, serial:0x5a1102) at 0x7400, 
irq 82
1 [CK804          ]: NFORCE - NVidia CK804
                     NVidia CK804 with ALC850 at 0xd5003000, irq 225
2 [UART           ]: MPU-401 UART - MPU-401 UART
                     MPU-401 UART at 0x330, irq 10

Any help gretly appreciated.
Thanks
-------------- next part --------------
mplayer dvd://6 -cache 8192 -v -ao alsa:device=hw=0,0 -aid 128 -channesl 6
MPlayer 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Newcastle,Winchester,San Diego,Venice; Sempron Palermo (Family: 15, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.


Unknown option on the command line: -channesl
get_path('codecs.conf') -> '/home/raena/.mplayer/codecs.conf'
Reading /home/raena/.mplayer/codecs.conf: Can't open '/home/raena/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 91 audio & 204 video codecs
vo: x11 uninit called but X11 not inited..
raena at luh3417:~$ mplayer dvd://6 -cache 8192 -v -ao alsa:device=hw=0,0 -aid 128 -channels 6
MPlayer 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Newcastle,Winchester,San Diego,Venice; Sempron Palermo (Family: 15, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.


get_path('codecs.conf') -> '/home/raena/.mplayer/codecs.conf'
Reading /home/raena/.mplayer/codecs.conf: Can't open '/home/raena/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 91 audio & 204 video codecs
CommandLine: 'dvd://6' '-cache' '8192' '-v' '-ao' 'alsa:device=hw=0,0' '-aid' '128' '-channels' '6'
init_freetype
get_path('font/font.desc') -> '/home/raena/.mplayer/font/font.desc'
font: can't open file: /home/raena/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using nanosleep() timing
get_path('input.conf') -> '/home/raena/.mplayer/input.conf'
Can't open input config file /home/raena/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 59 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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('6.conf') -> '/home/raena/.mplayer/6.conf'
Playing dvd://6.
get_path('sub/') -> '/home/raena/.mplayer/sub/'
URL: dvd://6
libdvdread: Using libdvdcss version 1.2.5 for DVD access
Reading disc structure, please wait...
There are 7 titles on this DVD.
There are 24 chapters in this DVD title.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000013b
libdvdread: Elapsed time 2
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00033633
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00034ba8
libdvdread: Elapsed time 2
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00034bac
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x000a99ff
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x000accb9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x000accbd
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x00386b6b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00386b6f
libdvdread: Elapsed time 0
libdvdread: Found 5 VTS's
libdvdread: Elapsed time 5
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (5.1) language: fr aid: 129
[open] audio stream: 2 audio format: ac3 (5.1) language: es aid: 130
[open] audio stream: 3 audio format: ac3 (stereo) language: en aid: 131
[open] audio stream: 4 audio format: ac3 (5.1) language: en aid: 132
[open] number of audio channels on disk: 5.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: fr
[open] subtitle ( sid ): 2 language: es
[open] number of subtitles on disk: 3
DVD start cell: 0  pack: 0x0-0x11BCE
DVD start=0 end=2989696
STREAM: [null] dvd://6
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
CACHE_PRE_INIT: 0 [0] 139264  pre:1677721  eof:0
Cache fill: 16.60% (1392640 bytes)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd://6 ext: (null)
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 69941, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (13)!
==> Found video stream: 0
DVD Seek! lba=0x16CEC5  cell=26  packs: 0x161CC8-0x1784E5
Angle-seek synced by cell/vob IDN search!
==> Found audio stream: 128
==> Found audio stream: 129
==> Found audio stream: 130
==> Found audio stream: 132
==> Found audio stream: 131
DVD Seek! lba=0x2D9D8B  cell=48  packs: 0x2BBF5B-0x2D9E80
Angle-seek synced by cell/vob IDN search!
--- END OF CELL !!! ---
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x11BCE
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/raena/.mplayer/sub/'
get_path('default.sub') -> '/home/raena/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 18432 + 65536 = 83968 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
A52 flags before a52_frame: 0x37
A52 flags after a52_frame: 0x17
Using MMX optimized resampler
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atomsDisabling DPMS
DPMSDisable stat: 1
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 48000Hz/6ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/6ch/s16le
[dummy] Was reinitialized: 48000Hz/6ch/s16le
alsa-init: requested format: 48000 Hz, 6 channels, 9
alsa-init: compiled for ALSA-1.0.10
alsa-init: device set to surround51
alsa-init: 1 soundcard found, using: hw:0
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/6ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/6ch/s16le
[libaf] Adding filter channels
[channels] Changing number of channels to 2
[dummy] Was reinitialized: 48000Hz/6ch/s16le
Starting playback...
alsa-space: free space = 65536, prepared --
[libaf] Reallocating memory in module channels, old len = 0, new len = 21852
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x480->854x480,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x480 => 854x480 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 274 for hw scaling
[xv] dx: 0 dy: 0 dw: 854 dh: 512
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
[xv] dx: 0 dy: 0 dw: 854 dh: 512
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
get_path('subfont.ttf') -> '/home/raena/.mplayer/subfont.ttf'% 0 0 44%
Unicode font: 255 glyphs.
*** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
A:   0.8 V:   0.7 A-V:  0.021 ct:  0.035  16/ 13 ??% ??% ??,?% 0 0 56%
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.DVD Seek! lba=0x52C0B  cell=5  packs: 0x389B6-0x5C801  %  4.9% 0 0 74%
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0x4C7E9  cell=5  packs: 0x389B6-0x5C801
Angle-seek synced by cell/vob IDN search!
alsa-space: free space = 65536, prepared --
Uninit audio filters...-0.005 ct:  0.183 170/167 12%  0%  4.4% 0 0 49%
[libaf] Removing filter dummy
[libaf] Removing filter channels
uninit audio: liba52
uninit video: libmpeg2
Successfully enabled DPMS
alsa-uninit: pcm closed
vo: uninit ...

Exiting... (Quit)


More information about the MPlayer-users mailing list