[SDL2]-Simple Method To Play Videos In SDL2? |
[SDL2]-Simple Method To Play Videos In SDL2? |
Pallav Nawani
|
There is no ready-made solution for this. SDL2_image can only open jpeg images, and SDL2_Mixer has no provision for an external audio source. You will probably need to integrate ffmpeg the hard way. Or you can play ogg theora vorbis videos instead. Again, you will need to do all the hard work.
Pallav Nawani IronCode Gaming Private Limited Website:Â http://www.ironcode.com Twitter:Â http://twitter.com/Ironcode_Gaming Facebook: http://www.facebook.com/Ironcode.Gaming Mobile: 9997478768 On Tue, Nov 18, 2014 at 5:43 AM, JeZ-l-Lee wrote:
|
|||||||||||||
|
[SDL2]-Simple Method To Play Videos In SDL2? |
Pallav Nawani
|
Edit: You could take a look at ffplay, a SDL based video playing using ffmpeg.
Pallav Nawani IronCode Gaming Private Limited Website:Â http://www.ironcode.com Twitter:Â http://twitter.com/Ironcode_Gaming Facebook: http://www.facebook.com/Ironcode.Gaming Mobile: 9997478768 On Tue, Nov 18, 2014 at 5:43 AM, JeZ-l-Lee wrote:
|
|||||||||||||
|
[SDL2]-Simple Method To Play Videos In SDL2? |
Jonas Kulla
Guest
|
2014-11-18 1:13 GMT+01:00 JeZ-l-Lee:
https://icculus.org/theoraplay/ It's not as "straightforward" as you might want, but it has an SDL example inside the source tree. This is for playing ogg theora video. |
|||||||||||||
|