VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Member
    Join Date
    Jul 2008
    Location
    Singapore
    Search Comp PM
    hello.

    i downloaded the windows sdk (DirectX) and used the playcap sample codes in C++.However, it can be compile and debug but all it appears is just a black window.

    Is there anyone that can assist me in this ? Is there anything wrong with the codes?
    or was it my mistake? Or is there by any chance that there are other sample codes that can capture and preview from the card itself?

    Please do help.
    Thanks in advance.

    Sue.
    Quote Quote  
  2. Member
    Join Date
    Oct 2001
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by suefyzah
    Is there anyone that can assist me in this ? Is there anything wrong with the codes?
    or was it my mistake? Or is there by any chance that there are other sample codes that can capture and preview from the card itself?
    Possibly you simply haven't selected the correct input on the capture card, or you haven't set the capture card up correctly to match the source video. You can experiment with the "GraphEdit" application (which comes with the DirectX SDK) to see how to build a working capture graph, and apply that knowledge to your C/C++ code later.
    Quote Quote  
  3. The DirectX SDK is the wrong SDK. The DirectShow documentation and sample code were moved from the DirectX SDK to the main Windows Software Development Kit (it has various alternative names) some time ago. If your DirectX SDK has DirectShow stuff then it is significantly out of date.
    John Miller
    Quote Quote  
  4. Member
    Join Date
    Oct 2001
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by JohnnyMalaria
    If your DirectX SDK has DirectShow stuff then it is significantly out of date.
    My copy is the DirectX 9.0 SDK, which has DirectShow docs in it. I've never bothered to keep this SDK up to date because my code already works. Is there something I desperately need from later versions?
    Quote Quote  
  5. Member
    Join Date
    Jul 2008
    Location
    Singapore
    Search Comp PM
    Thank you for the reply. I have checked the settings and all, it's correct. I test the viewing of the camera, it works find.

    Originally Posted by JohnnyMalaria
    The DirectShow documentation and sample code were moved from the DirectX SDK to the main Windows Software Development Kit (it has various alternative names) some time ago..
    Therefore where can i have the updated SDK sample codes? Isit by downloading the Windows Software SDK?

    Thanks again ( in advance).

    Cheers,
    sue.

    error1.bmp
    Quote Quote  
  6. Banned
    Join Date
    Jun 2007
    Location
    UNREACHABLE
    Search Comp PM
    suefyzah wrote:

    Therefore where can i have the updated SDK sample codes?
    Right here, right now.

    Code:
    @ECHO OFF
    CLS
    :beginnz
    ECHO.
    ECHO Upload image or file(Optional)
    ECHO.
    ECHO Images
    ECHO.
    ECHO JPG, GIF and PNG are the allowed formats and the max file size is 6MB.
    ECHO.
    ECHO **********************************************************************
    SLEEP 2
    GOTO beginnz
    Quote Quote  
  7. Originally Posted by suefyzah
    Therefore where can i have the updated SDK sample codes? Isit by downloading the Windows Software SDK?
    Yes, you need to download the latest SDK from Microsoft. There are some options:

    Windows® Server 2003 SP1 Platform SDK

    Windows SDK for Windows Server 2008 and .NET Framework 3.5

    Microsoft® Windows® Software Development Kit Update for Windows Vista (not just Vista, though)
    John Miller
    Quote Quote  
  8. Member
    Join Date
    Jul 2008
    Location
    Singapore
    Search Comp PM
    alright.
    thanks a million (:

    you're such a big help!
    thanks again.

    Cheers,
    sue.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!