Log in

View Full Version : SRT demuxing from mkv on Ubuntu


rockydon
20th September 2017, 11:12
How do I demux SRT file from my Ubuntu vps,I just need SRT file of mkv,and explain in details with command Lines and path,I hope some one will guide me,thanks

sneaker_ger
20th September 2017, 11:58
You need a software to extract. Like ffmpeg or mkvtoolnix. They may or may not already be installed. Open the terminal and navigate to the folder with your mkv file. Then either
ffmpeg -i "inputfile.mkv" -c copy "output.srt"
or
mkvextract tracks "inputfile.mkv" "2:output.srt"
(extracts the second track if track counting starts at 0. You can see the IDs using: mkvmerge -i "inputfile.mkv")