PDA

View Full Version : Play an FLV file inside an offline Qt App.



bunjee
27th March 2011, 22:33
Greetings Qt Centers,

I have a tricky request. I have an FLV video and I’d like to play this in my Qt application.

What’s the simplest way ?

- Convert it to AVI and then get Phonon to do the job ?
- Use FFMpeg + QImage ?
- An offline QtWebkit trick ?

Thanks for your insights.

B.A.

wysota
27th March 2011, 23:01
If your system has codecs for FLV then Phonon should be able to handle a flash movie out of the box. FFMpeg will surely work but it's tricky because QImage is not sufficient unless you are not interested with hearing audio :) "Offline QtWebkit trick" won't work as you'd need a movie player for flash and if you already have one, there is no need for WebKit.