<div dir="ltr">Hi, <div><br></div><div>I wrote an object based on gemframbuffer that uses libmpv (<a href="https://mpv.io/">https://mpv.io/</a>) to decode a video file and output it directly to a texture.</div><div>This circumvent the bottleneck of uploading the pixes to the GPU and provides a wide range of codecs to Gem (if MPV can play your video, then gem-mpv can too).</div><div>This have been successfully tested with 4K HAP video on Linux.</div><div>It also supports video with alpha channel.</div><div><br></div><div>The source code is here : <a href="https://github.com/avilleret/gem-mpv">https://github.com/avilleret/gem-mpv</a></div><div>The build system is CMake, there is no binary release.</div><div>Follow the Readme to build it.</div><div>It has been only tested on Linux for now.</div><div><br></div><div>Inside, it's more or less a wrapper around libmpv, that means every properties and commands should be supported but only few have been tested yet.</div><div>Some are documented in the help file, for the others, please refer to libmpv help : <a href="https://mpv.io/manual/stable/">https://mpv.io/manual/stable/</a></div><div><br></div><div>Best regards</div><div> </div><div>Antoine</div></div>