Created
April 30, 2015 17:44
-
-
Save pdxjohnny/abd96b7b66c3f981c2fe to your computer and use it in GitHub Desktop.
Add srt subtitles to mp4
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
#!/bin/bash | |
ffmpeg -i ${1}.srt ${1}.ass | |
ffmpeg -i ${1}.mp4 -vf ass=${1}.ass ${1}_subtitles.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment