Fwd: Vorbis encoding using JavaScript
[email protected] Wed, 6 Mar 2013 01:45:20 -0500
| Newsgroups | gmane.comp.multimedia.ogg.vorbis.general |
|---|---|
| Message-ID | <CACrD=+8933wtEjeofnnAKjTjgmm9vFfzDx50UJVQxKkhqqEMtw@mail.gmail.com> |
> 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