Kameecoding/conv2mp4-py

Loss of audio channels

tmaguire121 opened this issue · 7 comments

When converting a video file with 6 audio channels, the resulting file is always 2 channels. Is there a reason why you do this? How can I modify the script to use all the channels from the original file?

the script uses handbrake and -a 1,2,3,4,5,6 which should copy the first 6 channels to the output. they might have changed it though. What options do you use?

oh so your issue is that it converts 5.1 to 2.0 I thought it loses audio tracks.

you can use this guide to determine your optimal options: https://handbrake.fr/docs/en/latest/cli/cli-guide.html

I think you can replace

'-E','faac,copy:aac', with '-E','faac,copy:aac,copy:ac3,ac3',

and increase bit rate to like 640.

'-B', '160,160', to '-B', '640,448',

Yeah, I realized they might be positional, try moving ac3 ones to the front.

'-E','copy:ac3,ac3,copy:aac,faac',

Closing due to inactivity