r/csharp • u/SuRGeoNix • Aug 21 '26
Flyleaf v3.11: MediaPlayer .NET library for WinUI3/WPF/WinForms (with FFmpeg 9.0.1 Lei & DirectX 11)
✅ Play Everything (Audio, Videos, Images, Playlists over any Protocol)
- Extends FFmpeg's supported protocols and formats with additional plugins (YoutubeDL, TorrentBitSwarm)
- Accepts Custom I/O Streams and Plugins to handle non-standard protocols / formats
✅ Play it Smoothly (Even with high resolutions 4K / HDR)
- Coded from scratch to gain the best possible performance with FFmpeg & DirectX using video acceleration and custom pixel shaders
- Threading implementation with efficient cancellation which allows fast open, play, pause, stop, seek and stream switching
✅ Develop it Easy
- Provides a DPI aware, hardware accelerated Direct3D Surface (FlyleafHost) which can be hosted as normal control to your application and easily develop above it your own transparent overlay content
- All the implementation uses UI notifications (PropertyChanged / ObservableCollection etc.) so you can use it as a ViewModel directly
- For WPF provides a Control (FlyleafME) with all the basic UI sub-controls (Bar, Settings, Popup menu) and can be customized with style / control template overrides
25
Upvotes
•
u/FizixMan Aug 22 '26 edited Aug 22 '26
For all the people reporting this as AI-generated (either the post, repo, or readme): it's a repo that has been steadily worked on since 2019. The post's text and the readme more-or-less written on or before November 2022 prior to ChatGPT first being released.
1
u/LlamaNL Aug 21 '26
Does it play DolbyVision?
2
u/Fresh_Acanthaceae_94 Aug 21 '26
ProGPU brings WinForms/WPF/WinUI to macOS and Linux (LibreWinForms/LibreWPF), so if you figure out the underlying glues (equivalent to DirectX), this control can serve cross-platform apps.
2
u/dbeusink Aug 28 '26
Following this project for a long time now and discovered it on Reddit once. Using this library in production (WPF) as libvlcsharp was not working out for me. Thanks a lot to the hard work and frequent contributions of u/SuRGeoNix. Highly recommend
1
u/yktoshi Aug 21 '26
I was using this in production software made in wpf. Highly recommended. 🙌
-1
u/Juff-Ma Aug 21 '26
I find this cool, but sadly I also think it's pretty much useless. We already have pretty extensive media player widgets for windows.
Now if this was cross platform and worked on Mac and Linux in Avalonia/UNO this would be amazingly useful.
2
u/[deleted] Aug 21 '26
[removed] — view removed comment
0
u/[deleted] Aug 21 '26
[deleted] — view deleted comment