Created
December 1, 2021 01:20
-
-
Save dbazile/c1bca88e57b179664c4fd679586fe9d1 to your computer and use it in GitHub Desktop.
ffmpeg burn mkv subtitles
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 \ | |
-hide_banner \ | |
-i "$infile" \ | |
-filter_complex "[0:v] [0:s] overlay, scale=-1:720" \ | |
-preset fast \ | |
-vcodec libx264 \ | |
-acodec aac \ | |
-sn \ | |
-y \ | |
-map_metadata -1 \ | |
"${@:2}" \ | |
"$outfile" |
Author
dbazile
commented
Dec 6, 2021
- https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo
- https://trac.ffmpeg.org/wiki/Encode/H.264
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment