@latest_post
Add subtitles to a video in Linux
.srt subtitles
Ever wondered how to hardcode .srt subtitles into a video?
Or how to modify the font size before fusing them?
These notes will show exactly how.
From ISO-8859-1 to UTF-8
For the process to be successful, we need the .srt file to be UTF-8
encoded.
Spanish subtitles files are commonly encoded as ISO-8859-1.
So, is it ISO-8859-1 or UTF-8?
We can find out with:
file some.srt
If it's UTF-8 encoded, you'll see something like:
some.srt: UTF-8 Unicode text, with CRLF line terminators