cool, thanks. worked on synchronization a bit more today. realized i might be able to ensure correct sync in the decoder by monitoring the difference between the audio and video timestamps of decoded frames. then theoretically encoding would self-generate monotonic timestamps. first problem i've run into is that sometimes there are many audio frames before the next video frame, so the audio appears to get way ahead of the video even though the difference will be made up in the next few video frames (wide interleaving i guess). not convinced this won't work yet but i'll have to change my approach. maybe after decoding one second of a/v frames, check the average a/v timestamp difference and adjust. btw the way i'm adjusting right now is to either drop audio frames or generate silent ones. think i talked earlier about how dropping or inserting video frames is usually inappropriate for sda video.
Your Mainbar: