ffmpeginteropx / FFmpegInteropX

FFmpeg decoding library for Windows 10 UWP and WinUI 3 Apps
Apache License 2.0
211 stars 53 forks source link

COMException with .NET 8 #408

Closed Dev-Taehui closed 2 months ago

Dev-Taehui commented 9 months ago
await FFmpegMediaSource.CreateFromUriAsync(new(videoFilePath));

With .NET 8, A COMException is raised with "The data area passed to a system call is too small" message. It wasn't rasied with .NET 7 and played well with Win2D.

My environment is OS: Microsoft Windows 11 23H2 (22631.3085) x64 WPF project with .NET 8 with XAML Islands Windows App SDK v1.4.4 VCRTForwarders DLL 1.0.7 and 1.1.0 FFmpegInteropX 1.1.0-pre50 and FFmpegInteropX.Desktop 2.0.0-pre2

brabebhin commented 9 months ago

Hi. We currently don't support dotnet 8.

There were some breaking changes in dotnet8 that we haven't had the time to sort out. But it is on our radar.

Dev-Taehui commented 9 months ago

@balazs-adam OK, thanks! I hope that it will support dotnet 8.

lukasf commented 2 months ago

@Dev-Taehui The 2.0.0-pre3 nuget package should work fine with .net 8