[MPlayer-users] USB Audio not working in Gutsy?

Ulion ulion2002 at gmail.com
Sat Dec 22 17:08:06 CET 2007


2007/12/22, Steven Adeff <adeffs.mythtv at gmail.com>:
> I just got an M-Audio Audiophile USB here are the errors i get when i
> try and play audio. I've got it setup so that digital output should
> work fine as well
>
> $ mplayer -ao alsa:device=hw=2,0 The\ Surfers\ -\ Songs\ from\ the\
> Pipe\ -\ 01\ -\ Australia.m4a
> MPlayer dev-SVN-r25346-4.1.3 (C) 2000-2007 MPlayer Team
> CPU: AMD Turion(tm) 64 Mobile Technology ML-28 (Family: 15, Model: 36,
> Stepping: 2)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
>
> Playing The Surfers - Songs from the Pipe - 01 - Australia.m4a.
> ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
> Quicktime/MOV file format detected.
> [mov] Audio stream found, -aid 0
> [mov] Subtitle stream found, -sid 1
> [mov] Subtitle stream found, -sid 2
> ==========================================================================
> Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
> AUDIO: 44100 Hz, 2 ch, s16le, 292.6 kbit/20.74% (ratio: 36581->176400)
> Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
> ==========================================================================
> [AO_ALSA] Format s16le is not supported by hardware, trying default.
> [AO_ALSA] Unable to set format: Invalid argument
> Could not open/initialize audio device -> no sound.
> Audio: no sound
> Video: no video
>
>
> Exiting... (End of file)
>
>
>
> $ mplayer -ao alsa:device=hw=2,0 -ac hwdts Pink\ Floyd\ -\ Echoes\ -\
> The\ Best\ Of\ Pink\ Floyd\ \(CD\ 1\).wav
> MPlayer dev-SVN-r25346-4.1.3 (C) 2000-2007 MPlayer Team
> CPU: AMD Turion(tm) 64 Mobile Technology ML-28 (Family: 15, Model: 36,
> Stepping: 2)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
>
> Playing Pink Floyd - Echoes - The Best Of Pink Floyd (CD 1).wav.
> Audio file file format detected.
> ==========================================================================
> Forced audio codec: hwdts
> Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
> No accelerated IMDCT transform found
> hwac3: switched to DTS, 1411200 bps, 44100 Hz
> AUDIO: 44100 Hz, 2 ch, ac3, 1411.2 kbit/100.00% (ratio: 176400->176400)
> Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF)
> ==========================================================================
> [AO_ALSA] alsa-lib: conf.c:3840:(parse_args) Unknown parameter AES0
> [AO_ALSA] alsa-lib: conf.c:3966:(snd_config_expand) Parse arguments
> error: No such file or directory
> [AO_ALSA] alsa-lib: pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM hw:2,AES0=6
> [AO_ALSA] Format ac3 is not supported by hardware, trying default.
> [AO_ALSA] Unable to set format: Invalid argument
> Could not open/initialize audio device -> no sound.
> Audio: no sound
> Video: no video

This is a good case that os is little-endian while the audio card is big-endian.
ao_alsa (in mplayer) will not try s16be format on little-endian system
unless it's input is s16be format. so maybe you can try add '-format
s16be' command option in your first run case.
While the second run case, it will be not easy for current mplayer
code(ao_alsa), unless alsa (alsa-lib or alsa in kernel) can support
little-endian encoded ac3 to passthrough or you hack ao_alsa code.


-- 
Ulion



More information about the MPlayer-users mailing list