locked
TV Tuner Video Capture RRS feed

  • Question

  • Hi!

     

    I'm new to Media Development and would like know how I can capture video and audio from a "TV Tuner Capture Card" and show it in a Windows Froms app.

    I'm developing in C# and appreciate some code sample or guide reference...

     

    Thanks for any help,

    signori

    Wednesday, November 28, 2007 9:12 PM

Answers

  • Media Foundation currently does not have built-in support for capturing from a device.  Nor does it have support for managed code.  Also, the in-box codec support for Media Foundation is limited to a handful of formats including WMA, WMV, and MP3.  So, in order to use Media Foundation to capture from a device, you would need to write a Media Source, and very likely a Media Foundation Transform as well.

     

    If you're interested, you can take a look at the Media Foundation SDK documentation:

    http://msdn2.microsoft.com/en-us/library/ms694197.aspx

     

    Otherwise, you may be interested in using DirectShow, which both has support for managed code, and has components that can do device capture already so you wouldn't have to write your own.

     

    The DirectShow development forum is located at:

    http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=129&SiteID=1

     

     

    Wednesday, December 5, 2007 10:56 PM