Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.78 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.78 KB

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

If you want to render some video sequence, but do not want to touch native APIs like DirectShow or to depend on command-line utilities like FFmpeg then SharpAvi may be what you need. Writing uncompressed AVI does not require any external dependencies, it's a pure .NET code. Files are produced in compliance with the OpenDML extensions which allow (nearly) unlimited file size (no 2GB limit).

A video is created by supplying individual in-memory bitmaps and audio samples. There are a few built-in encoders for video and audio. Output format is always AVI, regardless of a specific codec used.

📖 To get started, jump to the project's docs.

The project is published to NuGet as a few packages:

  • SharpAvi
    NuGet Badge

    Contains core functions and some encoders which do not depend on external packages.
    • A Motion JPEG video encoder based on WPF.
    • An MPEG-4 video encoder based on the Video for Windows (VFW) API.
    • LAME-based MP3 audio encoder.
  • SharpAvi.ImageSharp
    NuGet Badge

    Contains a Motion JPEG video encoder based on SixLabors.ImageSharp.
    It's a cross-platform alternative to the WPF-based encoder.

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