Install-Package SharpAvi.Net5 -Version 2.1.2-rc
dotnet add package SharpAvi.Net5 --version 2.1.2-rc
<PackageReference Include="SharpAvi.Net5" Version="2.1.2-rc" />
paket add SharpAvi.Net5 --version 2.1.2-rc
#r "nuget: SharpAvi.Net5, 2.1.2-rc"
// Install SharpAvi.Net5 as a Cake Addin #addin nuget:?package=SharpAvi.Net5&version=2.1.2-rc&prerelease // Install SharpAvi.Net5 as a Cake Tool #tool nuget:?package=SharpAvi.Net5&version=2.1.2-rc&prerelease
This is a port of https://github.com/baSSiLL/SharpAvi to .NET 5 (net5-windows). SharpAvi itself is written by Vasili Maslov. The minor changes done here to port it were done by Eliah Kagan. See https://github.com/EliahKagan/SharpAvi/blob/net5/README-NET5.md for details.
To target the .NET Framework 3.5/4.5, use the official SharpAvi package https://www.nuget.org/packages/SharpAvi instead. If you're targeting .NET 5 but don't need Motion JPEG or MP3 audio, consider https://www.nuget.org/packages/SharpAvi.NetStandard, a port to .NET Standard 2.0 by Duc Vu Nguyen.
If you want to render some video sequence, and do not want to touch DirectShow or depend on command-line utilities - SharpAvi may be what you need.
Writing uncompressed AVI does not require any external dependencies, it's pure .NET code. Files are produced in compliance with the OpenDML extensions which allow (nearly) unlimited file size (no 2GB limit).
Video is created by supplying individual in-memory bitmaps (byte arrays) and audio samples. Included are implementations of encoders for Motion JPEG (requires WPF), MPEG-4 (requires external VfW codecs) and MP3 (requires LAME binaries). Asynchronous writing/encoding is supported.
- Microsoft.CodeAnalysis.CSharp (>= 3.9.0)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
Ported to net5-windows (preserving Motion JPEG and MP3 support).