lisamelton / video_transcoding

Tools to transcode, inspect and convert videos.
MIT License
2.39k stars 160 forks source link

Add subtitle language with --add-srt? #231

Closed vasuvasu closed 6 years ago

vasuvasu commented 6 years ago

Is there a way to specify the language of a subtitle being added via --add-srt? I'd like to be able specify that the subtitle I'm adding is english so that it doesn't show up at unknown/undetermined/null/etc in a media player.

lisamelton commented 6 years ago

@vasuvasu Yes, the default is und, i.e. undefined, so after your --add-srt option and argument, add --bind-srt-language eng to your command line.

Does that answer your question? If so, I'll close this.

vasuvasu commented 6 years ago

@donmelton yes, thank you!

lisamelton commented 6 years ago

@vasuvasu Good! I'm glad that worked. And you're very welcome.