add-subs
v1.1.0
Published
Add subtitles to an MP4 from a SRT file
Downloads
8
Readme
Add Subs
You have a ~/Movies/file.mp4
(or .mkv
), and a ~/Movies/file.srt
. You want to merge them into one. Easy, just run:
npx add-subs "~/Movies/file.mp4"
npx add-subs "~/Movies/another.mkv"
You need to have
ffmpeg
installed in your terminal
add-subs will then merge both into a single file.mp4
and remove file.srt
.
By default they will be filled under "English", but just pass a flag to add them in a different language:
npx add-subs "~/Movies/file.mp4" --lang Spanish
Warning: interrupting this process might cause
file.mp4
to become corrupt or even be removed!