Created
January 8, 2012 03:58
-
-
Save xupeng/1577134 to your computer and use it in GitHub Desktop.
Embed subtitle into video
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
mencoder -o with-subtitle.mp4 -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -sub subtitle.srt -utf8 -subfont-text-scale 2 -font "STHeiti" movie.mov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这样生成的视频质量越来越差,https://gist.github.com/1577282 可以解决这个问题