lisamelton / video_transcoding

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

Create AAC tracks for multiple languages #335

Closed dashrealfar closed 2 years ago

dashrealfar commented 2 years ago

I know the default settings will create an AAC track from the default language track, but is there a way to create a second AAC track for a secondary language track? In other words Source File Track 1: AC-3 5.1 eng Track 2: AC-3 5.1 spa Transcode Track 1: AC-3 5.1 eng Track 2: AAC stereo eng Track 3: AC-3 5.1 spa Track 4: AAC stereo spa

lisamelton commented 2 years ago

@dashrealfar Yes, it's easy. To add the Spanish language audio tracks that way, use these options:

--add-audio spa --audio-width all=double

This is, BTW, all explained in the --help output.

Does that answer your question?

dashrealfar commented 2 years ago

Yes, thank you, perfectly explained.

And apologies, I must've mis-read that part of the -help

lisamelton commented 2 years ago

@dashrealfar No problem! I'll close this now.