This is the second post in the series involving the creation of chapters using FFMPEG.
Here's some example code of how to create FFMPEG chapter metadata using C# .NET Core 5.0:
How to Add Chapters to a Video using FFMPEG - Part One - The Basics
Creating a PowerShell Module in C# .NET Core