====== ffmpeg - Video - Chapter - Add Chapters to Video Files ======
ffmpeg -i input.mp4 -c copy -metadata:s:v:0 chapter=1 title="Chapter 1" -metadata:s:v:0 chapter=2 title="Chapter 2" -metadata:s:v:0 chapter=3 title="Chapter 3" output.mp4
**NOTE:** Set the chapter numbers and titles according to the video structure.