SharpAvi 2.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package SharpAvi --version 2.2.1                
NuGet\Install-Package SharpAvi -Version 2.2.1                
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" Version="2.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SharpAvi --version 2.2.1                
#r "nuget: SharpAvi, 2.2.1"                
#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 as a Cake Addin
#addin nuget:?package=SharpAvi&version=2.2.1

// Install SharpAvi as a Cake Tool
#tool nuget:?package=SharpAvi&version=2.2.1                

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.

Product Compatible and additional computed target framework versions.
.NET Framework net35-client is compatible.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (14)

Showing the top 5 NuGet packages that depend on SharpAvi:

Package Downloads

MiNET - a Minecraft PocketEdition Server


A Motion JPEG video encoder for SharpAvi based on the SixLabors.ImageSharp library.


A simple .NET library for Windows based on the SharpAvi library and designed for recording video from the screen during NUnit test runs.


MiNET - a Minecraft PocketEdition Server


Enables saving a video of test execution

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on SharpAvi:

Repository Stars
Capture Screen, Audio, Cursor, Mouse Clicks and Keystrokes
Free Open Source Enterprise Grade RPA
A (not so) basic Minecraft Pocket Edition server written in C#
Lightweight desktop screen recorder for Windows.
A toolbox for virtual pinball dot matrix displays.
Version Downloads Last updated
3.0.1 84,338 8/22/2022
3.0.0 96,920 1/24/2022
2.2.1 26,461 1/6/2022
2.1.2 219,900 9/3/2019
2.1.1 252,514 4/2/2018
2.1.0 651,947 4/10/2015
2.0.1 6,486 9/12/2014

* Added a MaxSuperIndexEntries setting to allow for longer videos.
* Fixed: a file was not properly closed by an AviWriter instance constructed with a file name.