- test on Windows11 and Macos but it only works on Windows maybe it is a bug from Avalonia
- use a bad way (create a static var) to make delegate live long enough when the delegate is invoked by C library
modify AvaloniaApplication2.FFI.Raw.Mpv.MpvDllPath correctly before you run this program