Bug#673820: mplayer2: -ao pulse does not work

2012-05-23 Thread Uoti Urpala
The issue in the log is due to the file being so short (0.5 seconds).
This is the same as
http://devel.mplayer2.org/ticket/166

The total amount of audio is not enough to trigger automatic start of
playback. However, for some weird reason setting that amount lower
triggered yet another Pulseaudio bug (it has a LOT of bugs), so mplayer2
doesn't currently do that.

Unfortunately Pulseaudio 2.0 seems to be yet buggier again than previous
versions - now seeking is _always_ buggy regardless of whatever else you
do on my machine at least (after calling pa_stream_flush() it takes a
long time before audio playback from the new position starts working
right, leading to stopped audio and frozen video until then). So perhaps
this issue could be fixed; OTOH that'd mean seeking would be broken with
all Pulseaudio versions, even the older ones where it worked before.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#673820: mplayer2: -ao pulse does not work

2012-05-22 Thread Michal Suchanek
Package: mplayer2
Version: 2.0-554-gf63dbad-1
Followup-For: Bug #673820

Hello,

attaching the log.

Thanks

Michal
Reading config file /etc/mplayer/mplayer.conf
: No such file or directory
get_path('') - '/home/hramrach/.mplayer/'
get_path('config') - '/home/hramrach/.mplayer/config'
Reading config file /home/hramrach/.mplayer/config
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 13
CPU: Intel(R) Core(TM)2 Quad CPUQ9400  @ 2.66GHz (Family: 6, Model: 23, 
Stepping: 10)
extended cpuid-level: 8
extended cache-info: 201351232
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled with runtime CPU detection.
Compiled against libavutil version 51.22.1
Compiled against libavcodec version 53.35.0
Compiled against libavformat version 53.21.0
Compiled against libswscale version 2.1.0
get_path('codecs.conf') - '/home/hramrach/.mplayer/codecs.conf'
Reading /home/hramrach/.mplayer/codecs.conf: Can't open 
'/home/hramrach/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No 
such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-translation 
--disable-svga --extra-cflags=-g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
--extra-ldflags=-Wl,-z,relro --enable-debug=3 --enable-runtime-cpudetection
CommandLine: '-v' '-ao' 'pulse' '/scratch/laser2.wav'
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
init_freetype
get_path('fonts') - '/home/hramrach/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') - '/home/hramrach/.mplayer/input.conf'
Can't open input config file /home/hramrach/.mplayer/input.conf: No such file 
or directory
Can't open input config file /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('laser2.wav.conf') - '/home/hramrach/.mplayer/laser2.wav.conf'

Playing /scratch/laser2.wav.
get_path('sub/') - '/home/hramrach/.mplayer/sub/'
[file] File size is 23256 bytes
STREAM: [file] /scratch/laser2.wav
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: WAV format
Detected file format: WAV format (libavformat)
== Found audio stream: 0
=== WAVE Format ===
Format Tag: 1 (0x1)
Channels: 1
Samplerate: 22050
avg byte/sec: 44100
Block align: 2
bits/sample: 16
cbSize: 0
==
[lavf] stream 0: audio (pcm_s16le), -aid 0
LAVF: 1 audio and 0 video streams found
LAVF: build 3478784
Load subtitles in /scratch/
get_path('sub/') - '/home/hramrach/.mplayer/sub/'
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 22050 Hz, 1 ch, s16le, 352.8 kbit/100.00% (ratio: 44100-44100)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
Building audio filter chain for 22050Hz/1ch/s16le - 0Hz/0ch/??...
[libaf] Adding filter dummy 
[dummy] Was reinitialized: 22050Hz/1ch/s16le
Audio filter chain:
  [in] 22050Hz/1ch/s16le
  [dummy] 22050Hz/1ch/s16le
  [out] 0Hz/0ch/??
[dummy] Was reinitialized: 22050Hz/1ch/s16le
Audio filter chain:
  [in] 22050Hz/1ch/s16le
  [dummy] 22050Hz/1ch/s16le
  [out] 0Hz/0ch/??
Trying preferred audio driver 'pulse', options '[none]'
AO: [pulse] 22050Hz 1ch s16le (2 bytes per sample)
AO: Description: PulseAudio audio output
AO: Author: Lennart Poettering
Building audio filter chain for 22050Hz/1ch/s16le - 22050Hz/1ch/s16le...
[dummy] Was reinitialized: 22050Hz/1ch/s16le
Audio filter chain:
  [in] 22050Hz/1ch/s16le
  [dummy] 22050Hz/1ch/s16le
  [out] 22050Hz/1ch/s16le
[dummy] Was reinitialized: 22050Hz/1ch/s16le
Audio filter chain:
  [in] 22050Hz/1ch/s16le
  [dummy] 22050Hz/1ch/s16le
  [out] 22050Hz/1ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
Increasing filtered audio buffer size from 0 to 23212
A:   0.0 (00.0) of 0.5 (00.5)  0.0% 
ds_fill_buffer: EOF reached (stream: audio)  
A:   0.0 (00.0) of 0.5 (00.5)  0.0% 
ds_fill_buffer: EOF reached (stream: audio)  
A:   0.0 (00.0) of 0.5 (00.5)  0.0% 
ds_fill_buffer: EOF reached (stream: audio)  
A:   0.0 (00.0) of 0.5 (00.5)  0.0% 
ds_fill_buffer: EOF reached (stream: audio)  
A:   0.0 (00.0) of 0.5 (00.5)  0.0% 
ds_fill_buffer: EOF reached (stream: audio)  
A:   0.0 (00.0) of 0.5 (00.5)  0.0% 
ds_fill_buffer: 

Bug#673820: mplayer2: -ao pulse does not work

2012-05-21 Thread Michal Suchanek
Package: mplayer2
Version: 2.0-554-gf63dbad-1
Severity: normal

Hello,

I tried

mplayer -ao pulse some/random/audio.wav

and mplayer goes through the file _very_ slowly and produces no sound.

-ao alsa works (and seems to play through pulse too).



-- System Information:
Debian Release: wheezy/sid
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'testing'), (410, 'unstable'), (200, 
'experimental'), (111, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mplayer2 depends on:
ii  libaa11.4p5-38
ii  libasound21.0.25-2
ii  libass4   0.9.9-1
ii  libavcodec53  6:0.8.2-2
ii  libavformat53 6:0.8.2-2
ii  libavutil51   6:0.8.2-2
ii  libbluray11:0.2.2-1
ii  libc6 2.13-32
ii  libcaca0  0.99.beta17-1
ii  libcdio-cdda0 0.81-4
ii  libcdio-paranoia0 0.81-4
ii  libcdio10 0.81-4
ii  libdca0   0.0.5-3
ii  libdirectfb-1.2-9 1.2.10.0-4
ii  libdvdnav44.1.3-7
ii  libdvdread4   4.1.3-10
ii  libenca0  1.13-3
ii  libfaad2  2.7-6
ii  libfontconfig12.9.0-3
ii  libfreetype6  2.4.9-1
ii  libfribidi0   0.19.2-3
ii  libgif4   4.1.6-9.1+ma1
ii  libgl1-mesa-glx [libgl1]  8.0.2-2
ii  libjack0 [libjack-0.116]  1:0.118+svn3796-7
ii  libjpeg8  8d-1
ii  liblircclient00.8.3-5
ii  libncurses5   5.9-7
ii  libogg0   1.2.2~dfsg-1.1
ii  libpng12-01.2.49-1
ii  libpostproc52 6:0.8.2-2
ii  libpulse0 2.0-1
ii  libsdl1.2debian   1.2.14-6.1
ii  libsmbclient  2:3.6.5-1
ii  libspeex1 1.2~rc1-3.1
ii  libswscale2   6:0.8.2-2
ii  libtheora01.1.1+dfsg.1-3
ii  libtinfo5 5.9-7
ii  libvdpau1 0.4.1-2
ii  libvorbis0a   1.3.2-1.3
ii  libx11-6  2:1.4.99.901-2
ii  libxext6  2:1.3.1-2
ii  libxinerama1  2:1.1.2-1
ii  libxv12:1.0.7-1
ii  libxvidcore4  2:1.3.2-9
ii  libxxf86dga1  2:1.1.1-2
ii  libxxf86vm1   1:1.1.2-1
ii  zlib1g1:1.2.7.dfsg-1

mplayer2 recommends no packages.

mplayer2 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#673820: mplayer2: -ao pulse does not work

2012-05-21 Thread Reinhard Tartler
On Mon, May 21, 2012 at 5:33 PM, Michal Suchanek
michal.sucha...@ruk.cuni.cz wrote:
 Package: mplayer2
 Version: 2.0-554-gf63dbad-1
 Severity: normal

 Hello,

 I tried

 mplayer -ao pulse some/random/audio.wav

 and mplayer goes through the file _very_ slowly and produces no sound.

 -ao alsa works (and seems to play through pulse too).

Please provide us with the output of

mplayer -ao pulse -v some/random/audio.wav


(the -v switch makes mplayer noisy, but shows what's going on in more detail)
-- 
regards,
    Reinhard



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org