DirectShow Audio-Video Synchronization
-
Hi everyone. I have a problem concerning the synchronization of the audio and video stream in my directshow filter graph. I've coded an mpeg-ts demux, which timestamps the media samples, but the data stream has many data errors and so, when there is an error the video pauses for a short while and you can see all these nice mpeg blocks, but the audio continues without interruption. That causes a slight delay between audio and video after some error have occured. What can I do to prevent this? Thanks for advice, Alex Don't try it, just do it! ;-)
-
Hi everyone. I have a problem concerning the synchronization of the audio and video stream in my directshow filter graph. I've coded an mpeg-ts demux, which timestamps the media samples, but the data stream has many data errors and so, when there is an error the video pauses for a short while and you can see all these nice mpeg blocks, but the audio continues without interruption. That causes a slight delay between audio and video after some error have occured. What can I do to prevent this? Thanks for advice, Alex Don't try it, just do it! ;-)
Hi Alexander! I wrote a mpeg-ts demux filter.The source is DVB-s,so there is little error in the data stream.But I encounter a problem:the filter can render more than one audio streams,and render one video and one audio ES,but it can't render more than one video ES.when i connect two video out put pin to the decoder and run the gragh,there is a deadlock happens. I dont know whether you encoutered this problem,I sincerely wait your advice. Thank you very much! Please dont laugh at my poor english ,I am a Chinese student:) stephen young