[SOLVED] [C#] File rendering with directshow

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

adrienresteau

  • Posts: 4
  • Joined: Tue Feb 19, 2019 1:12 pm
  • Real Name: Adrien Resteau

[SOLVED] [C#] File rendering with directshow

PostTue Feb 19, 2019 1:25 pm

Hi all,

I am currently working on a prject using c# WPF with DirectShowLib to be able to render a mp4 file to a Decklinck quad 2 sdi output.
The code is now working correctly but when I try to get the availables pin I can't get another one than the first one. It's then not possible to display any video on the others.
I already correctly configured the card (I'm able to display on any pin from a file using GraphEditplus).

This is my code to get the different out pins :
Code: Select all
Guid CLSID_ExternalRenderers = new Guid("{CC7BFB41-F175-11D1-A392-00E0291F3959}"); //external renderer
            DsDevice[] devices = DsDevice.GetDevicesOfCat(CLSID_ExternalRenderers);
            List<string> returnValues = new List<string>();
            foreach (DsDevice device in devices)
            {
                    returnValues.Add(device.Name);
            }
            return returnValues;


Don't know what i'm doing wrong with this.

Thanks in advance for your help.

Best regards,
Last edited by adrienresteau on Tue Feb 19, 2019 4:39 pm, edited 1 time in total.
Offline

adrienresteau

  • Posts: 4
  • Joined: Tue Feb 19, 2019 1:12 pm
  • Real Name: Adrien Resteau

Re: [C#] File rendering with directshow

PostTue Feb 19, 2019 4:39 pm

Found a solution. Did install a one channel decklink card before and the OS did not recognise it.
Uninstalled and reinstalled all the drivers and it's now working as expected.
Closing

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 25 guests