Re: playing audio from an AVI file...
Posted by
Xerxes Rånby on
Mar 18, 2014; 4:42pm
URL: https://forum.jogamp.org/playing-audio-from-an-AVI-file-tp4031894p4031957.html
TheLittleP wrote
fantastic!!! I could kiss you lol.
this has been perplexing me for a number of weeks now. I even went on a 2 week holiday to have a break and come back with a clear head. and I was starting to become despondent lol.
I only had the first second play but least it played. I guess only 1 second played due to how poorly my make shift player queues the buffers - I will have that fixed in a jiffy.
thank you so much!!!
I knew it would be something ridiculously obvious lol.
Great to hear its working on your side as well!
While i looked through your code i noticed the simplicity of your a/v synchronization. I like the way you associated unpacked audio buffers with the unpacked video frame making a/v sync a snap by simply dumping the associated audio buffers to the sound-card when displaying the new video frame. Neat!
Cheers
Xerxes