[MPlayer-users] How can I hear dts?

Giacomo Comes comes at naic.edu
Tue Jan 16 20:21:10 CET 2007


On Tue, Jan 16, 2007 at 08:00:03PM +0100, Pepe wrote:
> El Martes, 16 de Enero de 2007 18:06, Guillaume POIRIER escribió:
> > Hi,
> >
> > On 1/16/07, Pepe <rvm3000 at ya.com> wrote:
> > > El Martes, 16 de Enero de 2007 07:01, RC escribió:
> > > > On Tue, 16 Jan 2007 02:33:15 +0100
> > > >
> > > > Pepe <rvm3000 at ya.com> wrote:
> > > > > Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> > > > > Cannot find codec 'dts' in libavcodec...
> > > > > ADecoder init failed :(
> > > > > ADecoder init failed :(
> > > >
> > > > You need libdts installed
> > >
> > > It's strange, I cannot find a libdts in my SuSE. I will try to find it
> > > anywhere else.
> >
> > libdts is also called libdca. You can fetch and install the sources
> > yourself if needed:
> > http://developers.videolan.org/libdca.html
> >
> > Guillaume
> 
> I installed a libdca which was available through the apt sources and I've just 
> compiled mplayer but I still hear noise.
> 
> ./configure seems to detect libdts:
> 
> Checking for libdts support ... yes
> 
> and:
> 
>   Enabled optional drivers:
>     Input: ftp network cddb cdda libdvdcss dvdread vcd dvb
>     Codecs: qtx xvid libdv libavcodec real xanim win32 faad2 faac libmpeg2 
> libdts liba52 mp3lib tremor(internal) libmad
> 
> ./mplayer dvd://1 -aid 137 -v
> MPlayer dev-SVN-r21847-3.3.4 (C) 2000-2006 MPlayer Team

Use a more recent SVN snapshot. Just few days ago a patch has been 
submitted that has fixed the problem.

Ciao
Giacomo

> CPU: AMD Athlon(tm) 64 Processor 3400+ (Family: 15, Model: 4, Stepping: 10)
> 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
> get_path('codecs.conf') -> '/home/ricardo/.mplayer/codecs.conf'
> Reading /home/ricardo/.mplayer/codecs.conf: Can't open 
> '/home/ricardo/.mplayer/codecs.conf': No such file or directory
> Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
> '/usr/local/etc/mplayer/codecs.conf': No such file or directory
> Using built-in default codecs.conf.
> Configuration: --disable-tv
> CommandLine: 'dvd://1' '-aid' '137' '-v'
> init_freetype
> /home/ricardo/.fonts/arialbd.ttf doesn't look like a bitmap font description, 
> ignoring.
> Cannot load bitmap font: /home/ricardo/.fonts/arialbd.ttf
> Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
> get_path('fonts') -> '/home/ricardo/.mplayer/fonts'
> Using nanosleep() timing
> get_path('input.conf') -> '/home/ricardo/.mplayer/input.conf'
> Can't open input config file /home/ricardo/.mplayer/input.conf: No such file 
> or directory
> Can't open input config file /usr/local/etc/mplayer/input.conf: No such file 
> or directory
> Falling back on default (hardcoded) input config
> Setting up LIRC support...
> mplayer: could not connect to socket
> mplayer: Permission denied
> Failed to open LIRC support. You will not be able to use your remote control.
> get_path('1.conf') -> '/home/ricardo/.mplayer/1.conf'
> 
> Playing dvd://1.
> get_path('sub/') -> '/home/ricardo/.mplayer/sub/'
> URL: dvd://1
> Reading disc structure, please wait...
> There are 12 titles on this DVD.
> There are 36 chapters in this DVD title.
> There are 1 angles in this DVD title.
> DVD successfully opened.
> audio stream: 0 format: ac3 (5.1) language: en aid: 128.
> audio stream: 1 format: ac3 (5.1) language: es aid: 130.
> audio stream: 2 format: dts (5.1) language: es aid: 137.
> audio stream: 3 format: ac3 (stereo) language: en aid: 131.
> audio stream: 4 format: ac3 (stereo) language: en aid: 132.
> number of audio channels on disk: 5.
> subtitle ( sid ): 0 language: en
> subtitle ( sid ): 1 language: es
> subtitle ( sid ): 2 language: es
> subtitle ( sid ): 3 language: es
> subtitle ( sid ): 4 language: es
> number of subtitles on disk: 5
> DVD start cell: 0  pack: 0x262D-0x13FE7
> DVD start=9773 end=3285595
> STREAM: [null] dvd://1
> STREAM: Description: DVD stream
> STREAM: Author:
> STREAM: Comment:
> DVD Seek! lba=0x262D  cell=0  packs: 0x262D-0x13FE7
> Angle-seek synced by cell/vob IDN search!
> Checking for YUV4MPEG2
> ASF_check: not ASF guid!
> Checking for NuppelVideo
> Checking for REAL
> Checking for SMJPEG
> SUB: opened iconv descriptor.
> SUB: opened iconv descriptor.
> SUB: closed iconv descriptor.
> Searching demuxer type for filename dvd://1 ext: (null)
> DVD Seek! lba=0x262D  cell=0  packs: 0x262D-0x13FE7
> Angle-seek synced by cell/vob IDN search!
> Checking for Nullsoft Streaming Video
> DVD Seek! lba=0x262D  cell=0  packs: 0x262D-0x13FE7
> Angle-seek synced by cell/vob IDN search!
> Checking for MOV
> Checking for VIVO
> header block 1 size: 0
> DVD Seek! lba=0x262D  cell=0  packs: 0x262D-0x13FE7
> Angle-seek synced by cell/vob IDN search!
> AVS: avs_check_file - attempting to open file dvd://1
> AVS: File is too big, aborting...
> Checking for PVA
> Checking for MPEG-TS...
> TRIED UP TO POSITION 20087607, FOUND 47, packet_size= 0, SEEMS A TS? 0
> DVD Seek! lba=0x2650  cell=0  packs: 0x262D-0x13FE7
> Angle-seek synced by cell/vob IDN search!
> DVD Seek! lba=0x262D  cell=0  packs: 0x262D-0x13FE7
> Angle-seek synced by cell/vob IDN search!
> Checking for LMLM4 Stream Format
> Invalid packet in LMLM4 stream: ch=0 size=1140851708
> LMLM4 Stream Format not found
> system stream synced at 0x131680D (20015117)!
> ==> Found video stream: 0
> DVD Seek! lba=0x1936E0  cell=57  packs: 0x190EB3-0x1A1D30
> Angle-seek synced by cell/vob IDN search!
> ==> Found audio stream: 137
> ==> Found audio stream: 132
> ==> Found audio stream: 131
> ==> Found audio stream: 130
> ==> Found audio stream: 128
> DVD Seek! lba=0x322166  cell=96  packs: 0x2F6A5A-0x32225B
> Angle-seek synced by cell/vob IDN search!
> --- END OF CELL !!! ---
> MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: video)
> DVD Seek! lba=0x262D  cell=0  packs: 0x262D-0x13FE7
> Angle-seek synced by cell/vob IDN search!
> MPEG-PS file format detected.
> Searching for sequence header... OK!
> VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  6000.0 kbps (750.0 kbyte/s)
> [V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
> get_path('sub/') -> '/home/ricardo/.mplayer/sub/'
> X11 opening display: :0.0
> vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
> vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local 
> display)
> [x11] Detected wm supports NetWM.
> [x11] Detected wm supports FULLSCREEN state.
> [x11] Detected wm supports ABOVE state.
> [x11] Detected wm supports BELOW state.
> [x11] Detected wm supports STAYS_ON_TOP state.
> [x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X 
> atoms
> Disabling DPMS
> DPMSDisable stat: 1
> [xv common] Drawing colorkey manually.
> [xv common] Using colorkey from Xv (0x00083e).
> [xv common] Maximum source image dimensions: 2046x2046
> Opening video filter: [screenshot]
> ==========================================================================
> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
> Trying filter chain: screenshot vo
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> SwScale params: -1 x -1 (-1=no scaling)
> Trying filter chain: scale screenshot vo
> 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))
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
> FFmpeg's libavcodec audio codec
> Cannot find codec 'dts' in libavcodec...
> ADecoder init failed :(
> ADecoder init failed :(
> Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
> dec_audio: Allocating 8192 bytes for input buffer.
> dec_audio: Allocating 16384 + 65536 = 81920 bytes for output buffer.
> 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)
> ==========================================================================
> Building audio filter chain for 48000Hz/2ch/ac3 -> 0Hz/0ch/??...
> [libaf] Adding filter dummy
> [dummy] Was reinitialized: 48000Hz/2ch/ac3
> [dummy] Was reinitialized: 48000Hz/2ch/ac3
> ao2: 48000 Hz  2 chans  ac3
> audio_setup: using '/dev/dsp' dsp device
> audio_setup: using '/dev/mixer' mixer device
> audio_setup: using 'pcm' mixer device
> [AO OSS] Can't set audio device /dev/dsp to ac3 output, trying s16le...
> audio_setup: sample format: s16le (requested: s16le)
> audio_setup: using 2 channels (requested: 2)
> audio_setup: using 48000 Hz samplerate (requested: 48000)
> audio_setup: frags:   8/8  (8192 bytes/frag)  free:  65536
> AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
> AO: Description: OSS/ioctl audio output
> AO: Author: A'rpi
> Building audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/2ch/s16le...
> [dummy] Was reinitialized: 48000Hz/2ch/ac3
> [libaf] Adding filter format
> [format] Sample format big-endian AC3 not yet supported
> [libaf] Reinitialization did not work, audio filter 'format' returned error 
> code
>  -2
> Couldn't find matching filter/ao format!
> Starting playback...
> VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
> Trying filter chain: screenshot vo
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> VO Config (720x576->1024x576,flags=0,'MPlayer',0x32315659)
> SwScaler: reducing / aligning filtersize 5 -> 4
> SwScaler: reducing / aligning filtersize 5 -> 4
> SwScaler: reducing / aligning filtersize 1 -> 1
> SwScaler: reducing / aligning filtersize 5 -> 4
> SwScaler: BICUBIC scaler, from yuv420p to bgr24 using MMX2
> SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
> SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
> SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
> SwScaler: using MMX2 YV12->BGR24 Converter
> SwScaler: 720x576 -> 1024x576
> REQ: flags=0x437  req=0x0
> VO: [xv] 720x576 => 1024x576 Planar YV12
> VO: Description: X11/Xv
> VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
> Xvideo image format: 0x32595559 (YUY2) packed
> Xvideo image format: 0x32315659 (YV12) planar
> Xvideo image format: 0x59565955 (UYVY) packed
> Xvideo image format: 0x30323449 (I420) planar
> using Xvideo port 61 for hw scaling
> [xv] dx: 0 dy: 0 dw: 1024 dh: 614
> *** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
> *** [screenshot] Direct Rendering mp_image_t, 720x576x12bpp YUV planar, 622080 
> bytes
> [xv] dx: 0 dy: 0 dw: 1024 dh: 614
> *** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 622080 
> bytes
> *** [screenshot] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 
> 622080 bytes
> Unicode font: 1418 glyphs.044 ct:  0.001   2/  2 ??% ??% ??,?% 0 0
> *** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
> *** [screenshot] Direct Rendering mp_image_t, 720x576x12bpp YUV planar, 622080 
> bytes
> Uninit audio: hwac3-V:  0.005 ct:  0.028  22/ 22 18%  4%  0.5% 0 0
> Uninit video: libmpeg2
> Successfully enabled DPMS
> vo: uninit ...
> 
> Exiting... (Quit)
> 
> -- 
> Pepe
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

-- 



More information about the MPlayer-users mailing list