Created
March 25, 2020 08:47
-
-
Save KmolYuan/baad9a6a90ac734790d69bbe5ce3a65d to your computer and use it in GitHub Desktop.
Add subtitle.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM Usage: | |
REM addsrt "video_name" | |
REM (video_name.mp4 + video_name.srt) => video_name_new.mp4 | |
ffmpeg -y -i "%1.mp4" -vf subtitles="%2.srt" -c:s mov_text "%1_new.mp4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment