FlaxEngine/FlaxEngine

Add Video backend for Linux

Open

#2,646 opened on May 24, 2024

View on GitHub
 (5 comments) (1 reaction) (0 assignees)C# (519 forks)batch import
graphicshelp wantedplatform

Repository metrics

Stars
 (5,208 stars)
PR merge metrics
 (Avg merge 14d 15h) (13 merged PRs in 30d)

Description

Add missing video backend for Linux platform. Find a good lib or 3rd party plugin for .mp4 files loading (eg. minimp4), then decode h.254 video frames into YUV format (engine can automatically convert into RGB image). Use one of the existing backends as base for proper implementation: https://github.com/FlaxEngine/FlaxEngine/tree/1.9/Source/Engine/Video

All other platforms provide system-lib for video media playback so only Linux is missing.

Video docs: https://github.com/FlaxEngine/FlaxDocs/blob/1.9/manual/graphics/video/index.md

Here is a prototype with minimp4 that loads data from a file but requires frames decoding: PrototypeMinimp4.zip

Contributor guide