Announcement

Collapse
No announcement yet.

No sound on kaffeine

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

    No sound on kaffeine

    Hi,
    I am a linux n00b. I just installed kunbuntu, but I can't get kaffeine to play mpg files with sound(video is fine/no sound). The sound driver is set to auto in the xine engine parameter. I have a soundblaster card installed. The sound works fine with other apps like flash. Kindly help.

    #2
    Re: No sound on kaffeine

    Start kaffeine in the konsole -> get more info.

    To me kaffeine tells (short mpg clip):
    kaffeine: KXineWidget: Playing: file:///media/sata/sat2/part1.mpg
    kaffeine: KXineWidget: xine event: channels changed
    kaffeine: KXineWidget: xine event: channels changed
    kaffeine: KXineWidget: New video frame size: 352x240 - aspect ratio: 1
    kaffeine: KXineWidget: Switch to audio channel -1
    kaffeine: KaffeinePart: xine is playing
    kaffeine: KaffeinePart: got new frame size from xine
    kaffeine: Kaffeine: new video frame size: 352x240
    kaffeine: slotSpeedPause()
    Do you get error messages ?
    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: No sound on kaffeine

      I typed kaffeine file.mpg and it generated an error message and then started to play the file without any sound. The error message is the following:

      X Error: BadDevice, invalid or uninitialized input device 166
      Major opcode: 144
      Minor opcode: 3
      Resource id: 0x0
      Failed to open device
      X Error: BadDevice, invalid or uninitialized input device 166
      Major opcode: 144
      Minor opcode: 3
      Resource id: 0x0
      Failed to open device
      /dev/dvb/adapter0/frontend0 : : No such file or directory
      QLayout "unnamed" added to QWidget "unnamed", which already has a layout

      I have no idea what all this means.

      Comment


        #4
        Re: No sound on kaffeine

        Hmm - errors:

        X Error: BadDevice, invalid or uninitialized input device 166...
        This is from wacom crap in the xorg.conf. >

        How to fix:
        X Error: BadDevice, invalid or uninitialized input device 168
        http://www.ubuntuforums.org/showthread.php?t=212025


        Failed to open device
        /dev/dvb/...
        This tells that kaffeine can't open/find dvb. If you don't have dvb you can't fix it


        QLayout "unnamed" added to QWidget "unnamed"
        This beats me - you can try googling with the error message.
        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


          #5
          Re: No sound on kaffeine

          I fixed the X Error problem by following the directions. But I still don't get any sound. Now I get:
          /dev/dvb/adapter0/frontend0 : : No such file or directory
          QLayout "unnamed" added to QWidget "unnamed", which already has a layout

          I googled the QLayout error but I did not find any solution. And why won't I be able to solve the dvb problem? I just want to watch mpgs. If there is any other way to do it please let me know. How do you guys watch videos?

          Comment


            #6
            Re: No sound on kaffeine

            And why won't I be able to solve the dvb problem?
            Kaffeine is compiled with dvb support -> so in the start it is looking dvb-devices. If it doesn't find one -> warning/error. And - yes. I also get: Failed to open device /dev/dvb... It is warning -> you can skip it (think it as beauty spot ). If you really want: Get sources -> compile without dvb support.


            Do you have a dvb-device ?

            The DVB Window
            http://docs.kde.org/development/en/e...dvbwindow.html

            Frequently Asked Questions -> 19. My DVB device is detected, i have succesfully scanned for channels, but channels names are greyed out. Why?
            http://kaffeine.sourceforge.net/index.php?page=faq


            Do you have Amarok installed ? Does it play mp3-files ? ( Probing if sound problem is kaffeine/xine problem or something else). You probably have checked all kmix settings ?


            How do you guys watch videos?
            Hmm - I have kaffeine, mplayer and vlc installed. Opinion: all of them are good players. Mostly i use kaffeine(xine) .
            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


              #7
              Re: No sound on kaffeine

              I installed vlc (installation instruction for mplayer scared the c#@p out of me) by following the instructions on http://www.videolan.org/vlc/download-ubuntu.html. However when I added the line
              "deb http://medibuntu.sos-sts.com/repo/ edgy free" to my sources.list file and ran "% sudo apt-get install libdvdcss2" I got the following error message:
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              Package libdvdcss2 is not available, but is referred to by another package.
              This may mean that the package is missing, has been obsoleted, or
              is only available from another source
              Would you know how to remedy this? Many thanks in advance.

              Comment


                #8
                Re: No sound on kaffeine

                installation instruction for mplayer scared the c#@p out of me
                Hmm I just installed mplayer from ubuntu repositories. As i did with vlc. They are probably a bit older than from homepages.

                Code:
                :~$ apt-cache show mplayer
                Package: mplayer
                Priority: extra
                Section: multiverse/graphics
                Installed-Size: 7916
                Maintainer: Ubuntu MOTU Media Team <motumedia@tauware.de>
                Architecture: i386
                Version: 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8
                snip
                
                :~$ apt-cache show vlc
                Package: vlc
                Priority: optional
                Section: universe/graphics
                Installed-Size: 18808
                Maintainer: Sam Hocevar (Debian packages) <sam+deb@zoy.org>
                Architecture: i386
                Version: 0.8.4.debian-1ubuntu6
                snip
                Note
                I'm using dapper (kubuntu 6.06)


                Package libdvdcss2 is not available, but is referred to by another package.
                This may mean that the package is missing, has been obsoleted, or
                is only available from another source
                Would you know how to remedy this?
                From:
                RestrictedFormats/PlayingDVDs
                https://help.ubuntu.com/community/Re...ts/PlayingDVDs
                Playing DVDs

                The movie players provided in Ubuntu can play back unencrypted DVDs. However, many commercial DVDs are encrypted with a weak algorithm called CSS (the [WikiPedia]Content Scrambling System), which attempts to restrict the software that can play a DVD. See [WWW] Wikipedia article on Region Codes.

                You can enable playback of encrypted DVDs with MPlayer, xine and Totem-xine by installing libdvdcss2.

                more:
                Topic: Kaffeine and DVDs
                http://kubuntuforums.net/forums/index.php?topic=12465
                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


                  #9
                  Re: No sound on kaffeine

                  Thanks for all your help.

                  Comment


                    #10
                    Re: No sound on kaffeine

                    I don't think those errors are related to your sound problem. I get them as well, butI have sound in Kaffeine. There are other players you can use - Mplayer or Totem are a couple. Mplayer has been by standard player for years, but I have recently tried out Kaffeine and Totem. They all have their advantages and disadvantages.

                    Try going to a console window and doing a 'tail -f /var/log/messages', then play a video. It might throw some kind of error re: sound.

                    Comment

                    Working...
                    X