Announcement

Collapse
No announcement yet.

[solved] Kubuntu + Mplayer - no sound

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [solved] Kubuntu + Mplayer - no sound

    Hello all!

    Sorry, I'm kind of a newbie in KDE (was using Ubuntu Gnome for two years), so cannot solve the problem by myself...

    When I'm playing video with mplayer, amarok cannot produce any sound - it tells that the device does not work. On the other hand, when I'm playing music with amarok, mplayer does not play sound - here is the output

    Code:
    [AO_ALSA] alsa-lib: pcm_hw.c:1325:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy                                       
    [AO_ALSA] alsa-lib: pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave        
    [AO_ALSA] Playback open error: Device or resource busy                   
    Failed to initialize audio driver 'alsa'                          
    Could not open/initialize audio device -> no sound.
    It looks like KDE backend (xine) takes control over the sound card.

    Does anyone use mplayer in KDE? What have they done to make it work together? Well, using mplayer as a phonon backend will be ideal, but there is no such package in kubuntu...


    Newer mind... The only thing I needed to do is to clean up my /etc/asound.conf. There were some old modifications in it, at the moment it works fine

    #2
    Re: Kubuntu + Mplayer - no sound

    Here the mplayer and the amarok are working fine with the default settings.

    Here:

    System settings > Multimedia > Audio Output; Output device: NVidia nForce2 with ALC650F (with NVidia nForce2)

    Backend: Phonon Xine backend


    ...
    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, 128.0 kbit/9.07% (ratio: 16000->176400)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ================================================== ========
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
    AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: [solved] Kubuntu + Mplayer - no sound

      I had the same issue, and inspected this post first but the above wasn't the issue. Took a bit to figure out as I am a new to Linux and Kubuntu (9.10) - but I did find it.
      Alternate Solution:
      Check the sound mixer first. It may be as simple as just turning on some of the configurations.
      Select the Task bar speaker, then 'mixer' button
      Click 'Settings' on the menu bar then select 'configure channels'
      and turn them all on and un-muted. You can then see if the mplayer sound works and turn off the ones that don't do anything.
      PS - if the menu bar is not shown, right click on the field of the mixer and select the option - show menu bar.

      Comment

      Working...
      X