How to play Audio and Video using Qt (Phonon) ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to play Audio and Video using Qt (Phonon) ?

721件の閲覧回数
G_rio
Contributor III

Hi Guys,

I'm trying to play a mp3 and mpg using Qt (Phonon module) but i got this Warning and i didn't hear anything..

 

WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded

My source is:

Phonon::AudioOutput *audioOutput = new Phonon::AudioOutput(Phonon::MusicCategory, this);

Phonon::MediaObject *mediaObject = new Phonon::MediaObject(this);
mediaObject->setCurrentSource(Phonon::MediaSource("/home/user/Audio/MP3.MP3"));

mediaObject->play();

 

Thanks

ラベル(1)
0 件の賞賛
0 返答(返信)