radek-k / FFMediaToolkit

FFMediaToolkit is a cross-platform video decoder/encoder library for .NET that uses FFmpeg native libraries. It supports video frames extraction, reading stream metadata and creating videos from bitmaps in any format supported by FFmpeg.
MIT License
352 stars 56 forks source link

AccessViolationException when disposing MediaOutput object #120

Open tghanem opened 2 years ago

tghanem commented 2 years ago

I got an AccessViolationException when disposing the MediaOutput object in the latest version (i.e., 4.4.1).

It happens rarely, so it's very hard to repro and capture more information but I have a screenshot.

AccessViolationOnDispose

Originally posted by @tghanem in https://github.com/radek-k/FFMediaToolkit/issues/114#issuecomment-1140767010