PDA

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



gorio
21st July 2011, 15:13
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:


Phonon::VideoPlayer * player = new Phonon::VideoPlayer(Phonon::VideoCategory, this);
player->load(Phonon::MediaSource("/home/gorio/sample_iTunes.mov"));
player->setFixedSize(661,251);
player->setGeometry(QRect(70, 60, 661, 251));
player->setStyleSheet(QString::fromUtf8("background-color: rgb(0, 0, 0);"));
Phonon::MediaObject *mediaObject = new Phonon::MediaObject(this);
Phonon::AudioOutput *audioOutput = new Phonon::AudioOutput(Phonon::VideoCategory, this);
Phonon::createPath(mediaObject, audioOutput);
player->play();

high_flyer
22nd July 2011, 14:34
As the warning states, you need to install gstreamer plugin stated, which I guess is needed to encode the audio in your media file.