[MPlayer-users] extreme slow video, when playing ac3 sound with -ac hwac3

Dieter Bloms dbloms at suse.de
Wed Jan 2 20:00:01 CET 2002


Hi,

I've bought a Soundblaster Live!, to watch avis with ac3 sound.
If I play the avis with the option "-ac hwac3" then video is extreme
slow,
although the cpu usage is about 15 %. The sound is perfect (ac3 through
spdif).

The distribution is SuSE Linux 7.3, the sound driver comes from creative
(emu10k1-20020102.tar.gz) and the kernel is 2.4.15.  I use the gcc
2.95.3
compiler.

Does anybody know what's the reason ?

Here the output from mplayer:

--snip--
MPlayer CVS-011227-17:32-2.95.3 (C) 2000-2001 Arpad Gereoffy (siehe
DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP
Multiprocessor/Athlon XP eXtreme Perf
extended cpuid-level: 8
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx SSE
Reading /root/.mplayer/codecs.conf: 24 audio & 70 video codecs
CommandLine: '-v' '-ac' 'hwac3' '-vo' 'mpegpes' '-vfm' '5'
'/cdrom/Pulp_Fiction_0.avi'
num_filenames: 1
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Initialisiere Lirc Unterstützung...
LIRC init was successful.
Using Linux's hardware RTC timing (1024Hz)
Spiele /cdrom/Pulp_Fiction_0.avi
get_path('sub/') -> '/root/.mplayer/sub/'
Not an URL!
File size is 734262380 bytes
AVI Dateiformat erkannt!
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 111000   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  720 x 336
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: DIV3 (33564944)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 1000000/40000 = 25.000
Start: 0   Len: 111000
Suggested BufferSize: 0
Quality -1
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 720
  biHeight 336
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 725760
===========================
Regenerating keyframe table for DIVX 3 video
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (2000)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 48000/1 = 48000.000
Start: 0   Len: 213142080
Suggested BufferSize: 0
Quality -1
Sample size: 1
found 'wf', 16 bytes of 20
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 5
Samplerate: 48000
avg byte/sec: 48000
Block align: 1
bits/sample: 0
cbSize: 0
Found movie at 0x800 - 0x2B8DC164
Reading INDEX block, 222000 chunks for 111000 frames
AVI index offset: 0
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 length=515790244
VIDEO:  [DIV3]  720x336  24bpp  25.00 fps  929.3 kbps (113.4 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:720x336  fps:25.00  ftime:=0.0400
Forcing audio codec: [hwac3] drv:9 (AC3 through SPDIF)
Initializing audio codec...
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
AUDIO: srate=48000  chans=1  bps=4  sfmt=0x400  ratio: 48000->192000
Erzwinge Videocodecgruppe 5 ...
Detected video codec: [ffdivx] drv:5 prio:0 (FFmpeg DivX ;-) (MS MPEG-4
v3))
FFmpeg's libavcodec video codec
INFO: libavcodec init OK!
Movie-Aspect is undefined - no prescaling applied.
VO: [mpegpes] 720x336 => 720x336 Planar YV12
VO: Description: Mpeg-PES to DVB card
VO: Author: A'rpi
video_out->init(720x336->720x336,flags=0,'MPlayer',0x32315659)
[vo] position mapping: 8;0 => 0;120
INFO: Video OUT driver init OK!
AO: [oss] 48000Hz Mono AC3
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz  1 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
Starte Wiedergabe...
A:   0.3 V:   0.0 A-V:  0.341 ct:  0.000    1/  1   0%  0%  0.0% 1 0 0%
.......

Cleaning up lirc stuff.

Beende... (Ende)
max framesize was 9821 bytes
--snip--


-- 
Mit freundlichen Gruessen,

	Dieter Bloms (Dieter.Bloms at suse.de)

--------------------------------------------------------------------
SuSE Linux Solutions AG,    Tel:   +49-911-74053653 
Deutschherrnstr. 15-19,     Fax:   +49-911-74053674
90429 Nuernberg,            Email: Dieter.Bloms at suse.de 
Germany                     WWW:   http://www.suse.de
--------------------------------------------------------------------

Key fingerprint = C54E EAD2 784A 5402 C4E4  A58A 414A AEA1 9038 7583




More information about the MPlayer-users mailing list