Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any cross-platform video playback library for c++?

I mainly code using the Qt library, which is cross-platform enough for my need. However, I found out that if I'd like to play a video file there are no good options for cross-platform video playback. The Phonon module doesn't seem to work on my machine and I am not sure if it is supported on the major platforms (Windows, OSX, Linux).

Are their any light-weight alternatives for simple video playback? I would be okay to change my video to any format as long as its playable cross-platform.

like image 931
ennetws Avatar asked Nov 19 '25 04:11

ennetws


1 Answers

I found the Theora playback library to be very useful and only depends on the original theora library. Here is a simple Qt project I made that encapsulate everything needed to play (only video) theora media. You just type 'qmake' and you are good to go.

like image 104
ennetws Avatar answered Nov 20 '25 17:11

ennetws



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!