[MPlayer-users] hwac3 with two channel AC3?

Anssi Saari as at sci.fi
Fri Sep 13 21:10:01 CEST 2002


Hi,

I recently got some divxes with AC3 stereo sound and thought I could
use hwac3 with it as vobs work ok. However, mplayer says "Can't find
codec for audio format 0x55 !" and doesn't play sound then.

So, if I add format 0x55 to hwac3 section in codecs.conf, I got about
half of them working. With the others I get a lot of CRC errors but no
sound. The amplifier I have connected (Sony STR-DE445) seems to get
something, no sound, but the DD 5.1 light goes off and on and various
channel indicators activate in turn. It seems the bitstream is at least
in the ballpark :) Software decoding works fine for these files. I
included the mplayer -v output of one of these files below.

Soundcard is CM8738 based, with Linux 2.4.19-ac4 kernel drivers.

Is this a known problem? Should I upload a smaple?

MPlayer CVS-020913-20:36-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading /home/as/.mplayer/codecs.conf: 38 audio & 106 video codecs
CommandLine: '-v' 'StarTrek-TNG-S3E11-TheHunted-vv.avi' '-ac' 'hwac3' '-nofs'
get_path('font/font.desc') -> '/home/as/.mplayer/font/font.desc'
Font /home/as/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux's hardware RTC timing (1024Hz)
get_path('input.conf') -> '/home/as/.mplayer/input.conf'
Parsing input config file /home/as/.mplayer/input.conf
Input config file /home/as/.mplayer/input.conf parsed : 5 binds
Setting up lirc support...
NEW LIRC init was successful.

Playing StarTrek-TNG-S3E11-TheHunted-vv.avi
Not an URL!
File size is 335636480 bytes
Detected AVI file format!
list_end=0x2292
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 65452   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  576 x 432
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 2997/125 = 23.976
Start: 0   Len: 65452
Suggested BufferSize: 40243
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 576
  biHeight 432
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 746496
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41.667
Start: 0   Len: 113744
Suggested BufferSize: 768
Quality -1
Sample size: 0
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 18981
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=455
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
list_end=0x2292
list_end=0x2300
hdr=Name  size=33
Name      : Star Trek TNG S3E11 - The Hunted
hdr=Artist  size=9
Artist    : VCDVaULT
hdr=Copyright  size=19
Copyright : DVDivX by VCDVaULT
hdr=Comments  size=1
Comments  : 
Broken chunk?  chunksize=1272  (id=JUNK)
list_end=0x13D5A37E
Found movie at 0x280C - 0x13D5A37E
Reading INDEX block, 179196 chunks for 65452 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 179196 chunks for 65452 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x18C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=331210570
VIDEO:  [DIV3]  576x432  24bpp  23.98 fps  970.6 kbps (118.5 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:576x432  fps:23.98  ftime:=0.0417
Clip info: 
 Name: Star Trek TNG S3E11 - The Hunted
 Artist: VCDVaULT
 Copyright: DVDivX by VCDVaULT
 Comments: 
get_path('sub/') -> '/home/as/.mplayer/sub/'
==========================================================================
Forcing audio codec: [hwac3] afm:hwac3 (AC3 through SPDIF)
Initializing audio codec...
Opening audio decoder: [hwac3] AC3 pass-through SP/DIF
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=6000 (0.316) 
a52: CRC check failed!  
AUDIO: 48000 Hz, 2 ch, sfmt: 0x400 (2 bps), ratio: 7000->192000 (56.0 kbit)
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Detected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 48000Hz 2ch AC3
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz  2 chans  AC3
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: AC3 (requested: AC3)
audio_setup: frags:  64/64  (1024 bytes/frag)  free:  65536
Start playing...
a52: CRC check failed!  

Detected badly interleaved .AVI - switching to -ni mode!
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
VDec: vo config request - 576 x 432 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (576x432->576x432,flags=4,'MPlayer',0x32315659)
VO: [xv] 576x432 => 576x432 Planar YV12  [zoom]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x41424752 (RGBA) packed
Xvideo image format: 0x0 (    ) packed
Xvideo image format: 0x54424752 (RGBT) packed
Xvideo image format: 0x32424752 (RGB2) packed
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 51 for hw scaling
[xv] dx: 0 dy: 0 dw: 576 dh: 432
*** [vo] Allocating mp_image_t, 576x432x12bpp YUV planar, 373248 bytes
A: 253.9 V:   0.0 A-V:253.872 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
A: 290.9 V:   0.0 A-V:290.833 ct:  0.004    2/  2   0%  0%  0.0% 0 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
A: 307.2 V:   0.1 A-V:307.074 ct:  0.008    3/  3   0%  0%  0.0% 0 0 0%
a52: CRC check failed!  
A: 343.6 V:   0.1 A-V:343.514 ct:  0.013    4/  4   0%  0%  0.0% 1 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
A: 396.7 V:   0.2 A-V:396.513 ct:  0.017    5/  5   0%  0%  0.0% 2 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A: 465.3 V:   0.2 A-V:465.130 ct:  0.021    6/  6   0%  0%  0.0% 3 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A: 638.3 V:   0.3 A-V:638.072 ct:  0.025    7/  7   0%  0%  0.0% 4 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
*** [vo] Allocating mp_image_t, 576x432x12bpp YUV planar, 373248 bytes
A: 804.4 V:   0.3 A-V:804.091 ct:  0.029    8/  8   0%  0%  0.0% 5 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:1047.3 V:   0.3 A-V:1046.989 ct:  0.033    9/  9   0%  0%  0.0% 6 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:1141.0 V:   0.4 A-V:1140.599 ct:  0.038   10/ 10   0%  0%  0.0% 7 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:1250.2 V:   0.4 A-V:1249.775 ct:  0.042   11/ 11   0%  0%  0.0% 8 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:1399.3 V:   0.5 A-V:1398.824 ct:  0.046   12/ 12   0%  0%  0.0% 9 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:1695.5 V:   0.5 A-V:1695.001 ct:  0.050   13/ 13  15%  1% 956.0% 10 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:1715.8 V:   0.5 A-V:1715.255 ct:  0.054   14/ 14  14%  1% 896.4% 11 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
A:1720.3 V:   0.6 A-V:1719.763 ct:  0.058   15/ 15  14%  1% 836.7% 12 0 0%
a52: CRC check failed!  
A:1753.6 V:   0.6 A-V:1752.938 ct:  0.063   16/ 16  13%  1% 801.0% 13 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:1892.3 V:   0.7 A-V:1891.583 ct:  0.067   17/ 17  13%  1% 820.4% 14 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:2005.7 V:   0.7 A-V:2004.990 ct:  0.071   18/ 18  12%  1% 815.4% 15 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:2048.7 V:   0.8 A-V:2047.943 ct:  0.075   19/ 19  12%  1% 788.1% 16 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:2102.4 V:   0.8 A-V:2101.651 ct:  0.079   20/ 20  12%  1% 770.0% 17 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:2225.5 V:   0.8 A-V:2224.665 ct:  0.083   21/ 21  11%  1% 788.7% 18 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:2311.5 V:   0.9 A-V:2310.599 ct:  0.088   22/ 22  11%  1% 781.2% 19 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:2460.0 V:   0.9 A-V:2459.123 ct:  0.092   23/ 23  11%  1% 798.6% 20 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:2563.2 V:   1.0 A-V:2562.242 ct:  0.096   24/ 24  11%  0% 794.2% 21 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
A:2657.5 V:   1.0 A-V:2656.453 ct:  0.100   25/ 25  11%  0% 797.2% 22 0 0%
a52: CRC check failed!  
a52: CRC check failed!  
a52: CRC check failed!  
ds_fill_buffer: EOF reached (stream: audio)  




More information about the MPlayer-users mailing list