Skip to content

Instantly share code, notes, and snippets.

@PegasisForever
Created December 24, 2019 07:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PegasisForever/dc72e73a4f6d92ce82b54a0998a9582d to your computer and use it in GitHub Desktop.
Save PegasisForever/dc72e73a4f6d92ce82b54a0998a9582d to your computer and use it in GitHub Desktop.
a script that renders srt file to a mp4 file using ffmpeg
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