lisamelton / video_transcoding

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

Multi Language Transcoding #156

Closed HenningJohannsen closed 7 years ago

HenningJohannsen commented 7 years ago

Hi Don First of all thanks thanks for sharing video_transcoding. I am trying to transcode a movie with multiple audio tracks in different languages, English and Norwegian, with the default settings in video_trancoding because it plays well with plex and my apple enviroment. Is there an easy way to use those defaults in a multi language scenario?

I allready tried with transcode-video --add-audio nor,eng "/path/to/Movie.mkv" but the output was not what i expected.

i was hoping for something like:

Is it possible that you could help me with an easy fix or to reproduce the defaults for multiple audio tracks? Thanks Henning

lisamelton commented 7 years ago

@HenningJohannsen You are very welcome and thanks for opening this issue.

I suspect the problem was that only one copy of the English language track was added? If that's the case, then you need to add --audio-width all=double to your command line like this:

transcode-video --add-audio nor,eng --audio-width all=double "/path/to/Movie.mkv"

Let me know if that works for you.

HenningJohannsen commented 7 years ago

Hi again Thanks for helping me out. It turns out that i had 2 English tracks. Is i possible to choose a language track only once or not encode dts/ac3 tracks?

lisamelton commented 7 years ago

@HenningJohannsen Unfortunately, neither of those two strategies are possible with the current set of options available in transcode-video or HandBrakeCLI itself. You will have to select the tracks you want to include by specific track numbers.

lisamelton commented 7 years ago

@HenningJohannsen Since you've solved the original issue, I'm going to close this now. But feel free to continue commenting.