[MPlayer-users] Problem playing DTS Audio CD
Barak Zalstein
barak.zalstein at gmail.com
Thu Jun 1 04:18:00 CEST 2006
2006/6/1, RC <rcooley at spamcop.net>:
>
> On Wed, 31 May 2006 20:58:01 +0300
> "Barak Zalstein" <barak.zalstein at gmail.com> wrote:
>
> > command line was "mplayer cdda://1 -ac dts". same results with other
> > track numbers or "cdda://track" option.
> >
> > "mplayer cdda://1 -ac help | grep -i dts" still yields:
> > ffdts ffmpeg working DTS [dts]
> > hwdts hwac3 working DTS through S/PDIF
>
> Obviously, "dts" isn't a codec. You need "ffdts" instead.
Ok, my mistake for copy-paste from an ssh terminal.
I've recompiled mplayer from snapshot (cvs is down), added some printfs in
dec_audio.c, and got the following:
mplayer cdda://1 -ac ffdts
MPlayer dev-CVS-20060519-4.0.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1600+ (Family: 6, Model: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
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.
Playing cdda://1.
Found audio CD with 7 tracks.
Track 1
==========================================================================
check 1
check 2
check 4
Forced audio codec: ffdts
init_audio start
init_audio: inside while(1){
init_audio: didn't break
init_audio: // ok we found one codec
init_audio: codec name is pcm
init_audio: inside while(1){
init_audio: computer says no
check 8
Cannot find codec for audio format 0x1.
Read DOCS/HTML/en/codecs.html!
==========================================================================
Audio: no sound
Video: no video
Exiting... (End of file)
On the other hand, playing the extracted dts wav file yields different
output as it tries hwdts and ffdts. It eventually crashes (but eliminating
the printfs eliminates the crash and yields "Cannot find codec 'dts' in
libavcodec...", which is weird because mplayer configure.log contains a yes
result for dts):
mplayer ../../track1.wav MPlayer dev-CVS-20060519-4.0.2 (C) 2000-2006
MPlayer Team
CPU: AMD Athlon(tm) XP 1600+ (Family: 6, Model: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
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.
Playing ../../track1.wav.
Audio file file format detected.
==========================================================================
check 0
check 1
check 5
init_audio start
init_audio: inside while(1){
init_audio: didn't break
init_audio: // ok we found one codec
init_audio: codec name is ffdts
init_audio: if01
init_audio: if02
init_audio: inside while(1){
init_audio: didn't break
init_audio: // ok we found one codec
init_audio: codec name is hwdts
init_audio: if01
init_audio: if02
init_audio: inside while(1){
init_audio: computer says no
init_audio start
init_audio: inside while(1){
init_audio: didn't break
init_audio: // ok we found one codec
init_audio: codec name is ffdts
init_audio: if01
init_audio: if02
init_audio: if03
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
init_audio: for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
MPlayer interrupted by signal 11 in module: init_audio_codec
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in
DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't
and
won't help unless you provide this information when reporting a possible
bug.
Barak
More information about the MPlayer-users
mailing list