[Vorbis] Fwd: Vorbis encoding using JavaScript

xiphmont at xiph.org xiphmont at xiph.org
Tue Mar 5 22:45:20 PST 2013


> The generated file, however, does not seem to be valid and does not play.
>
> Could somebody verify that my encoding logic is sound? Here is the C source
> on GitHub (based on libvorbis encoder_example.c) :
> https://github.com/mateusz-/vorbisenc.js/blob/master/encoder_example.c
> And, if it helps, here is the corrupted/invalid Ogg file :
> https://raw.github.com/mateusz-/vorbisenc.js/master/audio.ogg

Looking at the file itself, the Ogg encapsulation is there but the
page checksums are all incorrect.  There are checksums present, just
incorrect, so the checksum generation code would be the first to
verify.

Monty


More information about the Vorbis mailing list