Skip to content

Instantly share code, notes, and snippets.

@batyrf
Created March 7, 2021 08:01
Show Gist options
  • Save batyrf/c0ab7f6bee8d5e5bf5589334e89242d9 to your computer and use it in GitHub Desktop.
Save batyrf/c0ab7f6bee8d5e5bf5589334e89242d9 to your computer and use it in GitHub Desktop.
Combining subtitle and video into single file
ffmpeg -i input.mp4 -f srt -i subtitle.srt -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s srt output.mkv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment