On 2018-11-16 7:02 a.m., Vitaly Zdanevich wrote:> AWS Polly produces Oggs with hardcoded serial numbers as zeros.Your earlier ogginfo post said the file was created by ffmpeg. There was a bug like this in ffmpeg, fixed in 2010. I hope they're not using an ffmpeg build that old! Or the low-quality 'vorbis' encoder included with the ffmpeg source instead of 'libvorbis'. It's also possible something about their runtime environment is providing bad random number seeds. Either way, it's an issue which should be reported. Pity they don't support Opus. It's quite a bit more efficient with speech. -r
Vitaly Zdanevich
2018-Nov-16 17:25 UTC
[ogg-dev] How to concatenate Ogg in the browser JS?
I wrote him about zeroes in serial, and about Opus too (a year ago). But maybe they have rationality behind identical headers for speech - because with random serials every speech file for the same text will have different hash. 16.11.2018, 20:02, "Ralph Giles" <giles at thaumas.net>:> On 2018-11-16 7:02 a.m., Vitaly Zdanevich wrote: >> AWS Polly produces Oggs with hardcoded serial numbers as zeros. > > Your earlier ogginfo post said the file was created by ffmpeg. There was > a bug like this in ffmpeg, fixed in 2010. I hope they're not using an > ffmpeg build that old! Or the low-quality 'vorbis' encoder included with > the ffmpeg source instead of 'libvorbis'. > > It's also possible something about their runtime environment is > providing bad random number seeds. Either way, it's an issue which > should be reported. > > Pity they don't support Opus. It's quite a bit more efficient with speech. > > -r
On 2018-11-16 9:25 a.m., Vitaly Zdanevich wrote:> I wrote him about zeroes in serial, and about Opus too (a year ago). But maybe they have rationality behind identical headers for speech - because with random serials every speech file for the same text will have different hash.Hmm, yes. Using a hash of the input request (and speech model version) for the serial number would achieve reproducible output without causing the most of the problems you're seeing. -r