Add .srt subtitles to .avi using bash.

Package needed: Mencoder

It is actually easier then I thought, I have been spending almost a whole day to figure out how to add subtitles to an .avi file using bash. (Terminal) So I hope I can help you out with this one!

user@server:$ mencoder -sub sub_name.srt -subcp iso-8857-9 -ovc xvid -xvidencopts bitrate=687 -oac copy -o Movie-IN.avi Movie-OUT.avi

If it’s not working for you or you know other cool ways to do it, please leave a comment!

| More