Releases: radek-k/FFMediaToolkit
Releases · radek-k/FFMediaToolkit
v4.0.1
v4.0.0
v3.4.0
v3.3.0
v3.2.0
Release notes
- Fixed the stream seek method (#50)
- Added
ReadFrameToPointer
methods to allow writing decoded frame directly to the memory using aIntPtr
instead ofSpan<byte>
(#51) - Added new
TryReadFrame
methods to avoid throwingEndOfStreamException
(#43) - Updated FFmpeg loading error messages.
- Replaced
FrameCount
withNumberOfFrames
property that returnsnull
if frame count is not available instead of inaccurate estimation.
v3.1.1
v3.1.0
v3.0.0
Release notes (v3.0 release):
Bug fixes:
-
Decoding:
- Fixed a crash with
AccessViolationException
in the video frame decoding method (#31) - Fixed a crash when disposing MediaOutput.
- Fixed a crash with
-
Encoding:
- Fixed the invalid DTS error when disposing H.264/H.265 encoder.
New features:
-
Decoding:
- Added the
IsVariableFrameRate
andIsFrameCountProvidedByContainer
properties to theStreamInfo
class.
- Added the
-
Encoding:
- Added CRF and preset options in the
VideoEncoderSettings
class. (for H.264/H.265 codec) - Added an option to set metadata in container using the new
ContainerMetadata
class. (.UseMetadata(...)
method inMediaBuilder
) - Added an option to apply custom flags when creating a container (
.UseFormatOption(key,value)
method inMediaBuilder
) - Added an option to specify a container format independently from target file name (using
MediaBuilder.CreateContainer(path,format)
overload) - Added option to set PTS for a new frame. (#23)
- Added UYVY422 format support (#26)
- Added CRF and preset options in the
Other improvements
- Redesigned FFmpeg loader and improve exception messages.
- Created a new class for multimedia metadata.
- Merged VideoPixelFormat and ImagePixelFormat format
- Improved frame decoding performance.
- Improved FrameCount accuracy.
- Created a new
VideoCodec
enum which only contains supported codecs (instead ofFFmpeg.AutoGen.AVCodecID
) - Video encoder throws an exception when attempt to use the x264 encoder with LGPL FFmpeg binaries.
Migration guide
- Use
FFmpegLoader
instead ofMediaToolkit
. - Use
MediaBuilder.CreateContainer(...)
instead ofnew MediaBuilder(...)
. - Use
ImagePixelFormat
instead ofVideoPixelFormat
. - Use the
VideoCodec
enum instead ofFFmpeg.AutoGen.AVCodecID
.
FFMediaToolkit-v2.2.1
- Fixed a possible crash in the
MediaToolkit.LogVerbosity
property (when setting the log level before specifying the FFmpeg directory).
FFMediaToolkit-v2.2.0
- Added a FFmpeg log verbosity level setting (#19 )