[MPlayer-users] problem with ac3 playback

Dave Alden alden at math.ohio-state.edu
Wed Jun 11 02:49:46 CEST 2003


Hi,

On Tue, Jun 10, 2003 at 02:15:27PM -0700, Corey Hickey wrote:
> AC3 passthrough works fine for me with my SBLive. Please post the _full_
> output of `mplayer -v -ac hwac3 troll.avi' so we can see what's going
> on.

Sure - sorry for not including it before.

...dave

% mplayer -v -ac hwac3 star\ wars\ I\ -\ the\ phantom\ menace.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90-RPM-3.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
SSE supported but disabled
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/dave/.mplayer/config
Reading /home/dave/.mplayer/codecs.conf: can't open '/home/dave/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
CommandLine: '-v' '-ac' 'hwac3' 'star wars I - the phantom menace.avi'
get_path('font/font.desc') -> '/home/dave/.mplayer/font/font.desc'
font: can't open file: /home/dave/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/dave/.mplayer/input.conf'
Can't open input config file /home/dave/.mplayer/input.conf : No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed : 52 binds
get_path('star wars I - the phantom menace.avi.conf') -> '/home/dave/.mplayer/star wars I - the phantom menace.avi.conf'

Playing star wars I - the phantom menace.avi
Not an URL!
File size is 2571334526 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill:  0.00% (0 bytes)    AVI file format detected.
list_end=0x138
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 195904   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  704 x 304
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: DIVX (58564944)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 23976024/1000000 = 23.976
Start: 0   Len: 195904
Suggested BufferSize: 0
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 704
  biHeight 304
  biPlanes 1
  biBitCount 24
  biCompression 1482049860='DIVX'
  biSizeImage 642048
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x138
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 56000/1 = 56000.000
Start: 0   Len: 457434880
Suggested BufferSize: 0
Quality 0
Sample size: 1
found 'wf', 16 bytes of 18
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 2
Samplerate: 48000
avg byte/sec: 56000
Block align: 1
bits/sample: 16
cbSize: 0
list_end=0x18C
hdr=Software  size=64
Software  : transcode-0.6.7
Broken chunk?  chunksize=1632  (id=JUNK)
list_end=0x98E3CB76
Found movie at 0x800 - 0x98E3CB76
Reading INDEX block, 391808 chunks for 195904 frames (fpos=0x98e3cb7e)
AVI index offset: 0x0 (movi=0x800 idx0=0x800 idx1=0x1124)
Auto-selected AVI video ID = 0
Auto-selected AVI audio ID = 1
AVI: Searching for audio stream (id:1)
XXX initial  v_pts=0.000  a_pos=0 (0.000)
AVI video size=2104396251 (195904) audio size=457434880 (457434880)
VIDEO:  [DIVX]  704x304  24bpp  23.98 fps  2060.4 kbps (251.5 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:704x304  fps:23.98  ftime:=0.0417
Clip info:
 Software: transcode-0.6.7
get_path('sub/') -> '/home/dave/.mplayer/sub/'
==========================================================================
Forced audio codec: hwac3
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
AUDIO: 48000 Hz, 2 ch, 16 bit (0x400), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [hwac3] afm:hwac3 (AC3 through SPDIF)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
==========================================================================
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/8bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000020 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, big endian AC3
AF_pre: 48000Hz 2ch AC3
ao2: 48000 Hz  2 chans  AC3
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: AC3 (requested: AC3)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch AC3 (1 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/8bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000020 and bps = 2
[libaf] Adding filter format
[format] Sample format big endian AC3  not yet supported
Couldn't find matching filter / ao format!
Starting playback...
[ffmpeg] aspect_ratio: 2.315789
VDec: vo config request - 704 x 304 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.32:1 - prescaling to correct movie aspect.
VO Config (704x304->704x304,flags=0,'MPlayer',0x32315659)
VO: [xv] 704x304 => 704x304 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 105 for hw scaling
[xv] dx: 0 dy: 0 dw: 704 dh: 324
*** [vo] Allocating (slices) mp_image_t, 704x304x12bpp YUV planar, 321024 bytes
[xv] dx: 0 dy: 0 dw: 704 dh: 304
*** [vo] Allocating (slices) mp_image_t, 704x304x12bpp YUV planar, 321024 bytes
A:  17.1 V:   2.0 A-V: 15.076 ct:  0.204   50/ 50   9%  0%  1.8% 50 0 64%

           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use ALSA 0.5 or the OSS emulation of ALSA 0.9.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try -hardframedrop.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/video.html and DOCS/sound.html for tuning/speedup tips.
If none of this helps you, read DOCS/bugreports.html.

a52: CRC check failed!  7.773 ct:  0.242   59/ 59   9%  0%  1.7% 59 0 61%
uninit audio: hwac3-V: 25.553 ct:  0.350   85/ 85   9%  0%  1.7% 85 0 47%
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x8418d20
vo: uninit ...

Exiting... (Quit)
% 



More information about the MPlayer-users mailing list