Open JulienDev opened 3 days ago
when does it crash? what decoders do you set? a log will be helpful
Unfortunately, I have no idea when it's happening as I didn't add enough tracking information. I will add more in the future! I'm not setting any decoder so it's probably using the default ones. Also, I'm using the Backend Player API.
if you are using backend api, then software decoder is used, less efficient. you have to set via player videoDecoders, see video_player_mdk.dart
Ah ok good to know, I'll make the changes. Actually, the only reason why I'm using the backend API is because in the past it was not possible to control tracks. I'll check if thanks to your latest additions I can move to VideoPlayerPlatform implementation.
now you can use videoplayercintroller with extensions, see controller.dart
Describe the bug I noticed a few crashes on MacOS related to AVPixelFormat. All MacOS versions are impacted and I'm using fvp 0.28.0 and mdk 0.3.0 with Flutter 3.24.3
Expected behavior The app should not crash
Log I can't reproduce on my Mac so I can share with you the Crashlytics stacktrace: