Results 1 to 2 of 2

Thread: Phonon error (You dont seem to have the package gstreamer0.10-plugins-good installed)

  1. #1
    Join Date
    Jul 2011
    Posts
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Maemo/MeeGo

    Default Phonon error (You dont seem to have the package gstreamer0.10-plugins-good installed)

    I'm trying to do a Media Player (Maemo and after Linux embedded), i can see the video, but i can't hear the audio and i got this error.

    "Warning: You do not seem to have the package gstreamer0.10-plugins-good c
    Some video features have been disabled."

    My source is:

    Qt Code:
    1. Phonon::VideoPlayer * player = new Phonon::VideoPlayer(Phonon::VideoCategory, this);
    2. player->load(Phonon::MediaSource("/home/gorio/sample_iTunes.mov"));
    3. player->setFixedSize(661,251);
    4. player->setGeometry(QRect(70, 60, 661, 251));
    5. player->setStyleSheet(QString::fromUtf8("background-color: rgb(0, 0, 0);"));
    6. Phonon::MediaObject *mediaObject = new Phonon::MediaObject(this);
    7. Phonon::AudioOutput *audioOutput = new Phonon::AudioOutput(Phonon::VideoCategory, this);
    8. Phonon::createPath(mediaObject, audioOutput);
    9. player->play();
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Phonon error (You dont seem to have the package gstreamer0.10-plugins-good instal

    As the warning states, you need to install gstreamer plugin stated, which I guess is needed to encode the audio in your media file.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Replies: 11
    Last Post: 30th March 2015, 07:03
  2. Replies: 32
    Last Post: 26th August 2012, 00:10
  3. Replies: 1
    Last Post: 10th March 2011, 16:37
  4. Replies: 1
    Last Post: 28th November 2010, 18:16
  5. Qt Plugins Error
    By nathanpackard in forum Qt Programming
    Replies: 1
    Last Post: 18th August 2007, 00:19

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.