ffmpeg -i Outlander.S01E03.mkv -vf "subtitles=subtitles.srt" -c:a copy output_with_subs.mkv
(MP4 needs mov_text for soft subs; MKV can keep original.)
FFmpeg is a powerful, open-source media processing tool that can be used for a variety of tasks including video conversion, streaming, and more. Here are some basic examples:
ffmpeg -f youtube -o outlander_s01e03.mp4 https://www.youtube.com/watch?v=[VIDEO_ID]
ffmpeg -f concat -safe 0 -i list.txt -c copy combined.mkv
Or to extract audio from a video: