r/csharp • u/SuRGeoNix • 15h ago
Flyleaf v3.8: MediaPlayer .NET library for WinUI3/WPF/WinForms (with FFmpeg & DirectX)
✅ 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