user905476
user905476

Reputation:

Mencoder subtitle problem

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

Answers (1)

min0taur
min0taur

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

Related Questions