---
type: link
tags: [videoproduction, cli, ffmpeg]
created: 2025-11-06T02:51:46.190Z
updated: 2025-11-15T20:19:56.730Z
---# 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
