Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio Debugger :MediaFile.Open causes app to crash with code 1080890248 #138

Open
No1e opened this issue Aug 30, 2024 · 2 comments

Comments

@No1e
Copy link

No1e commented Aug 30, 2024

Hi folks,

I just created simple console app to test FFMediaToolKit. The application simply loads video, gets frame and saves it as JPEG.

I am using the following versions:
FFMediaToolKit: 4.5.1
ffmpeg: ffmpeg-n6.1-latest-win64-gpl-shared-6.1 (https://github.com/BtbN/FFmpeg-Builds/releases) - Autobuild from today.

If I run application out of Visual Studio it works. If I try do debug, it crashes at the following line of code:
MediaFile file = MediaFile.Open(videoPath)

I tried both .Net Framework 4.8 and .NET 8.

In windows event logs, I was able to find the following:
Faulting application name: VideoFrame.exe, version: 1.0.0.0, time stamp: 0x65410000
Faulting module name: KERNELBASE.dll, version: 10.0.22621.3958, time stamp: 0xfbc3a4f6
Exception code: 0x406d1388
Fault offset: 0x000000000005fabc
Faulting process id: 0x0x1860
Faulting application start time: 0x0x1DAFADBC2BB50C4
Faulting application path: E:\PoC\VideoFrame\VideoFrame\bin\x64\Debug\net8.0-windows7.0\VideoFrame.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 2dc83f13-c0b4-4a03-a83a-412799d4e28a
Faulting package full name:
Faulting package-relative application ID:

Any suggestions?

Best regards,
Nole

@erig312
Copy link

erig312 commented Sep 5, 2024

Hello, @No1e

I have encountered same issue.
Using different build from different source helped:

https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-6.1.1-full_build-shared.7z

@No1e
Copy link
Author

No1e commented Sep 7, 2024

Hi @erig312,

thank you so much. It works perfectly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants