Currently there is no A-V synchronization mechanism in the demo software, you have to implement it.
Video plays @ display rate (30 fps for NTSC) and audio/sound plays at sampling rate, no communication/control between two threads. On Sat, 2006-11-11 at 16:01 +0800, Harrison wrote: > I know that MAIN thread produces two sub threads to display videos and > play sound respectively and keep them running at the same time, > > it is very unconvincingly, I belive. > > Because for some special reasons such as schedule and thread block, > the thread for playing sound delay for one second, that will be in > truble.... > > > while , in mpeg2,4 or H.264, there are some flags , PTS and DTS, why > not use them to synchornize and how can I do this ? > > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
