[MPlayer-users] audio-filter volume

Oliver Seitz info at vtnd.de
Wed Jul 21 14:18:33 CEST 2010


Hi.

The manpage informs me about a useful feature:

/quote/
volume[=v[:sc]]
               Implements  software  volume control. [...]
This  filter has a second feature: It measures the overall maximum sound 
level and prints out that level  when  MPlayer  exits.
\quote\

But where does it print that to? I can not see any output like that on 
stdout or stderr, even with "-v -v".

$> mplayer Eintopf-quelle.mpg -af volume -v
MPlayer SVN-r31759-4.4.3 (C) 2000-2010 MPlayer Team
CPU vendor name: CentaurHauls  max cpuid level: 1
CPU: VIA C7 Processor 2000MHz (Family: 6, Model: 13, Stepping: 0)
extended cpuid-level: 6
extended cache-info: 8429888
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 CMOV
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading /root/.mplayer/codecs.conf: Can't open 
'/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration:
CommandLine: 'Eintopf-quelle.mpg' '-af' 'volume' '-v'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/root/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or 
directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such 
file or directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.
get_path('Eintopf-quelle.mpg.conf') -> 
'/root/.mplayer/Eintopf-quelle.mpg.conf'

Playing Eintopf-quelle.mpg.
get_path('sub/') -> '/root/.mplayer/sub/'
[file] File size is 12765184 bytes
STREAM: [file] Eintopf-quelle.mpg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: MPEG-PS format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename Eintopf-quelle.mpg ext: .mpg
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file Eintopf-quelle.mpg
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 73257, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851704
LMLM4 Stream Format not found
system stream synced at 0xD (13)!
==> Found video stream: 0
==> Found audio stream: 128
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  4183.2 kbps (522.9 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.000  ftime:=0.0400
get_path('sub/') -> '/root/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1440x900 with depth 24 and 32 bpp (":0.0" => local 
display)
[x11] Detected wm supports layers.
[x11] Using workaround for Metacity bugs.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports FULLSCREEN state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared 
object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
[VO_XV] Using Xv Adapter #0 (XV_SWOV)
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x000821).
[xv common] Maximum source image dimensions: 1920x1200
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec "ac3" init OK!
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter volume
Trying every known audio driver...
ao2: 48000 Hz  2 chans  s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   8/8  (8192 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x576 => 768x576 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: 0x434d5658 (XVMC) planar
Xvideo image format: 0x35315652 (RV15) packed
Xvideo image format: 0x36315652 (RV16) packed
Xvideo image format: 0x32335652 (RV32) packed
using Xvideo port 62 for hw scaling
*** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 
622080 bytes
*** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 
622080 bytes
Unicode font: 5025 glyphs.
Unicode font: 5025 glyphs.
A:   0.7 V:   0.4 A-V:  0.373 ct:  0.000   2/  2 ??% ??% ??,?% 1 0
*** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 
622080 bytes
A:  31.3 V:  31.3 A-V:  0.000 ct:  0.032 776/776 29%  0%  2.9% 7 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
A:  31.4 V:  31.4 A-V: -0.000 ct:  0.032 777/777 30%  0%  2.9% 7 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
A:  31.4 V:  31.4 A-V: -0.000 ct:  0.032 778/778 29%  0%  2.9% 7 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
A:  31.4 V:  31.4 A-V: -0.000 ct:  0.032 779/779 30%  0%  2.9% 7 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
A:  31.5 V:  31.5 A-V: -0.000 ct:  0.032 780/780 30%  0%  2.9% 7 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
A:  31.5 V:  31.5 A-V:  0.000 ct:  0.032 781/781 30%  0%  2.9% 7 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
A:  31.5 V:  31.5 A-V:  0.000 ct:  0.032 781/781 30%  0%  2.9% 7 0
EOF code: 1

Uninit audio filters...
[libaf] Removing filter volume
Uninit audio: ffmpeg
Uninit video: ffmpeg
vo: uninit ...

Exiting... (End of file)

Any hint on where to look?

Thanks!
Kiste


More information about the MPlayer-users mailing list