A working Opus encoder

not extensively tested but with Firefox looks okay