Build an FFmpeg chapter file
Add fractional chapter starts to an MP4
Use the timestamps from your edit and the finished media duration. Each chapter runs until the next start, and the last chapter runs until the duration you enter.
Map the chapter input explicitly. If input.mp4 already has chapters, a command that maps only descriptive metadata can keep the old chapter table. Use -map_chapters 1 with chapters.ffmeta as the second input.