Convert sequence of images to video with FFmpeg using FFMediaToolkit nuget package
https://github.com/radek-k/FFMediaToolkit
you can also read this article to understand https://blog.dotnetframework.org/2021/07/01/generate-video-from-collection-of-images-in-c-ffmpeg/