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