Is GStreamer available for platforms other than Linux?
Yes, GStreamer is a cross-platform multimedia framework that works on all major
operating systems, including but not limited to Linux, Android, iOS, macOS, Windows,
and *BSD, and there are official SDK binary packages for Android, iOS, macOS and
Windows made available with every GStreamer release.
I used to have some code I used to play videos on a few platforms using FFMPEG and libavcodec and libavformat but I’m not sure what drive it is on. Why doesn’t an easier solution exist these days…
using Avplayer for Mac is pretty straight forward. But I’m guessing its not that compatible with glfw. I’ll do some research on it tomorrow and i’ll update you if I find something.
I did manage to play video on both mac and windows. Using AVKit for mac and MediaPlayer for windows.
But I’m not sure if those were the best options.
bilalmirza – Does your Mac code really work? I’m having trouble with it. Given that it’s running in a cocos2d-x scene, where do you get the value for “containerView”?