Play videos in c++ using QT creator

I developing a game in C++ using SDL on windows 7 64 bits with Qt creator IDE. I need to play a video during the game. I already tried using smpeg.lib ( from de SDL itself), QtMobility API and OpenCV. But i failed with all of them. I really need a easy tutorial "how to play a video file of any format", using anything! It can even use the things that I already tried, but i really need a good tutorial. thx

Upvotes: 0

Views: 937

Answers (1)

liaK
liaK

Reputation: 11648

You can use Qt Phonon for playing video files. An official example can be found here

The example is for playing audio files but phonon can play video files too..

HTH in giving you a start.

Upvotes: 1

Related Questions