[MPlayer-users] Playback issues with alsa + ladspa plugin

Sebastian Schäfer schaefer at ropa.de
Thu Jan 4 16:26:17 CET 2007


Hi!

I added a LADSPA plugin (an equalizer) to my /etc/asound.conf and now I
have severe problems when playing a video file with associated 6 channel
audio.
The playback is now choppy, it seems that only a part of the sound is
played, then the system waits a moment and plays the next part.

The problems persist when using vo=null, but when I extracted the audio
using ao=pcm and then played only the audio, everything was fine.

I added the output of mplayer -v:
--------------
# mplayer -srate 44100 Herbie.mpg 
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.60GHz (Family: 15, Model: 6, Stepping:
4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Failed to open /dev/rtc: Device or resource busy (it should be readable
by the user.)

Playing Herbie.mpg.
Cache fill: 19.38% (26017792 bytes)   
MPEG-PS file format detected.
VIDEO:  MPEG2  1280x720  (aspect 3)  24.000 fps  19000.0 kbps (2375.0
kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
alsa-init: using device surround51
ladspa_descriptor: returning MChMBEqDescriptor=088938b8
just after CALLOC_AND_CHECK (*plugin_data).out_accum_L=088ad390 at line
number 903
just after CALLOC_AND_CHECK (*plugin_data).out_fifo_L=088b5398 at line
number 906
just after CALLOC_AND_CHECK (*plugin_data).in_fifo_L=088b93a0 at line
number 909
just after POSIX_MEMALIGN_AND_CHECK (*plugin_data).real_L=088bd3c0 at
line number 912
just after POSIX_MEMALIGN_AND_CHECK (*plugin_data).comp_L=088c13f0 at
line number 915
just after CALLOC_AND_CHECK (*plugin_data).out_accum_R=088c5408 at line
number 919
just after CALLOC_AND_CHECK (*plugin_data).out_fifo_R=088cd410 at line
number 922
just after CALLOC_AND_CHECK (*plugin_data).in_fifo_R=088d1418 at line
number 925
just after POSIX_MEMALIGN_AND_CHECK (*plugin_data).real_R=088d5420 at
line number 928
just after POSIX_MEMALIGN_AND_CHECK (*plugin_data).comp_R=088d9440 at
line number 931
just after CALLOC_AND_CHECK (*plugin_data).out_accum_C=088dd458 at line
number 935
just after CALLOC_AND_CHECK (*plugin_data).out_fifo_C=088e5460 at line
number 938
just after CALLOC_AND_CHECK (*plugin_data).in_fifo_C=088e9468 at line
number 941
just after POSIX_MEMALIGN_AND_CHECK (*plugin_data).real_C=088ed470 at
line number 944
just after POSIX_MEMALIGN_AND_CHECK (*plugin_data).comp_C=088f1490 at
line number 947
just after CALLOC_AND_CHECK (*plugin_data).out_accum_LFE=088f54a8 at
line number 951
just after CALLOC_AND_CHECK (*plugin_data).out_fifo_LFE=088fd4b0 at line
number 954
just after CALLOC_AND_CHECK (*plugin_data).in_fifo_LFE=089014b8 at line
number 957
just after POSIX_MEMALIGN_AND_CHECK (*plugin_data).real_LFE=089054c0 at
line number 960
just after POSIX_MEMALIGN_AND_CHECK (*plugin_data).comp_LFE=089094e0 at
line number 963
just after CALLOC_AND_CHECK (*plugin_data).out_accum_LS=0890d4f8 at line
number 967
just after CALLOC_AND_CHECK (*plugin_data).out_fifo_LS=08915500 at line
number 970
just after CALLOC_AND_CHECK (*plugin_data).in_fifo_LS=08919508 at line
number 973
just after POSIX_MEMALIGN_AND_CHECK (*plugin_data).real_LS=0891d510 at
line number 976
just after POSIX_MEMALIGN_AND_CHECK (*plugin_data).comp_LS=08921530 at
line number 979
just after CALLOC_AND_CHECK (*plugin_data).out_accum_RS=08925548 at line
number 983
just after CALLOC_AND_CHECK (*plugin_data).out_fifo_RS=0892d550 at line
number 986
just after CALLOC_AND_CHECK (*plugin_data).in_fifo_RS=08931558 at line
number 989
just after POSIX_MEMALIGN_AND_CHECK (*plugin_data).real_RS=08935560 at
line number 992
just after POSIX_MEMALIGN_AND_CHECK (*plugin_data).comp_RS=08939580 at
line number 995
instantiateMChMBEq :INFO: actual 00 band bin number: 2 frequency:
21.5332Hz
instantiateMChMBEq :INFO: actual 01 band bin number: 3 frequency:
32.2998Hz
instantiateMChMBEq :INFO: actual 02 band bin number: 4 frequency:
43.0664Hz
instantiateMChMBEq :INFO: actual 03 band bin number: 5 frequency:
53.833Hz
instantiateMChMBEq :INFO: actual 04 band bin number: 6 frequency:
64.5996Hz
instantiateMChMBEq :INFO: actual 05 band bin number: 7 frequency:
75.3662Hz
instantiateMChMBEq :INFO: actual 06 band bin number: 9 frequency:
96.8994Hz
instantiateMChMBEq :INFO: actual 07 band bin number: 12 frequency:
129.199Hz
instantiateMChMBEq :INFO: actual 08 band bin number: 15 frequency:
161.499Hz
instantiateMChMBEq :INFO: actual 09 band bin number: 19 frequency:
204.565Hz
instantiateMChMBEq :INFO: actual 10 band bin number: 24 frequency:
258.398Hz
instantiateMChMBEq :INFO: actual 11 band bin number: 30 frequency:
322.998Hz
instantiateMChMBEq :INFO: actual 12 band bin number: 37 frequency:
398.364Hz
instantiateMChMBEq :INFO: actual 13 band bin number: 47 frequency:
506.03Hz
instantiateMChMBEq :INFO: actual 14 band bin number: 59 frequency:
635.229Hz
instantiateMChMBEq :INFO: actual 15 band bin number: 75 frequency:
807.495Hz
instantiateMChMBEq :INFO: actual 16 band bin number: 94 frequency:
1012.06Hz
instantiateMChMBEq :INFO: actual 17 band bin number: 119 frequency:
1281.23Hz
instantiateMChMBEq :INFO: actual 18 band bin number: 150 frequency:
1614.99Hz
instantiateMChMBEq :INFO: actual 19 band bin number: 189 frequency:
2034.89Hz
instantiateMChMBEq :INFO: actual 20 band bin number: 238 frequency:
2562.45Hz
instantiateMChMBEq :INFO: actual 21 band bin number: 300 frequency:
3229.98Hz
instantiateMChMBEq :INFO: actual 22 band bin number: 377 frequency:
4059.01Hz
instantiateMChMBEq :INFO: actual 23 band bin number: 476 frequency:
5124.9Hz
instantiateMChMBEq :INFO: actual 24 band bin number: 599 frequency:
6449.19Hz
instantiateMChMBEq :INFO: actual 25 band bin number: 755 frequency:
8128.78Hz
instantiateMChMBEq :INFO: actual 26 band bin number: 951 frequency:
10239Hz
instantiateMChMBEq :INFO: actual 27 band bin number: 1198 frequency:
12898.4Hz
instantiateMChMBEq :INFO: actual 28 band bin number: 1510 frequency:
16257.6Hz
instantiateMChMBEq :INFO: actual 29 band bin number: 1902 frequency:
20478.1Hz
instantiateMChMBEq - __LINE__=1778 (*plugin_data).half_fft_length=2048
activateMChMBEq: instance=088acf88
alsa: 44100 Hz/6 channels/12 bpf/24576 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 44100Hz 6ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 720 (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: [gl] 1280x720 => 1280x720 Planar YV12  [fs]
alsa-uninit: pcm closed-0.048 ct:  0.103 379/379 25%  0%  2.3% 0 0 78% 

Exiting... (Quit)
-----------------

Can anyone please help me?

Best regards,
Sebastian




More information about the MPlayer-users mailing list