As already demonstrated in the previous Graph UI blog, the FFmpeg binding has been properly update, now supporting version 4, 5 and the development trunk 6. Version 4 is currently used in Debian 11 and version 5 in Debian 12. Each implemented version uses the current non-deprecated FFmpeg code-path.
As usual, the decoded YUV frames directly end up in textures where the appropriate shader converts them to RGBA and may integrate it into the user’s scene.
Audio is being transported from the decoder via JOAL to your ears.
Shameless injection: We are looking for JogAmp sponsorship, i.e. funding the work. We are also looking for contractual work – please contact me via the data given on our website. You may want to check my CV here.
Hence we are able to watch our own demo video within our own code 🙂
Tested on GNU/Linux using FFmpeg 4.3, 5.1 and 6.0. At a later stage I will test on Windows and MacOS, but it shall just work as once before.
This brings back all video input and decoding (incl audio) to all platforms including Android.