ws-m4a: CELT-only Opus encoder in audio/opus (RangeEncoder + CeltEncoder ported from the libopus 1.6 encoder paths to mirror the absorbed decoder: 20 ms full-band CBR, mono and mid/side stereo, silence frames; Encode: Ogg Opus with OpusHead/OpusTags, end trimming, 48 kHz resampling); checked by opusdec / opusinfo / ffmpeg; Opus.caps.encode = true (opus test updated), deps += codecs/Mdct
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
c3cf73e29f
commit
c43c56eadd
13 files changed
+1761
-8
No files matched your search
@@ -184,3 +184,13 @@ do
|
||||
end
|
||||
end)
|
||||
end
|
||||
do
|
||||
local Opus = require("@formats/audio/opus")
|
||||
local Cases = require("@tests/audio/_opus_cases")
|
||||
local c = Cases.list[2]
|
||||
local a = Cases.signal(c)
|
||||
local dt = bench("opus celt encode 128k (1.5 s st)", 2, a.frames * a.channels * 2, function()
|
||||
Opus.encode(a, { bitrate = 128000 })
|
||||
end)
|
||||
local _ = dt
|
||||
end
|
||||
Reference in new issue
Block a user