[MPlayer-users] dts in libavcodec not working
khayos
khayos at gmail.com
Fri Nov 17 05:58:14 CET 2006
Hello all,
I've been fighting off and on with libdts for awhile now, and have put
in some concentrated time on it for the last four hours or so because
I have a DVD rental (Sin City) which requires it.
What I've done most recently is:
1) cleaned my system of all mplayer and codec files, and all dts files
2) installed all mplayer codecs: essential and win32
3) ./configure && make && make install for libdts (aka libdca, from
videolan), no errors -- yields /usr/local/lib/libdts.a primarily
4) mplayer: ./configure --enable-libdts --enable-win32 && make && make
install, no errors
5) ensured that all appropriate lib locations show up in
/etc/ld.so.conf, and got no errors with ldconfig
6) ensured that mplayer itself is still working properly by playing
other titles on this DVD (which don't use dts) -- all systems go
But when I go to play the main title on this DVD, I get the same
message I've been getting for the last however many weeks, any time I
need something dts-related; the mplayer output is listed below.
In the reading I've done, I've most often encountered people saying
that the hwdts codec gives them poor quality sound, but I get nothing
at all.
Just to make sure dts shows up, I did a check on the mplayer audio codecs:
[20:47:47][hyperion] ~$ mplayer -ac help | grep dts
ffdts ffmpeg working DTS [dts]
hwdts hwac3 working DTS through S/PDIF
[20:47:51][hyperion] ~$
For curiosity's sake, my soundcard is:
02:06.1 Input device controller: Creative Labs SB Live! Game Port (rev 0a)
I've done repeated searches for keywords related to this topic and
while I found a fair number of mplayer and linuxquestions forum posts,
none of the suggestions that I found had any positive effect.
If anyone has any information that might help me in this matter, I
would be most appreciative! If the guru help people out there need
any more details about my setup, just reply to this and I'll answer it
as immediately as possible.
Thanks in advance.
MPLAYER OUTPUT:
[20:45:03][hyperion] ~$ mplayer -cache 8192 dvd://4
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 1500MHz (Family: 15,
Model: 0, Stepping: 7)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
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 dvd://4.
Reading disc structure, please wait...
There are 13 titles on this DVD.
There are 29 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
Cache fill: 0.29% (24576 bytes)
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'dts' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to DTS, 768000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 768.0 kbit/50.00% (ratio: 96000->192000)
Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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))
==========================================================================
alsa-init: using device iec958:{CARD 0 AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [x11] 720x480 => 854x480 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGRA special converter
A: 0.6 V: 0.6 A-V: 0.032 ct: 0.026 12/ 10 ??% ??% ??,?% 0 0 27%
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
alsa-uninit: pcm closed 0.014 ct: 0.070 93/ 90 9% 16% 0.2% 0 0 81%
Exiting... (Quit)
[20:45:22][hyperion] ~$
More information about the MPlayer-users
mailing list