SharpAvi.Net5 2.2.1-rc

.NET 5.0
This is a prerelease version of SharpAvi.Net5.
There is a newer version of this package available.
See the version list below for details.
dotnet add package SharpAvi.Net5 --version 2.2.1-rc
NuGet\Install-Package SharpAvi.Net5 -Version 2.2.1-rc
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SharpAvi.Net5" Version="2.2.1-rc" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SharpAvi.Net5 --version 2.2.1-rc
#r "nuget: SharpAvi.Net5, 2.2.1-rc"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SharpAvi.Net5 as a Cake Addin
#addin nuget:?package=SharpAvi.Net5&version=2.2.1-rc&prerelease

// Install SharpAvi.Net5 as a Cake Tool
#tool nuget:?package=SharpAvi.Net5&version=2.2.1-rc&prerelease

Note: After the upstream SharpAvi project adds support for .NET 5/6, no further versions of this unofficial port are planned, and users of this port should strongly consider migrating to the upstream (official) version.

SharpAvi.Net5 is a port of SharpAvi (nuget) to .NET 5 and higher (net5-windows). SharpAvi is written by Vasili Maslov. The minor changes done here to port it were done by Eliah Kagan. See README-NET5.md for details about this port.

The original SharpAvi readme follows.


SharpAvi is a simple .NET library for creating video files in AVI format.

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). Output format is always AVI, regardless of a specific codec used. Asynchronous writing/encoding is supported.

To get started, jump to the project's wiki.

Project binaries can also be downloaded as NuGet package.


A bit of history. This project started on CodePlex in 2013. Then the repository was mirrored on GitHub for some time, until the project moved on GitHub completely in the middle of 2017.

Product Versions
.NET net5.0-windows7.0
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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
2.2.1 259 1/10/2022
2.2.1-rc 98 1/8/2022
2.1.2 136 1/8/2022
2.1.2-rc.2 91 1/6/2022
2.1.2-rc 174 4/25/2021

Ported from upstream: "Added a MaxSuperIndexEntries setting to allow for longer videos."