egui-video, a video playing library for egui
https://github.com/n00kii/egui-video/assets/57325298/c618ff0a-9ad2-4cf0-b14a-dda65dc54b23
plays videos in egui from file path or from bytes
dependancies:
- requires ffmpeg 6. follow the build instructions here
- requires sdl2. by default, a feature is enabled to automatically compile it for you, but you are free to disable it and follow these instructions
usage:
/* called once (top level initialization) */
/* called once (creating a player) */
let mut player = new?;
/* called every frame (showing the player) */
player.ui;
contributions
are welcome :)
current caveats
- need to compile in
release
oropt-level=3
otherwise limited playback performance