[LAU] Adventures in concatenating ogg files

Ken Restivo ken at restivo.org
Wed Nov 19 05:57:01 UTC 2014


On Wed, Nov 19, 2014 at 04:25:49AM +0100, Ralf Mardorf wrote:
> On Tue, 2014-11-18 at 18:02 -0800, Ken Restivo wrote:
> > If my math is correct,  44.1khz, 2 channels, 16 bits, 3:22:53 is
> > 2,147,317,200 bytes.
> 
> (16 bit * 44100 Hz * 2 channels * (3 * 60 * 60 + 22 * 60 + 53) seconds) / 8 bit = 2,147,317,200 bytes

Great, so 2147483647, would be the unsigned 32-bit int rollover, and the choking occurs 166,447 less than that. I guess maybe that difference could be overhead of some kind.

The mysteries then remaining are:

1) what is choking at that point (oggdec or oggenc)
2) why it is choking, and
3) why nobody has solved or even seen this problem before in the last 14 years.

-ken



More information about the Linux-audio-user mailing list