How to add subtitles to a mkv file

From wiki.techunit.org
Jump to: navigation, search

Installation

apt-get install mkvtoolnix -y

Command to append subtitles

mkvmerge -v -o output.mkv --default-track 0 --language 0:fr input.srt input.mkv
  • -v : verbose
  • -o : output file
  • --default-track : default used track
  • --language : <target track>:<track name>