Opus issueshttps://gitlab.xiph.org/xiph/opus/-/issues2018-11-26T18:44:40Zhttps://gitlab.xiph.org/xiph/opus/-/issues/1980opus_decode undefined behavior decoding FEC from invalid packet2018-11-26T18:44:40ZMark Harrisopus_decode undefined behavior decoding FEC from invalid packetAttempting to decode FEC from an invalid packet can cause the opus decoder to use uninitialized data from the stack, and potentially dereference out-of-bounds memory addresses or crash depending on the contents of the uninitialized data....Attempting to decode FEC from an invalid packet can cause the opus decoder to use uninitialized data from the stack, and potentially dereference out-of-bounds memory addresses or crash depending on the contents of the uninitialized data.
Decoding the attached opus_demo bitstream under valgrind demonstrates the issue.
```
opus_demo -d 48000 1 -inbandfec opus-fec-uninit.opusdemo out.pcm
```Jean-Marc ValinJean-Marc Valinhttps://gitlab.xiph.org/xiph/opus/-/issues/2369Cannot compile opus on Mac osx 10.13.62024-03-14T18:09:44ZPythagorstudioCannot compile opus on Mac osx 10.13.6Hi,
I am trying to complile opus on High Sierra, but I'm getting following error:
/Users/admin/opus-1.5.1/silk/x86/VQ_WMat_EC_sse4_1.c:88:26: error: passing 'int' to parameter of incompatible type '__m128i'
(vector of 2 'long long...Hi,
I am trying to complile opus on High Sierra, but I'm getting following error:
/Users/admin/opus-1.5.1/silk/x86/VQ_WMat_EC_sse4_1.c:88:26: error: passing 'int' to parameter of incompatible type '__m128i'
(vector of 2 'long long' values)
v_cb_row_31_Q7 = OP_CVTEPI8_EPI32_M32( &cb_row_Q7[ 1 ] );
Any thoughts?
Thankshttps://gitlab.xiph.org/xiph/opus/-/issues/2362Drop usage of fgrep in documentation script2023-04-20T22:20:07ZClaudio SaavedraDrop usage of fgrep in documentation scriptThis is deprecated and in Debian systems it's now printing a warning.
I am attaching a patch here, I can't fork the project, and please excuse me for not going through with that. For this small a patch I hope you don't mind.This is deprecated and in Debian systems it's now printing a warning.
I am attaching a patch here, I can't fork the project, and please excuse me for not going through with that. For this small a patch I hope you don't mind.https://gitlab.xiph.org/xiph/opus/-/issues/2359I'm really not drunk - it's the compression2023-03-03T06:00:07ZToni PomaslI'm really not drunk - it's the compressionI don't honestly know if this should go here, but there were no other choices. I am an independent contractor that runs lives video on Facebook in my groups. My Webcam is a logitech C270. If I use it on my system everything is fine but i...I don't honestly know if this should go here, but there were no other choices. I am an independent contractor that runs lives video on Facebook in my groups. My Webcam is a logitech C270. If I use it on my system everything is fine but if I use it to run a live video on Facebook my voice is so slurred I sound drunk! I am not a techie and I truly don't understand sound, but I would really appreciate some advice on how to get things sounding better. Thank you!https://gitlab.xiph.org/xiph/opus/-/issues/2356[Question] Optimize silk_NSQ_del_dec() for AVX22021-05-10T06:00:33ZVictor Ding[Question] Optimize silk_NSQ_del_dec() for AVX2I optimized silk_NSQ_del_dec() for AVX2 and hence would like to create a merge request. However, when I try to fork this project, I get error "you have reached your project limit". So I guess there might be more steps that I should prepa...I optimized silk_NSQ_del_dec() for AVX2 and hence would like to create a merge request. However, when I try to fork this project, I get error "you have reached your project limit". So I guess there might be more steps that I should prepare. Is there an instruction on how to create a merge request?https://gitlab.xiph.org/xiph/opus/-/issues/2354Question - OPUS downmixing2021-03-25T18:46:19Zdtj20icQuestion - OPUS downmixingHi
I’m using the opus command line tools to process microphone array signals (mostly 8 channel). If I set a bit-rate such that the bit-rate per channel is less than 16kbps then opus begins to downmix. I would like to stop this happeni...Hi
I’m using the opus command line tools to process microphone array signals (mostly 8 channel). If I set a bit-rate such that the bit-rate per channel is less than 16kbps then opus begins to downmix. I would like to stop this happening if that's possible but I can’t find any information on why it’s doing this or how to stop it.
Any thoughts/advice? I figured I could process batches of wavfiles with fewer channels but it’s a bit of an awkward solution.
Thankshttps://gitlab.xiph.org/xiph/opus/-/issues/2347cmake - disable ctest for ios and android crosscompiling2022-07-12T14:08:12ZMarcus Asteborgcmake - disable ctest for ios and android crosscompilinghttps://gitlab.xiph.org/xiph/opus/-/issues/2342cmake - fix lrint detection on Linux ARM2022-07-12T14:05:12ZMarcus Asteborgcmake - fix lrint detection on Linux ARMlrint detection needs -m flaglrint detection needs -m flaghttps://gitlab.xiph.org/xiph/opus/-/issues/2339libopus 1.2.1 - Windows - Integer division by zero2020-09-01T20:43:17ZAlexander Matveevlibopus 1.2.1 - Windows - Integer division by zeroHi everyone,
Our crash detection system registered Unhandled exceptions:
silk_Decode + 2485 (edited) \silk\dec_API.c(317)
opus_decode_frame + 971 (edited) \src\opus_decoder.c(381)
opus_decode_native + 763 (edited) \src\opus_decoder.c(6...Hi everyone,
Our crash detection system registered Unhandled exceptions:
silk_Decode + 2485 (edited) \silk\dec_API.c(317)
opus_decode_frame + 971 (edited) \src\opus_decoder.c(381)
opus_decode_native + 763 (edited) \src\opus_decoder.c(693)
opus_decode + 218 (edited) \src\opus_decoder.c(782)
Unhandled exception at (edited): Integer division by zero.
/* Number of output samples */
*nSamplesOut = silk_DIV32( nSamplesOutDec * decControl->API_sampleRate, silk_SMULBB( channel_state[ 0 ].fs_kHz, 1000 ) );
We do not know how we can reproduce this issue. We started seeing this issue a year ago and we still receive these crash reports.
Please investigate the issue or suggest us what we should debug.
Thank you for helping!
Alexhttps://gitlab.xiph.org/xiph/opus/-/issues/2338cmake: wrong project version propagated to pkg-config file2020-11-21T18:29:34ZDonato Sciarracmake: wrong project version propagated to pkg-config fileWhen building the project as:
```
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=RELEASE
```
I get:
>>>
-- Opus library version: 0.8.0
-- Found Git: /usr/bin/git (found version "2.25.1")
-- Opus package version: 1.3.1
-- Opus pr...When building the project as:
```
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=RELEASE
```
I get:
>>>
-- Opus library version: 0.8.0
-- Found Git: /usr/bin/git (found version "2.25.1")
-- Opus package version: 1.3.1
-- Opus project version: 1.3.1
>>>
the "Opus library version" is propagated in the pkg-config file (at the time of writing 0.8.0). I discovered this while building tag 1.3.1 locally. Including opus in my cmake project as `pkg_check_modules(OPUS REQUIRED "opus")` returned:
> -- Found opus, version 0.8.0
I can live with it locally but I think it would good to fix it!https://gitlab.xiph.org/xiph/opus/-/issues/2337cmake - Add some missing options to CMakebuild2022-06-30T05:00:08ZMarcus Asteborgcmake - Add some missing options to CMakebuild--disable-hardening
--enable-fixed-point-debug
--enable-fuzzing
--enable-check-asm
--enable-assertions--disable-hardening
--enable-fixed-point-debug
--enable-fuzzing
--enable-check-asm
--enable-assertionshttps://gitlab.xiph.org/xiph/opus/-/issues/2336cmake - Rename options in CMake to have 1-1 mapping to autotools2020-11-21T06:58:42ZMarcus Asteborgcmake - Rename options in CMake to have 1-1 mapping to autotoolsdisable in autotools should be disable in cmake etc.disable in autotools should be disable in cmake etc.https://gitlab.xiph.org/xiph/opus/-/issues/2335Remove WINCE define from source2020-11-21T06:59:12ZMarcus AsteborgRemove WINCE define from sourceWINCE is no longer relevant platform and defines can be removed from Opus sourceWINCE is no longer relevant platform and defines can be removed from Opus sourcehttps://gitlab.xiph.org/xiph/opus/-/issues/2332cmake - Add OPUS_TARGET_ARCH for crosscompiling from commandline for CMake build2020-11-21T06:59:41ZMarcus Asteborgcmake - Add OPUS_TARGET_ARCH for crosscompiling from commandline for CMake buildCurrently one need to use toolchain file for cross compiling, for easier crosscompiling in CI we can add a option to CMake so all cross compile options can be specified through commandline without the need for toolchain files.Currently one need to use toolchain file for cross compiling, for easier crosscompiling in CI we can add a option to CMake so all cross compile options can be specified through commandline without the need for toolchain files.https://gitlab.xiph.org/xiph/opus/-/issues/2329Any plans to make new release?2023-04-20T23:34:55ZTomasz KłoczkoAny plans to make new release?Looks like it is alread +600 commits since last release +year ago.
I think that it would be good to flush currently committed changes and make new release :)Looks like it is alread +600 commits since last release +year ago.
I think that it would be good to flush currently committed changes and make new release :)https://gitlab.xiph.org/xiph/opus/-/issues/2328cmake - intrinsics is not enabled for x86 for non windows due to missing defines2022-07-12T14:05:59ZMarcus Asteborgcmake - intrinsics is not enabled for x86 for non windows due to missing defineshttps://gitlab.xiph.org/xiph/opus/-/issues/2327CMake - Consistent warning levels between autotools and cmake2020-08-08T17:36:52ZMarcus AsteborgCMake - Consistent warning levels between autotools and cmakeIf things blow up on automake it should blow up on cmakeIf things blow up on automake it should blow up on cmakehttps://gitlab.xiph.org/xiph/opus/-/issues/2324SILK complexity levels 1 and 2 are inconsistent2020-06-01T19:22:07ZFrancis QuiersSILK complexity levels 1 and 2 are inconsistentIn `silk_setup_complexity()`, it seems that the parameters chosen for complexity levels 2 and 3 are mostly swapped (except `nStatesDelayedDecision`)In `silk_setup_complexity()`, it seems that the parameters chosen for complexity levels 2 and 3 are mostly swapped (except `nStatesDelayedDecision`)https://gitlab.xiph.org/xiph/opus/-/issues/2323Equivalent bitrate calculation is broken for <20ms frame sizes2020-05-26T04:56:56ZHector MartinEquivalent bitrate calculation is broken for <20ms frame sizesThis leads to negative bitrates at smaller frame sizes, which does bad things like making all bands available for intensity stereo coding.
So, for example, encoding with these parameters:
`opusenc --hard-cbr --bitrate 192 --framesize 2...This leads to negative bitrates at smaller frame sizes, which does bad things like making all bands available for intensity stereo coding.
So, for example, encoding with these parameters:
`opusenc --hard-cbr --bitrate 192 --framesize 2.5`
Yields output that, when mono downmixed, sounds completely terrible, which definitely shouldn't happen at those bitrates (phase inversion intensity stereo should not be used).
Fix: [0001-celt_encoder-fix-equivalent-bitrate-calculation-for-.patch](/uploads/0cc8ff9d0576f97bfad81e649c8e67ec/0001-celt_encoder-fix-equivalent-bitrate-calculation-for-.patch)https://gitlab.xiph.org/xiph/opus/-/issues/2321.exe opens CMD and closes it.2020-06-13T22:50:59ZJose.exe opens CMD and closes it.How can I even open the .exe when it closes right after?How can I even open the .exe when it closes right after?