---
type: link
tags: [videoproduction, cli, ffmpeg]
created: 2025-10-27T09:17:57.483Z
---# ffmpeg subtitles: mkvtoolnix add chapters to video

**URL:** [https://www.youtube.com/watch?v=O_38IrG0l7g](https://www.youtube.com/watch?v=O_38IrG0l7g)

ffmpeg subtitles: mkvtoolnix add chapters to video ~command line ffmpeg subtitlesmkvmerge -o output_video_with_chapters.mkv --chapters chapters.txt output_video.mkv mkvmerge -o "\\boxicube\video_output.mp4" --chapters "\\boxicube\chapters.txt" "\\boxicube\HYPERDECK\chapters\video_source.mp4" example chapter .txt | .xml file CHAPTER01=00:00:00.000 CHAPTER01NAME=Chapter 1 CHAPTER02=00:05:00.000 // HH:MM:SS.000 CHAPTER02NAME=Chapter 2


---
**Keywords:** videoproduction, cli, ffmpeg
