Page 1 of 1

CLI cant copy both audio tracks

Posted: Mon Jul 26, 2021 12:14 pm
by keith2045
Description of problem or question:

I'm using the CLI to reencode a MKV file i have. It wont seem to copy all of the audio tracks. I've tried several variations of this command line but only 1 audio track gets copied


Steps to reproduce the problem (If Applicable):

Here is the command i'm uisng

Code: Select all

HandBrakeCLI --input "/mnt/cifs/TVShows/The Office (US)/Season 6/The Office (US) - 6x21 - Happy Hour.mkv" --output "/mnt/cifs/TVShows/The Office (US)/Season 6/The Office (US) - 6x21 - Happy Hour-handbrake.mkv" --format av_mkv --encoder x264 --vb 27009.261 --two-pass --turbo --cfr --rate 23.976 --audio "1,2" --aname "Surround 5.1",Commentary --aencoder "copy:dts,copy:ac3" --markers

HandBrake version (e.g., 1.0.0):

HandBrake 20210720182537-a01549c9c-master


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Ubuntu 20.04

HandBrake Activity Log ***required*** (see How-to get an activity log)
https://pastebin.com/HyTd65kQ

Re: CLI cant copy both audio tracks

Posted: Mon Jul 26, 2021 1:00 pm
by rollin_eng
[06:58:56] Passthru requested and input codec is not the same as output codec for track 1, dropping track

Do you need to add the codec to your pass through.

Re: CLI cant copy both audio tracks

Posted: Mon Jul 26, 2021 2:46 pm
by keith2045
Ah, thanks!