mplayer do not work on openbox
after some time like few mins video appears:Code:$ mplayer *.avi MPlayer SVN-r31061-4.4.3 (C) 2000-2010 MPlayer Team 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. Playing *.avi. AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 VIDEO: [XVID] 480x360 24bpp 25.000 fps 1004.6 kbps (122.6 kbyte/s) 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 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== AO: [pulse] Init failed: Connection terminated Failed to initialize audio driver 'pulse'
But still no sound.Code:waitpid(): No child processes [AO_ALSA] alsa-lib: pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Internal error [AO_ALSA] Playback open error: Connection refused Failed to initialize audio driver 'alsa' [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory [AO_ALSA] alsa-lib: pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused [AO_ALSA] Playback open error: Connection refused waitpid(): No child processes AO: [pulse] Init failed: Internal error [AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le waitpid(): No child processes waitpid(): No child processes [AO_ALSA] alsa-lib: pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Internal error [AO SDL] Unable to open audio: No available audio device DVB card number must be between 1 and 4 AO: [null] 44100Hz 2ch s16le (2 bytes per sample) Starting playback... [mpeg4 @ 0x874d820]Invalid and inefficient vfw-avi packed B frames detected Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [xv] 480x360 => 480x360 Planar YV12 [mpeg4 @ 0x874d820]frame skip 8 [mpeg4 @ 0x874d820]frame skip 8 [mpeg4 @ 0x874d820]frame skip 8t: -0.068 263/263 10% 0% 4.0% 4 0 [mpeg4 @ 0x874d820]frame skip 8 No bind found for key 'MOUSE_BTN4'.-MOUSE_BTN4_DBL No bind found for key 'MOUSE_BTN4_DBL'. 0 No bind found for key 'MOUSE_BTN4'.-MOUSE_BTN4_DBL No bind found for key 'MOUSE_BTN4_DBL'. 0 No bind found for key 'MOUSE_BTN3'.-MOUSE_BTN3_DBL No bind found for key 'MOUSE_BTN3_DBL'. 0 No bind found for key 'MOUSE_BTN3'.-MOUSE_BTN3_DBL No bind found for key 'MOUSE_BTN3_DBL'. 0 A: 53.9 V: 53.9 A-V: -0.000 ct: 0.183 1348/1348 6% 0% 3.0% 0 0 MPlayer interrupted by signal 2 in module: sleep_timer A: 53.9 V: 53.9 A-V: -0.000 ct: 0.183 1349/1349 6% 0% 3.0% 0 0 Exiting... (Quit)
On KDE 4 everything fine.


Reply With Quote
I sure don't remember doing anything to turn it on, and the only openbox configuration file I have, /home/gene/.config/openbox/rc.xml, doesn't mention pulseaudio.
