CodeBrix.VideoProcessing.MitLicenseForever
1.0.184.222
dotnet add package CodeBrix.VideoProcessing.MitLicenseForever --version 1.0.184.222
NuGet\Install-Package CodeBrix.VideoProcessing.MitLicenseForever -Version 1.0.184.222
<PackageReference Include="CodeBrix.VideoProcessing.MitLicenseForever" Version="1.0.184.222" />
<PackageVersion Include="CodeBrix.VideoProcessing.MitLicenseForever" Version="1.0.184.222" />
<PackageReference Include="CodeBrix.VideoProcessing.MitLicenseForever" />
paket add CodeBrix.VideoProcessing.MitLicenseForever --version 1.0.184.222
#r "nuget: CodeBrix.VideoProcessing.MitLicenseForever, 1.0.184.222"
#:package CodeBrix.VideoProcessing.MitLicenseForever@1.0.184.222
#addin nuget:?package=CodeBrix.VideoProcessing.MitLicenseForever&version=1.0.184.222
#tool nuget:?package=CodeBrix.VideoProcessing.MitLicenseForever&version=1.0.184.222
CodeBrix.VideoProcessing
A fully managed, cross-platform FFmpeg/FFprobe wrapper library for .NET that makes media analysis and conversion easy.
CodeBrix.VideoProcessing is a port of the popular FFMpegCore library (with the Instances process wrapper vendored directly in), exposing the same functionality under the CodeBrix.VideoProcessing namespace.
CodeBrix.VideoProcessing's only NuGet dependency is CodeBrix.Imaging (itself a fully managed, cross-platform, dependency-free CodeBrix library), used by the in-memory image bridge; it is provided as a .NET 10 library and associated CodeBrix.VideoProcessing.MitLicenseForever NuGet package.
CodeBrix.VideoProcessing supports applications and assemblies that target Microsoft .NET version 10.0 and later. Microsoft .NET version 10.0 is a Long-Term Supported (LTS) version of .NET, and was released on Nov 11, 2025; and will be actively supported by Microsoft until Nov 14, 2028. Please update your C#/.NET code and projects to the latest LTS version of Microsoft .NET.
Runtime prerequisite: like FFMpegCore, this library shells out to the
ffmpegandffprobeexecutables — they must be installed and discoverable (on thePATH, or configured viaGlobalFFOptions). The library itself is fully managed; it does not bundle the FFmpeg binaries.
CodeBrix.VideoProcessing supports:
- Analysing media files and streams with FFprobe (
FFProbe.Analyse/AnalyseAsync) — duration, streams, codecs, resolution, bitrate, and more - Converting, transcoding and muxing video and audio (
FFMpeg/FFMpegArguments) - A fluent argument builder covering scaling, cropping, seeking, bitrate, codecs, filters, hardware acceleration, concatenation, and dozens of other options
- Extracting single-frame snapshots and animated GIF snapshots
- Piping raw audio/video frames into and out of FFmpeg via
IPipeSource/IPipeSink - Building and serialising FFmpeg metadata (
MetaDataBuilder) - A built-in, elegant process wrapper (the vendored
CodeBrix.VideoProcessing.Instancesnamespace) - An in-memory image bridge under
CodeBrix.VideoProcessing.Imaging(built on CodeBrix.Imaging): grab a snapshot as aCodeBrix.Imagingimage (FFMpegImage.Snapshot), feed images into FFmpeg as frames (ImageVideoFrameWrapper), or mux an image + audio into a video (ImageExtensions.AddAudio)
Sample Code
Analyse a media file
using CodeBrix.VideoProcessing;
var info = FFProbe.Analyse("input.mp4");
Console.WriteLine($"Duration: {info.Duration}");
Console.WriteLine($"Video codec: {info.PrimaryVideoStream?.CodecName}");
Console.WriteLine($"Resolution: {info.PrimaryVideoStream?.Width}x{info.PrimaryVideoStream?.Height}");
Convert a video
using CodeBrix.VideoProcessing;
using CodeBrix.VideoProcessing.Enums;
FFMpegArguments
.FromFileInput("input.webm")
.OutputToFile("output.mp4", overwrite: true, options => options
.WithVideoCodec(VideoCodec.LibX264)
.WithConstantRateFactor(21)
.WithAudioCodec(AudioCodec.Aac))
.ProcessSynchronously();
Save a thumbnail
using System.Drawing;
using CodeBrix.VideoProcessing;
FFMpeg.Snapshot("input.mp4", "thumbnail.png", new Size(1920, 1080), TimeSpan.FromSeconds(10));
License
The project is licensed under the MIT License. see: https://en.wikipedia.org/wiki/MIT_License
CodeBrix.VideoProcessing incorporates source code from the FFMpegCore and Instances projects, both of which are licensed under the MIT License. See THIRD-PARTY-NOTICES.txt for full attribution and license texts.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- CodeBrix.Imaging.ApacheLicenseForever (>= 1.0.164.1087)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.184.222 | 52 | 7/3/2026 |