Created
December 24, 2019 07:12
-
-
Save PegasisForever/dc72e73a4f6d92ce82b54a0998a9582d to your computer and use it in GitHub Desktop.
a script that renders srt file to a mp4 file using ffmpeg
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
ffmpeg -i input.mp4 -filter:v subtitles=subtitle.srt -c:a copy -c:v libx264 -crf 22 -preset veryfast output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment