Login  Register

Re: playing audio from an AVI file...

Posted by TheLittleP on Mar 14, 2014; 9:29pm
URL: https://forum.jogamp.org/playing-audio-from-an-AVI-file-tp4031894p4031904.html

I have found your post really interesting thanks.

I have been going through all the links in trying to understand what I need to do. but failing miserably lol.

The audio track header says the chunk data is LINEAR  pcm unsigned with a bit rate of 11024. The data chunk size is 11024 so does that mean it is uncompressed? ie I do not need a codec such as ulaw, alaw, mpa etc.

The Source will play a raw chunk from a wav file ok and I understand this is uncompressed linear.

I really don't understand. JMStudio plays the audio ok and it uses the JavaSoundRenderer. The JavaSoundRenderer only uses a codec if the raw is in alaw or ulaw, if it is linear it just passes the raw chunk.

please help thanks