directshow:question about deadlock...
-
Hi! I am a college student.I wrote a filter demux the DVB-s mpeg-2 TS.Now it can render more than one audio streams But it can only render one video stream.It will be dead lock when rendering more than one video stream at the same time. I dont know the reason. I sincerely wait for the master's help! please dont laugh at my poor english,I am a chinses student.
-
Hi! I am a college student.I wrote a filter demux the DVB-s mpeg-2 TS.Now it can render more than one audio streams But it can only render one video stream.It will be dead lock when rendering more than one video stream at the same time. I dont know the reason. I sincerely wait for the master's help! please dont laugh at my poor english,I am a chinses student.
I have a question concerning your demultiplexer. What kind of error corrections did you use? I've also written a demux, but when there are many bitstream errors, the video and audio playback will get asynchron, although the media samples are all timestamped. Now to your question: You should trace where exactly the deadlock occurs (which filter, which routine...). Don't try it, just do it! ;-)
-
I have a question concerning your demultiplexer. What kind of error corrections did you use? I've also written a demux, but when there are many bitstream errors, the video and audio playback will get asynchron, although the media samples are all timestamped. Now to your question: You should trace where exactly the deadlock occurs (which filter, which routine...). Don't try it, just do it! ;-)
Alexander: I have no error correcttion,because the data source is DVB-S there is few error in the sattelite channle. Do you exactly know the wrong data ? whether you can drop the data,drop the audio and video data at the same time. how do you process with the two video out put pin ?
-
Hi! I am a college student.I wrote a filter demux the DVB-s mpeg-2 TS.Now it can render more than one audio streams But it can only render one video stream.It will be dead lock when rendering more than one video stream at the same time. I dont know the reason. I sincerely wait for the master's help! please dont laugh at my poor english,I am a chinses student.
Try this article: How to debug dead locks[^] 8bc7c0ec02c0e404c0cc0680f7018827ebee
-
Hi! I am a college student.I wrote a filter demux the DVB-s mpeg-2 TS.Now it can render more than one audio streams But it can only render one video stream.It will be dead lock when rendering more than one video stream at the same time. I dont know the reason. I sincerely wait for the master's help! please dont laugh at my poor english,I am a chinses student.
-
Hi! I am a college student.I wrote a filter demux the DVB-s mpeg-2 TS.Now it can render more than one audio streams But it can only render one video stream.It will be dead lock when rendering more than one video stream at the same time. I dont know the reason. I sincerely wait for the master's help! please dont laugh at my poor english,I am a chinses student.
I resovled this problem.The sample number of output pin is not enough! I increased the number from 100 to 4000,and the COutputQueue object's list cache from 10 to 1024*1024.Now everything runs well.