Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add video player widget /example/ #5566

Open
FelixZY opened this issue Jan 2, 2025 · 0 comments
Open

Add video player widget /example/ #5566

FelixZY opened this issue Jan 2, 2025 · 0 comments

Comments

@FelixZY
Copy link

FelixZY commented Jan 2, 2025

Is your feature request related to a problem? Please describe.

I want to play video.

Describe the solution you'd like

I would like an example of how to create a video player to be added to the examples directory.

Describe alternatives you've considered

  • A built-in video player widget
    • Probably a good idea and could serve as an example as well. Might not provide enough customization options for advanced use cases though.
  • https://github.com/n00kii/egui-video
    • Not really happy with

      need to compile in release or opt-level=3 otherwise limited playback performance

    • I Would prefer a first-party widget or example

Additional context

I'm looking into creating such an example widget, using gstreamer as the backend. I'm not yet sure I will succeed.

For anyone else starting out, a custom AppSink seems like a good way to go. There is also an example using opengl which might be useful with egui_glow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant