SharpAvi.Net5 2.1.2-rc.2

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.1.2-rc.2
NuGet\Install-Package SharpAvi.Net5 -Version 2.1.2-rc.2
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.1.2-rc.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SharpAvi.Net5 --version 2.1.2-rc.2
#r "nuget: SharpAvi.Net5, 2.1.2-rc.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.1.2-rc.2&prerelease

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

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 Compatible and additional computed target framework versions.
.NET net5.0-windows7.0 is compatible.  net6.0-windows was computed.  net7.0-windows was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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 7,506 1/10/2022
2.2.1-rc 822 1/8/2022
2.1.2 908 1/8/2022
2.1.2-rc.2 141 1/6/2022
2.1.2-rc 934 4/25/2021

Ported to net5-windows (preserving Motion JPEG and MP3 support).