30.07.2021, 03:07
Every time i try to encode the audio to opus mono but it always outputs to stereo no matter what, i tried doing the same thing but with ffmpeg and it works fine. Help..?
(30.07.2021, 04:04)Selur Wrote: [ -> ]No debug output, no details, nothing to say from ne.
ffmpeg -y -threads 8 -loglevel fatal -nostdin -i "C:\Users\djoens\AppData\Local\Temp\iId_3_aid_0_lang_en_2021-07-30@09_46_42_1810_01.aac" -ac 2 -ar 44100 -f sox - | sox --multi-threaded --temp "C:\Users\djoens\AppData\Local\Temp\2021-07-30@09_46_42_181001" --buffer 524288 -S -t sox - -t flac - | opusenc --bitrate 12 --comp 10 --framesize 20 --expect-loss 0 --max-delay 1000 --ignorelength - "C:\Users\djoens\AppData\Local\Temp\iId_3_aid_0_lang_en_2021-07-30@09_46_42_1810_02.opus"
(30.07.2021, 05:00)Selur Wrote: [ -> ]Looking at the debug output and the encoding call:
the downmix is missing in the 'sox'-part of the call.Code:ffmpeg -y -threads 8 -loglevel fatal -nostdin -i "C:\Users\djoens\AppData\Local\Temp\iId_3_aid_0_lang_en_2021-07-30@09_46_42_1810_01.aac" -ac 2 -ar 44100 -f sox - | sox --multi-threaded --temp "C:\Users\djoens\AppData\Local\Temp\2021-07-30@09_46_42_181001" --buffer 524288 -S -t sox - -t flac - | opusenc --bitrate 12 --comp 10 --framesize 20 --expect-loss 0 --max-delay 1000 --ignorelength - "C:\Users\djoens\AppData\Local\Temp\iId_3_aid_0_lang_en_2021-07-30@09_46_42_1810_02.opus"
-> I can reproduce the issue and will look into it after work today.
Cu Selur
Quote:I've seen handbrake do this and why can't HybridThat'S a bug, normally it should allow 6-256kBit/s per Channel, so for mono 6kBit/s should be possible.