Announcement

Collapse
No announcement yet.

Phonon-gstreamer missing plugins.

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

    #16
    Got it fixed. Running Dolphin from a terminal I saw that every time I tried to play a video it would call on va-api. Used to have the va-api libs. installed back when I was using fglrx, but since I moved to radeonsi I switched to vdpau. I'm sure there was an easy way to change the video output for the phonon-gstreamer backend, but I decided to just get rid of all the old va-api libs. Unfortunately I could not get them uninstalled without breaking gstreamer and several other programs, so I had remove almost everything and re-install. A bit of a pain but it works now.
    Processor: AMD FX-8320 Eight-Core @ 4.00GHz (8 Cores,) Motherboard: ASUS M5A97 R2.0, Memory: 32768MB
    Disk: 2000GB ST2000DM001-9YN1 + 1000GB ST31000340AS, Network: Realtek RTL8111/8168/8411
    Graphics: ASUS AMD Radeon HD 7850, Audio: C-Media CMI8788, Monitor: S220HQL

    Comment


      #17
      About previews & thumbnails

      The KDE file manager Dolphin is showing in the Information panel:

      - Thumbnail IF a thumbnailer is available.
      - Play option to play the audio/video file.
      - Information of the file, included the Nepomuk data.



      The Information panel is not using the thumbnail cache /1/. The thumbnail is made every time again.

      The Information panel is using the Dolphin settings to pick the thumbnailer.




      The play option is using embedded phono widget (../dolphin/src/panels/information/phononwidget.cpp). It is not
      using mplayer/VLC or other external application.

      Code:
      ...
      void PhononWidget::play()
      {
          if (!m_media) {
              m_media = new Phonon::MediaObject(this);
              connect(m_media, SIGNAL(stateChanged(Phonon::State,Phonon::State)),
                      this, SLOT(stateChanged(Phonon::State)));
              connect(m_media, SIGNAL(hasVideoChanged(bool)),
                      this, SLOT(slotHasVideoChanged(bool)));
              m_seekSlider->setMediaObject(m_media);
          }
      
          if (!m_audioOutput) {
              m_audioOutput = new Phonon::AudioOutput(Phonon::MusicCate        m_audioOutput = new Phonon::AudioOutput(Phonon::MusicCate        m_audioOutput = new Phonon::AudioOutput(Phonon::MusicCate        m_audioOutput = new Phonon::AudioOutput(Phonon::MusicCategory, this);
              Phonon::createPath(m_media, m_audioOutput);
          }
      
          emit hasVideoChanged(false);
      
          m_media->setCurrentSource(m_url);
          m_media->hasVideo();
          m_media->play();
      }
      ...
      If there are no codecs to play then there should be codec search option.



      The same option is shown when the media file is played with the Dragon player. Both are using the Phonon as backend.


      The Kubuntu Guide /2/ has more information how to set up media players (Restricted Extras).


      More of the thumbnails & previews:

      https://www.kubuntuforums.net/showth...iew-in-Dolphin
      https://www.kubuntuforums.net/showth...Video-Previews
      https://www.kubuntuforums.net/showth...-and-Konqueror


      More Links

      1. http://specifications.freedesktop.or...ec-latest.html
      2. http://ubuntuguide.org/wiki/Kubuntu_Saucy
      Last edited by Rog132; Jan 05, 2014, 06:50 AM.
      A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
      Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

      Comment


        #18
        Yeah, that "requires additional plugins" window used to pop up, but then it would say no plugins were found. I was not missing any plugins though. It was just that the widget was trying to use the vaapi library. I still had it in my system, but the drivers I am using right now (radeonsi) do not support va-api. It works now that I removed the library. Is their a way to easily specify what video output that information widget can use? Or does it just use whatever your backend (gstreamer/vlc) is using at the time?
        Processor: AMD FX-8320 Eight-Core @ 4.00GHz (8 Cores,) Motherboard: ASUS M5A97 R2.0, Memory: 32768MB
        Disk: 2000GB ST2000DM001-9YN1 + 1000GB ST31000340AS, Network: Realtek RTL8111/8168/8411
        Graphics: ASUS AMD Radeon HD 7850, Audio: C-Media CMI8788, Monitor: S220HQL

        Comment

        Working...
        X