[Mplayer-advusers] dts-ac3 audio? format 0x2001

compn tempn at twmi.rr.com
Wed Jun 2 15:59:45 CEST 2004


i've uploaded a sample to incoming, "dtsac3audiosample.avi"
i'm not 100% positive if this sample contains sound
it could be a silent intro clip.

Some dvds have dts audio instead of ac3 audio.

the user with the sample file said a52 didnt decode it.

C:\Documents and Settings\resu\Desktop>mplayer -v dtsac3audiosample.avi
MPlayer dev-CVS-040518-18:06 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium MMX P55C 231.5 MHz (Family: 5, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file C:/programs/mplayer/mplayer/config
Reading C:/programs/mplayer/mplayer/codecs.conf: 64 audio & 169 video codecs
CommandLine: '-v' 'dtsac3audiosample.avi'
init_freetype
Font c:\programs\mplayer\font-arial-18-iso-8859-1\font.desc loaded successfully!
 (206 chars)
Using MMX Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> 'C:/programs/mplayer/mplayer/input.conf'
Parsing input config file C:/programs/mplayer/mplayer/input.conf
Input config file C:/programs/mplayer/mplayer/input.conf parsed: 53 binds
get_path('dtsac3audiosample.avi.conf') -> 'C:/programs/mplayer/mplayer/dtsac3aud
iosample.avi.conf'

Playing dtsac3audiosample.avi.
WINSOCK2 init: 0
[file] File size is 1048576 bytes
STREAM: [file] dtsac3audiosample.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x2286
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 76265   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  800 x 336
==========================
list_end=0x10F4
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: xvid (64697678)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 10000000/417083 = 23.976
Start: 0   Len: 76265
Suggested BufferSize: 124074
Quality 10000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 800
  biHeight 336
  biPlanes 1
  biBitCount 12
  biCompression 1145656920='XVID'
  biSizeImage 1612800
===========================
list_end=0x217A
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 1
Priority: 0   Language: 0
InitialFrames: 1
Rate: 94312/1 = 94312.000
Start: 0   Len: 299977757
Suggested BufferSize: 47156
Quality -1
Sample size: 1
==========================
found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 8193 (0x2001)
Channels: 5
Samplerate: 48000
avg byte/sec: 94312
Block align: 1
bits/sample: 0
cbSize: 0
===========================
list_end=0x2286
AVI: dmlh found (size=248) (total_frames=76265)
list_end=0x22AA
hdr=Software  size=15
Software  : Nandub v1.0rc2
list_end=0x2BA8280E
Found movie at 0x280C - 0x2BA8280E
stream_seek: WARNING! Can't seek to 0x2BA8280E !
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=431842461 (76265)  audio size=299977757
VIDEO:  [XVID]  800x336  12bpp  23.976 fps  1086.1 kbps (132.6 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:800x336  fps:23.98  ftime:=0.0417
Clip info:
 Software: Nandub v1.0rc2
get_path('sub/') -> 'C:/programs/mplayer/mplayer/sub/'
get_path('default.sub') -> 'C:/programs/mplayer/mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
No accelerated IMDCT transform found
XXX initial  v_pts=0.000  a_pos=47156 (0.500)
a52: CRC check failed!
AC3: 5.1 (3f+2r+lfe)  48000 Hz  112.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 14000->192000 (112.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
<vo_directx><INFO>checking primary surface
<vo_directx><FORMAT PRIMARY>13 BGR32 supported
<vo_directx><INFO>testing supported overlay pixelformats
<vo_directx><FORMAT OVERLAY>0 YV12  supported
<vo_directx><FORMAT OVERLAY>1 I420  not supported
<vo_directx><FORMAT OVERLAY>2 IYUV  not supported
<vo_directx><FORMAT OVERLAY>3 YVU9  supported
<vo_directx><FORMAT OVERLAY>4 YUY2  supported
<vo_directx><FORMAT OVERLAY>5 UYVY  supported
<vo_directx><FORMAT OVERLAY>6 RGB15 not supported
<vo_directx><FORMAT OVERLAY>7 BGR15 not supported
<vo_directx><FORMAT OVERLAY>8 RGB16 not supported
<vo_directx><FORMAT OVERLAY>9 BGR16 not supported
<vo_directx><FORMAT OVERLAY>10 RGB24 not supported
<vo_directx><FORMAT OVERLAY>11 BGR24 not supported
<vo_directx><FORMAT OVERLAY>12 RGB32 not supported
<vo_directx><FORMAT OVERLAY>13 BGR32 not supported
<vo_directx><INFO>Your card supports 4 of 14 overlayformats
<vo_directx><INFO>can mirror up down
<vo_directx><INFO>hardware supports overlay
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps =
2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao_win32: Samplerate:48000Hz Channels:2 Format:Signed 16-bit (Little-Endian)
ao_win32: Buffersize:4096
AO: [win32] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: Windows waveOut audio output
AO: Author: Sascha Sommer <saschasommer at freenet.de>
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps =
2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps =
2
Starting playback...
a52: error at resampling
[ffmpeg] aspect_ratio: 2.380952
VDec: vo config request - 800 x 336 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.38:1 - prescaling to correct movie aspect.
VO Config (800x336->800x336,flags=0,'MPlayer',0x32315659)
VO: [directx] 800x336 => 800x336 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>using singlebuffer overlay
<vo_directx><ERROR>slow video ram
*** [vo] Allocating (slices) mp_image_t, 800x336x12bpp YUV planar, 403200 bytes
ds_fill_buffer: EOF reached (stream: audio)  /  1   0%  0%  0.0% 0 0 0%
<vo_directx><ERROR>slow video ram
*** [vo] Allocating (slices) mp_image_t, 800x336x12bpp YUV planar, 403200 bytes
*** [vo] Direct Rendering (slices) mp_image_t, 800x336x12bpp YUV planar, 403200
bytes
Uninit audio filters... 8.100 ct:  0.042   11/ 11   0%  0%  0.0% 0 0 0%
[libaf] Removing filter dummy
uninit audio: liba52
uninit video: ffmpeg
DEMUXER: freeing demuxer at 02012008
WINSOCK2 uninit
waveOut device closed
buffer memory freed

Exiting... (Quit)

i think VLC might have DTS AC3 working with this package
http://www.videolan.org/dtsdec.html
which was based off a52

tried some windows codecs, all fail.

audiocodec dts
  info "dts"
  status buggy
  format 0x2001
  driver dshow
  dll "dtsac3source.ax"

;  dll "mpg2splt.ax"
;  guid 0x280a3020, 0x86cf, 0x11d1, 0xab, 0xe6, 0x00, 0xa0, 
0xc9, 0x05, 0xf3, 0x75

;  dll "mpgaudio.ax"
;  guid 0x51653990, 0x57b4, 0x11cf, 0x8e, 0xb1, 0x02, 0x60, 
0x8c, 0x9b, 0xab, 0xa2

;  dll "avi2ac3filter.ax"
;  guid 0x93230dd0, 0x7b3c, 0x4efb, 0xaf, 0xbb, 0xdc, 0x38, 
0x0f, 0xec, 0x9e, 0x6b

;  dll "iviaudio.ax"
;  guid 0x7e2e0dc1, 0x31fd, 0x11d2, 0x9c, 0x21, 0x00, 0x10, 
0x4b, 0x38, 0x01, 0xf6




More information about the MPlayer-advusers mailing list