Start with the final cut. A marker at 12 seconds in your editing project may land on a different word after you trim the introduction. Play the exported video and write down the start of each section. Keep a copy of the original export.
Check what the editor actually exported
Run this on the delivered MP4:
ffprobe -v error -show_chapters -of json input.mp4
A chapters array with titles and times gives you something to check against the picture. An empty array means ffprobe found no embedded chapter entries. The markers may still be present in the editing project. This check works independently of which version of your editor created the file.
Add chapters to a downloadable MP4
For our 40-second test clip we used three sections. Save this example as chapters.txt. The timebase makes START and END millisecond counts. Replace all three intervals and titles with those of your final cut.
;FFMETADATA1 [CHAPTER] TIMEBASE=1/1000 START=0 END=12000 title=Choose a microphone [CHAPTER] TIMEBASE=1/1000 START=12000 END=27000 title=Compare two recordings [CHAPTER] TIMEBASE=1/1000 START=27000 END=40000 title=Listen to the final mix
Put the original video and the text file in the same directory. Run:
ffmpeg -n -i input.mp4 -f ffmetadata -i chapters.txt -map 0:v:0 -map "0:a?" -map_chapters 1 -c copy chapters.mp4
The command copies the first video stream and the available audio streams. It writes chapters from the text input and leaves the original file in place. Existing subtitle streams, extra video tracks and attachments are outside this example. Inspect your source streams before using it for a master with those assets.
Read the result back
ffprobe -v error -show_chapters -of json chapters.mp4
In the test export, the title and boundaries of all three chapters survived: 0–12 seconds, 12–27 seconds, and 27–40 seconds. Open the result in the intended player as well. File metadata inspection verifies the entries; the player controls determine how a viewer opens them.
Add the matching chapters on YouTube
In YouTube Studio, open the uploaded video, place the following lines in its description and save:
00:00 Choose a microphone 00:12 Compare two recordings 00:27 Listen to the final mix
YouTube's manual chapter instructions require a zero start, at least three increasing timestamps, and at least ten seconds per chapter. Check the space between the last timestamp and the end of the video too. Moving the last entry to 00:32 in this example leaves only eight seconds. Choose a real section boundary earlier in the final cut or revise the section layout.
Check the watch page after saving. If your channel has no access to chapters, consult the linked YouTube Help page for advanced-feature access. The MP4 command above was tested on a local file; the Studio procedure follows YouTube's published instructions.