Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. directshow:question about deadlock...

directshow:question about deadlock...

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    stephen_young
    wrote on last edited by
    #1

    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.

    A T A S 4 Replies Last reply
    0
    • S stephen_young

      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.

      A Offline
      A Offline
      Alexander M
      wrote on last edited by
      #2

      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! ;-)

      S 1 Reply Last reply
      0
      • A Alexander M

        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! ;-)

        S Offline
        S Offline
        stephen_young
        wrote on last edited by
        #3

        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 ?

        1 Reply Last reply
        0
        • S stephen_young

          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.

          T Offline
          T Offline
          Toby Opferman
          wrote on last edited by
          #4

          Try this article: How to debug dead locks[^] 8bc7c0ec02c0e404c0cc0680f7018827ebee

          1 Reply Last reply
          0
          • S stephen_young

            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.

            A Offline
            A Offline
            Anonymous
            wrote on last edited by
            #5

            I have no idea yet.:sigh:

            1 Reply Last reply
            0
            • S stephen_young

              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.

              S Offline
              S Offline
              stephen_young
              wrote on last edited by
              #6

              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.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups