FedoraForum.org - Fedora Support Forums and Community
Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2008
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    mplayer do not work on openbox

    mplayer do not work on openbox
    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'
    after some time like few mins video appears:

    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)
    But still no sound.
    On KDE 4 everything fine.
    Last edited by GODhack; 8th May 2010 at 11:44 AM.

  2. #2
    leigh123linux Guest

    Re: mplayer do not work on openbox

    Try


    Code:
    start-pulseaudio-x11
    mplayer -ao pulse  *.avi

  3. #3
    Join Date
    Apr 2008
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mplayer do not work on openbox

    Thanks solved.
    I added start-pulseaudio-x11 to .config/openbox/autostart.sh and everything works just fine.

  4. #4
    Join Date
    May 2005
    Posts
    3,868
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mplayer do not work on openbox

    Rahul
    http://fedoraproject.org/wiki/RahulSundaram

  5. #5
    Join Date
    Apr 2010
    Location
    uk
    Posts
    726
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mplayer do not work on openbox

    Hello
    you could try
    Code:
    mplayer -ao help
    and give all the listed entries a try, my mplayer used to default to pulse but I found alsa mucho betterer
    same goes for
    Code:
    mplayer -vo help
    I was surprised at the differing amounts of cpu usage for different outputs, x11 is the one for me, you can set them as default in ~/.mplayer/config

  6. #6
    Join Date
    Sep 2009
    Posts
    2,209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mplayer do not work on openbox

    @Rahul,

    I'm slightly confused by that RFE. I switched to openbox not long after F12 went gold, and pulse has always worked. How did I do that? 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.

    dd_wizard

  7. #7
    Join Date
    Jan 2010
    Posts
    8,698
    Mentioned
    41 Post(s)
    Tagged
    0 Thread(s)

    Re: mplayer do not work on openbox

    I do remember in one installation, just running Openbox, that removing pulseaudio fixed it. On the other hand, that's the only time that's happened. (On a typical installation, I install either fluxbox or openbox, boot into runlevel 3 and startx.)

  8. #8
    Join Date
    Apr 2008
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mplayer do not work on openbox

    bonedome, thanks for tip I will try alsa and x11 outputs later.

Similar Threads

  1. kplayer/mplayer doesn't work in f9
    By manoloko in forum Using Fedora
    Replies: 2
    Last Post: 3rd June 2008, 12:11 AM
  2. Mplayer doesn't work properly!
    By mediator in forum Using Fedora
    Replies: 6
    Last Post: 25th January 2008, 08:53 AM
  3. mplayer pre8 doesn't work
    By unimow in forum Installation, Upgrades and Live Media
    Replies: 7
    Last Post: 7th August 2006, 06:16 PM
  4. mplayer wont work
    By xXxz3r0xXx in forum Using Fedora
    Replies: 3
    Last Post: 15th May 2006, 12:20 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •