Menu

DTViewer and DirectShow Programming

2008-09-25
2012-10-29
  • Thiago Rodrigues

    I am trying to develop a player application for my BDA Tuner, and I could use much of the DTViewer code. But I am not used to C# language, I prefer C++ Builder. Could anyone send me the compiled version of DTViewer ?
    Second question: in the DTViewer, the code searches for an appropriate demux, decoder and source filter. How could I change the code to use my filters, selected by CLSID for example?

    Thanks,

    Thiago

     
    • Thiago Rodrigues

      Yes, I have checked the MSN docs, but they are kind of confused. I couldn´t get anything to help me. Basically, it would be adding the filters to the graph and IntelliConnect should do the job, I agree with you. I just don´t figure how to tune the dongle correctly (tunerequest, dvb-t locator, etc) and how to add the filters correctly. Do you happen to have a piece of code with this simple steps ? More like a tutorial :-).

      Best regards,

      Thiago

       
    • Eric

      Eric - 2008-09-26

      I was not aware that C++ Builder can produce managed code (and i continue doubting about that). C++ Builder certainly produce unmanaged code so you can directly address the DirectShow API instead of using our lib.

      For the second question, it's a basic DirectShow operation. Since you are a C++ guy, the MSDN documentation about DirectShow should be a good start.

      If i recall correctly, the DTViewer mainly build the graph manually. The IntelliConnect is only use to build the graph parts between the demux and the renderers. If you want to add your own selected codecs, you just have to create an instance of them, add them into the graph and IntelliConnect should choose them.

       

Log in to post a comment.

MongoDB Logo MongoDB