[MPlayer-users] dts in libavcodec not working

Alexander Roalter alex at roalter.it
Fri Nov 17 19:52:25 CET 2006


khayos wrote:

> #### with "-msglevel demuxer=6:open-6"
> ~$ mplayer -ac ac3 -aid 129 -msglevel demuxer=6:open=6 dvd://4
> MPlayer 1.0rc1-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
> 
> Playing dvd://4.
> URL: 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.
> audio stream: 0 format: dts (5.1) language: en aid: 136.
> audio stream: 1 format: ac3 (5.1) language: en aid: 129.
> audio stream: 2 format: ac3 (5.1) language: fr aid: 130.
> number of audio channels on disk: 3.
> subtitle ( sid ): 0 language: en
> subtitle ( sid ): 1 language: es
> subtitle ( sid ): 2 language: fr
> number of subtitles on disk: 3
> STREAM: [null] dvd://4
> STREAM: Description: DVD stream
> STREAM: Author:
> STREAM: Comment:
> Searching demuxer type for filename dvd://4 ext: (null)
> ==> Found video stream: 0
> ==> Found audio stream: 136
> ==> Found audio stream: 129
> ==> Found audio stream: 130
> ds_fill_buffer: EOF reached (stream: video)
> MPEG-PS file format detected.
> VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
> ==========================================================================
> 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))
> ==========================================================================
> ==========================================================================
> Forced audio codec: ac3
> Requested audio codec family [ac3] (afm=libac3) not available.
> Enable it at compilation.
> Cannot find codec for audio format 0x2000.
> Read DOCS/HTML/en/codecs.html!
> Audio: no sound
> 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 yuv420p -> rgb32 special converter
> V:   0.6  12/ 10 ??% ??% ??,?% 0 0
> demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
> V:  20.0 478/475 11%  9%  0.0% 0 0
> Exiting... (Quit)
> ~$
> 
AFAIK you need not specify explicitly ac3, it should use liba52 instead.
If I don't specify any, I get

Selected audio codec: [a52] afm: liba52 (AC3-liba52)

and all is well.

you can still specify -ac a52 if you're into this "specify anything" 
thing, but most of the time mplayer knows what it's doing best, so don't 
bother searching for some complicated solutions...

hth,
Alex



More information about the MPlayer-users mailing list