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.
Currently, a new MediaPacket class is allocated on each packet reading. To avoid unnecessary memory allocations, there should be an option to reuse the MediaPacket classes.
Currently, a new
MediaPacket
class is allocated on each packet reading. To avoid unnecessary memory allocations, there should be an option to reuse theMediaPacket
classes.