This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] Opus output audio cannot be mono?
#1
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..?
Reply
#2
No debug output, no details, nothing to say from ne.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
(30.07.2021, 04:04)Selur Wrote: No debug output, no details, nothing to say from ne.

sent you a pm
Reply
#4
Looking at the debug output and the encoding call:
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"
the downmix is missing in the 'sox'-part of the call.
-> I can reproduce the issue and will look into it after work today.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#5
(30.07.2021, 05:00)Selur Wrote: Looking at the debug output and the encoding call:
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"
the downmix is missing in the 'sox'-part of the call.
-> I can reproduce the issue and will look into it after work today.

Cu Selur


Another question if you don't mind, i cant seem to get opus all the way down to 6kbps. I've seen handbrake do this and why can't Hybrid? Thanks.
Reply
#6
Quote:I've seen handbrake do this and why can't Hybrid
That'S a bug, normally it should allow 6-256kBit/s per Channel, so for mono 6kBit/s should be possible.
-> will look into it

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#7
Okay, found the problem, a typo caused the 'Mono'-downMix to be ignored, thus there was no downMix and and the bit rate limits weren't adjusted.
-> send you a link to a dev version via pm which should fix the issue, so once 'DownMix' is set to 'Mono' (or a mono source is loaded) opus should allow to set a bit rate of 6kBit/s.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)