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.
Install-Package SharpAvi -Version 2.1.1
dotnet add package SharpAvi --version 2.1.1
<PackageReference Include="SharpAvi" Version="2.1.1" />
paket add SharpAvi --version 2.1.1
SingleThreadedVideoEncoderWrapper propagates errors from wrapped encoder onto a calling thread.
This package has no dependencies.