[MEncoder-users] dts audio ?

Giacomo Comes comes at naic.edu
Tue Mar 7 22:41:17 CET 2006


On Tue, Mar 07, 2006 at 09:00:12PM +0100, SZABO Zsolt wrote:
> I have a DVD, but there is some problem with the codec...
> 
> [..]
>  Software: MEncoder 1.0pre7try2-3.3.5
> ==========================================================================
> 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)
> ==========================================================================
> vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":10.0" => remote 
> display
> ==========================================================================
> Cannot find codec matching selected -vo and video format 0x6F4E7246.
> Read DOCS/HTML/en/codecs.html!
> ==========================================================================
> Checking audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/2ch/ac3...
> AF_pre: 48000Hz/2ch/ac3
> [AO OSS] Can't set audio device /dev/dsp to ac3 output, trying s16le...
> AO: [oss] 48000Hz 2ch s16le (2 bps)
> Building audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/2ch/s16le...
> [format] Sample format big-endian AC3 not yet supported
> [libaf] Reinitialization did not work, audio filter 'format' returned 
> error code
> Couldn't find matching filter/ao format!
> 
> The speakers produce only noise. If I give -ac hwac3 then there is 
> nothing, i.e. no sound:
> 
>  Software: MEncoder 1.0pre7try2-3.3.5
> ==========================================================================
> Forced audio codec: hwac3
> Cannot find codec for audio format 0x2001.
> Read DOCS/HTML/en/codecs.html!
> ==========================================================================
> 
> Any hint?

You need to install libdts (libdts-0.0.2.tar.gz) and then recompile mplayer, 
otherwise libavcodec cannot decode dtsaudio.

Another option can be to select a non dts audio stream from the dvd.
Usually adding the option -aid 128 will work.

Giacomo




More information about the MEncoder-users mailing list