Chocobo1 / opus-tools_win32-build

opus-tools Unofficial Builds - Win32 & x64
55 stars 5 forks source link

Crash #10

Open sergeevabc opened 4 months ago

sergeevabc commented 4 months ago

Windows 7 x64, OpusTools 2024.04.15

Source: any WAV file of any sample rate and any bit depth

$ opusenc in.wav out.opus
opusenc in.wav out.opus
Encoding using libopus 1.5.2 (audio)
-----------------------------------------------------
   Input: WAV, 44.1 kHz, 2 channels, stereo
  Output: Opus, 2 channels (2 coupled), stereo
          20ms packets, 96 kbit/s VBR
 Preskip: 312

[|]  0% 00:00:00.00    0x realtime,     0 kbit/s

2024-0426-0505 opus 20240415 chocobo

However, if I use builds from here, they work fine.

Chocobo1 commented 4 months ago

Are you able to run more tests?

For the record 2024.04.15 (both x86, x64) works for me and I'm on Windows 10.

sergeevabc commented 4 months ago
Version Crash
2024.04.15 x64 +
2024.04.15 x86 +
2024.03.19 x64 -
2023.04.20 x64 -
The one from here -
Chocobo1 commented 4 months ago

Does your CPU have AVX2 instruction set?

Opus has landed some fixes related to AVX2 between 2024.03.19 and 2024.04.15, not sure it is stable enough. The one from here has newer MSVC and NASM versions and I'm not sure if it contributes to fixing the crash.

sergeevabc commented 4 months ago

AVX? No.

Chocobo1 commented 4 months ago

Accidentally bumped into this and might be related:

It doesn't explain why 2024.04.15 x86 will crash for you.

sergeevabc commented 4 months ago

Err… What if we just remove the requirement to have AVX and SSE4+?