[MPlayer-dev-eng] Re: [MPlayer-DOCS] Re: letter to distro mplayer packagers?
Tobias Diedrich
ranma at tdiedrich.de
Sun Dec 11 12:34:25 CET 2005
Jan Knutar wrote:
> Trying arts and esd first would be OK in my opinion, IF there was
> a way to try esd and arts, without a sound server getting automatically
> spawned. If the user doesn't have either running, she probably does
> not want to use them. Arts and esd have their own bag of A-V sync
> issues too..
At least on Debian it seems like artsd is not started automatically
if it is not running:
|ranma at melchior:~/src/mplayer-cvs/main-rw$ strace -f -efork ./mplayer ~/tmp/umn.wav
|MPlayer dev-CVS-050619-11:17-3.3.6 (C) 2000-2005 MPlayer Team
|CPU: Advanced Micro Devices Duron/Athlon 4/MP/XP Palomino (Family: 6, Stepping: 2)
|CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
|Compiled with runtime CPU detection - WARNING - this is not optimal!
|To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
|
|Playing /home/ranma/tmp/umn.wav.
|Audio file file format detected.
|==========================================================================
|Opening audio decoder: [pcm] Uncompressed PCM audio decoder
|AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio:
|176400->176400)
|Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
|==========================================================================
|Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
|[JACK] cannot open server
|mcop warning: user defined signal handler found for SIG_PIPE, overriding
|[AO ARTS] can't connect to aRts soundserver
|AO: [polyp] -(null)-(null)-
|AO: [polyp] Failed to connect to server: Connection refused
|alsa-init: 1 soundcard found, using: default
|alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit |Little Endian
|AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
|Building audio filter chain for 44100Hz/2ch/s16le -> |44100Hz/2ch/s16le...
|Video: no video
|Starting playback...
ALSA forks if dmix is used:
|ranma at melchior:~/src/mplayer-cvs/main-rw$ strace -f -efork ./mplayer ~/tmp/umn.wav
|MPlayer dev-CVS-050619-11:17-3.3.6 (C) 2000-2005 MPlayer Team
|CPU: Advanced Micro Devices Duron/Athlon 4/MP/XP Palomino (Family: 6, Stepping: 2)
|CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
|Compiled with runtime CPU detection - WARNING - this is not optimal!
|To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
|
|Playing /home/ranma/tmp/umn.wav.
|Audio file file format detected.
|==========================================================================
|Opening audio decoder: [pcm] Uncompressed PCM audio decoder
|AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio:
|176400->176400)
|Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
|==========================================================================
|Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
|[JACK] cannot open server
|mcop warning: user defined signal handler found for SIG_PIPE, overriding
|[AO ARTS] can't connect to aRts soundserver
|AO: [polyp] -(null)-(null)-
|AO: [polyp] Failed to connect to server: Connection refused
|alsa-init: 1 soundcard found, using: default
|Process 14622 attached
|Process 14621 suspended
|Process 14623 attached
|Process 14621 resumed
|Process 14622 detached
|[pid 14621] --- SIGCHLD (Child exited) @ 0 (0) ---
|alsa: 44100 Hz/2 channels/4 bpf/30104 bytes buffer/Signed 16 bit Little Endian
|AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
|Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
|Video: no video
|Starting playback...
Additional delay seems not to be too long (although 0.5s is more
than I expected):
|ranma at melchior:~/src/mplayer-cvs/main-rw$ time ./mplayer -ao jack,arts,polyp,nas ~/tmp/umn.wav
|MPlayer dev-CVS-050619-11:17-3.3.6 (C) 2000-2005 MPlayer Team
|CPU: Advanced Micro Devices Duron/Athlon 4/MP/XP Palomino (Family: 6, Stepping: 2)
|CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
|Compiled with runtime CPU detection - WARNING - this is not optimal!
|To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
|
|Playing /home/ranma/tmp/umn.wav.
|Audio file file format detected.
|==========================================================================
|Opening audio decoder: [pcm] Uncompressed PCM audio decoder
|AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
|Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
|==========================================================================
|Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
|[JACK] cannot open server
|mcop warning: user defined signal handler found for SIG_PIPE, overriding
|[AO ARTS] can't connect to aRts soundserver
|AO: [polyp] -(null)-(null)-
|AO: [polyp] Failed to connect to server: Connection refused
|ao_nas: init(): Can't open nas audio server -> nosound
|Could not open/initialize audio device -> no sound.
|Audio: no sound
|Video: no video
|
|
|Exiting... (End of file)
|
|real 0m0.471s
|user 0m0.204s
|sys 0m0.020s
Broken up by driver this seems to approx.:
jack: 0.025s
arts: 0.250s
polyp: 0.125s
nas: 0.025s
Didn't test esd, because it conflicts with polypaudio.
--
Tobias PGP: http://9ac7e0bc.uguu.de
More information about the MPlayer-dev-eng
mailing list