Note to self. This is about how to add a SRT subtitle file to a movie file using ffmpeg.
ffmpeg -i infile.mp4 -i infile.srt -c copy -c:s mov_text outfile.mp4
Source: Stackoverflow
Alternatively, install mkvtoolnix and mkvtoolnix-gui, and then use mkvtoolnix-gui to create a .mkv file with the required subtitles.
sudo apt install mkvtoolnix-gui
should install both with the required dependencies. MKV also allows multiple subs since it is basically just a container.
No comments:
Post a Comment