Announcement

Collapse
No announcement yet.

Amarok Plays, But Kaffeine Doesn't in Kubuntu 12.04

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

    Amarok Plays, But Kaffeine Doesn't in Kubuntu 12.04

    The subject says it all, I think. I prefer Kaffeine for audio CD playback, and I've had it working in other distro installs.

    Lane
    Lane Lester
    The Web Doctor

    #2
    Tell a bit more...

    (...seems to work at here)

    How a are you trying to use the Kaffeine ?

    Is there difference between:

    - from the device notifier ?


    - from the Kaffeine



    Have you tried with the commandline ?

    $ kaffeine --help
    Usage: kaffeine [Qt-options] [KDE-options] [KDE-tempfile-options] [options] [file]

    A media player for KDE with digital TV support.

    Generic options:
    --help Show help about options
    --help-qt Show Qt specific options
    --help-kde Show KDE specific options
    --help-kde-tempfile Show KDE-tempfile specific options
    --help-all Show all options
    --author Show author information
    -v, --version Show version information
    --license Show license information
    -- End of options

    Options:
    -f, --fullscreen Start in full screen mode
    --audiocd Play Audio CD
    --videocd Play Video CD
    --dvd Play DVD
    --tv <channel> (deprecated option)
    --channel <name / number> Play TV channel
    --lastchannel Play last tuned TV channel
    --dumpdvb Dump dvb data (debug option)

    Arguments:
    file Files or URLs to play
    Any errror messages if you try with the:
    Code:
    kaffeine --audiocd
    Last edited by OneLine; Oct 06, 2012, 01:23 PM.
    Have you tried ?

    - How to Ask a Question on the Internet and Get It Answered
    - How To Ask Questions The Smart Way

    Comment


      #3
      Thanks for the suggestions. I get all the same video you do, just no sound. Kaffeine "thinks" it's playing the CD; it displays the song titles.

      I tried the command line and got this:
      Code:
      kaffeine --audiocd
      QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
      QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
      And then the Kaffeine window came up and did its thing... silently.

      I've noticed that I've also lost sound in Firefox, I guess it's flash.

      But I do have sound in Amarok and Dragon Player.

      I'm wondering if I installed some funky libraries or something while I was installing players while trying to remember Kaffeine's name from a previous distro install. I know a number of the players dragged in a flock of dependencies.

      Is there a way to restore the original sound setup, short of reinstalling Kubuntu?

      Lane
      Lane Lester
      The Web Doctor

      Comment


        #4
        Kaffeine (xine)

        I get all the same video you do, just no sound. Kaffeine "thinks" it's playing the CD; it displays the song titles...But I do have sound in Amarok and Dragon Player.
        The Kaffeine is a bit different. It is using the Xine.
        :~$ apt-cache show kaffeine
        ...
        Depends:...libxine1 (>= 1.1.8-1), ..., libxine1-x,...
        At here the Xine packages installed:
        :~$ dpkg --get-selections | grep xine
        libxine1 install
        libxine1-bin install
        libxine1-console install
        libxine1-ffmpeg install
        libxine1-misc-plugins install
        libxine1-plugins install
        libxine1-x install
        ---(these are not xine packages)---
        libxinerama-dev install
        libxinerama1 install
        x11proto-xinerama-dev install

        If you have those and the sound is not playing. The Kaffeine has the xine-config configuration file: ~/.kde/share/apps/kaffeine/xine-config .

        You could try to:

        1) Rename the ~/.kde/share/apps/kaffeine/xine-config when the Kaffeine is not running. When the Kaffeine is started there should be a new ~/.kde/share/apps/kaffeine/xine-config with the default settings.

        2) If the default settings are not working you could edit the ~/.kde/share/apps/kaffeine/xine-config.
        There is a audio driver setting:
        ...
        # audio driver
        # { auto pulseaudio alsa oss jack none file }, default: 0
        #audio.driver:auto
        ...
        Uncomment the "audio.driver:auto" and try the pulseaudio/alsa /oss settings.
        Have you tried ?

        - How to Ask a Question on the Internet and Get It Answered
        - How To Ask Questions The Smart Way

        Comment


          #5
          Originally posted by OneLine View Post
          The Kaffeine is a bit different. It is using the Xine.

          1) Rename the ~/.kde/share/apps/kaffeine/xine-config when the Kaffeine is not running. When the Kaffeine is started there should be a new ~/.kde/share/apps/kaffeine/xine-config with the default settings.

          2) If the default settings are not working you could edit the ~/.kde/share/apps/kaffeine/xine-config.
          There is a audio driver setting:

          Uncomment the "audio.driver:auto" and try the pulseaudio/alsa /oss settings.
          I have all the xine libraries installed. Test #1 had no effect. Test #2 was interesting. I uncommented the lines to give:
          Code:
          # audio driver
          { auto  pulseaudio  alsa  oss  jack  esd  none  file }, default: 0
          audio.driver:auto
          
          # device used for pulseaudio
          string, default: 
          audio.pulseaudio_device:
          There was still no sound, and even more strange, after I exited Kaffeine and reloaded xine-config, the lines were all commented out again!

          Lane
          Lane Lester
          The Web Doctor

          Comment


            #6
            Manual


            ...I uncommented the lines to give:

            # audio driver
            { auto pulseaudio alsa oss jack esd none file }, default: 0
            audio.driver:auto
            ...
            There was still no sound, and even more strange, after I exited Kaffeine and reloaded xine-config, the lines were all commented out again!
            Only uncomment the "audio.driver:auto" and change the "auto" to the "pulseaudio/alsa /oss".

            with gui

            If you install the xine-ui (1*) you could use it's config files with the Kaffeine.

            1) Start the xine gui: K > Multimedia > Xine
            2) Right clik the Xine UI > Settings...



            Set the "Configuration experience level" high enough

            3) Change the settings and exit the Xine (UI)



            4) Copy the ~/.xine/config to the ~/.kde/share/apps/kaffeine/xine-config

            Something to check

            If you play the CD with the Xine-UI - Do you hear the sound ?



            You could try to search the correct settings with the xine-ui and copy the settings to the Kaffeine.





            (1*) apt-cache show xine-ui
            Description: the xine video player, user interface
            This is an X11 based GUI for the libxine video player library.
            It provides xine, a skin based media player that can play all the
            audio/video formats that libxine supports. Currently, this includes MPEG1/2,
            some AVI and Quicktime files, some network streaming methods and disc based
            media (VCD, SVCD, DVD). A more complete list can be found on
            http://xinehq.de/index.php/features/.
            .
            Most DVDs on the market today are play-protected by the Content Scrambling
            System (CSS). Xine does not provide any code to descramble those DVDs,
            because of legal uncertainties. Have a look at
            /usr/share/doc/xine-ui/README.Debian for more information!
            Homepage: http://xinehq.de
            ...
            Origin: Ubuntu
            ...

            Note
            (for those who are using the Quantal or later)

            The xine-ui /1/ with the Precise is using the Xine1. The xine-ui /2/ with the Quantal is using the Xine2. The Kaffeine /3/ is using the Xine1.

            The Kaffeine&Precise could use the xine-ui configuration files. The Kaffeine&Quantal may or may not use the xine-ui configuration files.

            Links

            1. http://packages.ubuntu.com/precise/xine-ui
            2. http://packages.ubuntu.com/quantal/xine-ui
            3. http://packages.ubuntu.com/quantal/kaffeine
            Last edited by OneLine; Oct 10, 2012, 09:59 AM.
            Have you tried ?

            - How to Ask a Question on the Internet and Get It Answered
            - How To Ask Questions The Smart Way

            Comment


              #7
              Only uncomment the "audio.driver:auto" and change the "auto" to the "pulseaudio/alsa /oss".
              I did that, but still no sound. And the file was changed back to a commented out line ""audio.driver:auto".

              I tried just putting "pulseaudio" in place of "auto." Still no sound, but this time the file was not changed back. It looks like the program does not like having more than one driver included.

              I installed xine-ui and tried to set it up as you described. I left the "audio driver to use" set to auto. I "played" the CD with xine; the waveform display showed the track as playing, but there was no sound. If I change the driver to pulseaudio, it wants to know "device used for pulseaudio" and I don't know what that should be.

              Lane
              Lane Lester
              The Web Doctor

              Comment


                #8
                Just for the heck of it run "alsamixer" in a terminal and see if perhaps the PCM chanel is turned down , or one of the others.

                VINNY
                i7 4core HT 8MB L3 2.9GHz
                16GB RAM
                Nvidia GTX 860M 4GB RAM 1152 cuda cores

                Comment


                  #9
                  Originally posted by vinnywright View Post
                  Just for the heck of it run "alsamixer" in a terminal and see if perhaps the PCM chanel is turned down , or one of the others.

                  VINNY
                  Oops! I only made sure the Master was at 100%! Now that the PCM is also at 100%, Kaffeine works fine.

                  I guess your question was the audio equivalent to, "Check to see if your computer is plugged in."

                  Where's the "embarrassed" emoticon when I need it?\

                  Thank you, Vinny, and thank you, OneLine, for patiently wasting all that time with me.

                  Lane
                  Lane Lester
                  The Web Doctor

                  Comment


                    #10
                    Originally posted by lanelester View Post
                    oops! I only made sure the master was at 100%! Now that the pcm is also at 100%, kaffeine works fine.

                    I guess your question was the audio equivalent to, "check to see if your computer is plugged in."

                    where's the "embarrassed" emoticon when i need it?\

                    thank you, vinny, and thank you, oneline, for patiently wasting all that time with me.

                    Lane
                    lol ............. I have been caught by that quirk before.
                    I believe some packages or updates to some do this as when it happened to me the PCM Chanel WAS up then some how got mysteriously muted or turned down ? go figure

                    VINNY
                    i7 4core HT 8MB L3 2.9GHz
                    16GB RAM
                    Nvidia GTX 860M 4GB RAM 1152 cuda cores

                    Comment

                    Working...
                    X