Re: Adventures in concatenating ogg files -- fixed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux