mlt
mlt copied to clipboard
SDL Audio desync
I found that on Ubuntu 16.04 melt have huge audio/video desync ( video about 100-200ms ahead of audio) on all H264/AAC videos. I have tested SDL1/SDL2 and both have an issue. Also I have tested ffplay with SDL2 and it play the same videos in sync.
Is the problem specific to videos with AAC? AAC codecs have an inherent delay that can be a source of problems. It can help to narrow down the problem by testing with uncompressed audio.
Ok I will test. But why ffplay works fine? It use the same library and the same SDL2 output.
I have tested and no change AAC or uncompressed audio. But I found that it happened only when I play 25fps video on 30/29.97/60/59.94 fps profile.
I have measured delay and it is exactly 200ms