Created
June 4, 2016 21:26
-
-
Save Cougar/0f8b4bc028df9856b7af6fad018bff2e to your computer and use it in GitHub Desktop.
Add new subtitle to MKV file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i source.mkv -f srt -i source.srt -map 0 -c:v copy -c:a copy -scodec copy -map 1 -scodec srt -metadata:s:s:10 language=est new.mkv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To extract subtitle for existing MKV file use (0:4 is subtitle stream):
ffmpeg -i source.mkv -an -vn -map 0:4 -c:s:0 srt subtitle4.srt