|
For some reason, Windows Media
Encoder 9 (WME9) will not detect TV Tuner/Capture Cards with Windows Driver
Model (WDM) driver as "Video Capture Device" resource! This
includes USB capture devices using WDM drivers.
This problem does not
occur in Windows Media Encoder 7.1. Windows Media 9 Series is a major change
from its predecessor, so no one should be surprised that there are problems or
bugs.
In technical terms or geek speak:
If you have WME9 installed and a TV Tuner/Capture Card or USB TV Tuner
with WDM driver, using this sample code from Windows Media 9 Series in MSDN
site, the Capture Card will not be detected.
Visual Basic Code Examples - Listing All Devices
(Visual Basic)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmencode/htm/visualbasiccodeexamples.asp
Basically, the Capture Card Device should be detected as:
IWMEncPluginInfo.Name = "Video Capture Device"
IWMEncPluginInfo.Item(lIndex).MediaType = 2 ' lIndex = long
Index
but, it is not detected.
Since it is not detected,
IWMEncPluginInfo.Item(lIndex) which returns the
scheme type "DEVICE://" resource name specific to the Capture Device, the name cannot be
determined. Even if the name is determined in some other way, WME9 WMEncoder
object
will not "Start" encoding if the name is used in "DEVICE://" when the code
is setup for encoding, see Encoding a File (Visual Basic) sample
code. In the sample code, replace the SrcVid.SetInput parameter to "DEVICE://..." instead of
the source filename, something similar to this: "SrcVid.SetInput
"DEVICE://Default_Video_Device" , or you can replace the "Default_Video_Device"
to the name specific to your Capture Device. As an example, Hauppauge WinTV-PCI uses
"Hauppauge WinTV Capture", so you would use:
"DEVICE://Hauppauge
WinTV Capture"
For now, we suggest sticking with Windows Media Encoder
7.1. This also means sticking with Windows Media Player 7.1 or if you have
Windows XP, stick with the version 8 that came with it.
Here's a way to record or encode using Windows Media Format 9
codec with Windows Media Encoder 7.1. Click
here...
feedback@maksil.com
|