I'm trying to decode this OpusOgg file using ./opus_demo -d 48000 1 b58ccbc2f7.ogg new.wav
, but get Invalid payload length: 1332176723
. Also, I tried to use code from this answer but got the same error.
However, opusdec
utility decodes this file normally.
What am I doing wrong when I use opus_demo
? I need to decode such files in C++, but stuck on this example.