Just some stuff about me.
Here's my dotfiles repository.
What links here:
Given:
Create an output file with subtitles, without re-encoding:
ffmpeg -i input.mp4 -i input.srt -map 0 -map 1:s -c:a copy -c:v copy -c:s mov_text output.mp4
For MP4, subtitles must be movtext.