---
type: link
tags: [videoproduction, cli, ffmpeg, youtube]
created: 2025-11-06T02:51:46.19+00:00
updated: 2026-04-06T11:09:39.580114+00:00
---# ▶️ 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, youtube
