Reputation:
I want to include subtitle to a avi file with mencorder. Mencoder is starting to encode but subtitle does not appeaer in new file. Here is my mencoder code
/usr/local/bin/mencoder -oac copy -ovc copy -sub "mov.srt" -o "Domino_with_subs.avi" "mov.avi"
Upvotes: 1
Views: 1016
Reputation: 21
It's because you set the video codec to by copied... To be able to add subtitle mencoder needs to re-encode the video.
This will work
/usr/local/bin/mencoder -oac copy -ovc lavc -sub "mov.srt" -o "Domino_with_subs.avi" "mov.avi"
Upvotes: 2