Re: [LAU] Adventures in concatenating ogg files -- fixed

From: Ken Restivo <ken@email-addr-hidden>
Date: Wed Nov 19 2014 - 20:13:12 EET

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
>

Fixed! FWIW, the magickal incantation which worked was:

ogg123 --audio-buffer 0 -q -d raw -o byteorder:little -f - input-files/*ogg | oggenc -r -Q - > output-file.ogg

The culprit was the WAV header. Removing it fixed it.

-ken
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Nov 20 12:15:03 2014

This archive was generated by hypermail 2.1.8 : Thu Nov 20 2014 - 12:15:03 EET