[MPlayer-users] Help playing dts or ac3 wav files

John Cowhig Jr jcowhig at email.unc.edu
Fri Mar 31 18:22:25 CEST 2006


Hi everyone,

I am having trouble playing these files using spdif passthrough from 
audiotrak  7.1 revolution) chaintek av-710 toslink to decoder.  I also 
can not get mplayer to play ac3 from xvid... It is possible because 
mythtv .19 can passthrough ac3 from digital tv programming to my 
receiver with the same setup on /dev/adsp.
 
Description of dts wav and link to samples is here:
http://ffdshow.sourceforge.net/tikiwiki/tiki-print_article.php?articleId=8&PHPSESSID=113a1aba2f2b95e769e708098159eaf4 


*I CAN get them to play after ffmpeg decodes to pcm over the toslink....*
------------------------------------------------------------------------------- 

sh-3.00$  mplayer luciaDTS.dts -ao alsa:device=iec958
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, 
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection.


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.
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support.
You will not be able to use your remote control.
Playing luciaDTS.dts.
Audio file detected.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 176400->176400 (1411.2 kbit)
Selected audio codec: [ffdts] afm:ffmpeg (DTS)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: soundcard set to iec958
alsa: 44100 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little 
Endian
AO: [alsa] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Video: no video
Starting playback...
A:   1.5 (01.4)  6.7%
--------------------------------------------------------------------------------------- 

*

However, I want to send the data "bit-perfect" at the correct srate and 
bitrate over toslink to decode it externally
but the following fails.. no sound

*----------------------------------------------------------------------------------------- 

sh-3.00$  mplayer luciaDTS.dts -ao alsa:device=iec958 -ac hwdts
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, 
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection.


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.
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support.
You will not be able to use your remote control.
Playing luciaDTS.dts.
Audio file detected.
==========================================================================
Forced audio codec: hwdts
Opening audio decoder: [hwac3] AC3/DTS pass-through SP/DIF
No accelerated IMDCT transform found
hwac3: switched to AC3, 80000 bps, 48000 Hz
a52: CRC check failed!
AUDIO: 48000 Hz, 2 ch, 16 bit (0x400), ratio: 10000->192000 (80.0 kbit)
Selected audio codec: [hwdts] afm:hwac3 (DTS through SPDIF)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/8bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, big endian AC3
AF_pre: 48000Hz 2ch AC3
alsa-init: soundcard set to iec958
alsa: 48000 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little 
Endian
AO: [alsa] 48000Hz 2ch AC3 (1 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/8bit...
[format] Sample format big endian AC3  not yet supported
Couldn't find matching filter/ao format!
Video: no video
Starting playback...
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check fa
------------------------------------------------------------------------------------------- 

-------------------------------------------------------------------------------------------------------------------------- 


*
Thought if i could force it to 44100, 16 it might work but couldn't find 
a force bitrate command *

-------------------------------------------------------------------------------------------------- 

sh-3.00$  mplayer luciaDTS.dts -ao alsa:device=iec958 -ac hwdts -srate 
44100
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, 
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection.


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.
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support.
You will not be able to use your remote control.
Playing luciaDTS.dts.
Audio file detected.
==========================================================================
Forced audio codec: hwdts
Opening audio decoder: [hwac3] AC3/DTS pass-through SP/DIF
No accelerated IMDCT transform found
hwac3: switched to AC3, 80000 bps, 48000 Hz
a52: CRC check failed!
AUDIO: 48000 Hz, 2 ch, 16 bit (0x400), ratio: 10000->192000 (80.0 kbit)
Selected audio codec: [hwdts] afm:hwac3 (DTS through SPDIF)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 44100Hz/2ch/8bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, big endian AC3
AF_pre: 48000Hz 2ch AC3
alsa-init: soundcard set to iec958
alsa: 44100 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little 
Endian
AO: [alsa] 44100Hz 2ch AC3 (1 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 44100Hz/2ch/8bit...
[format] Sample format big endian AC3  not yet supported
Couldn't find matching filter/ao format!
Video: no video
Starting playback...
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed!
a52: CRC check failed
------------------------------------------------------------------------------------------------------------------------------ 

*Any advice?

Thanks
* -john




More information about the MPlayer-users mailing list