c# 4.0 - Is directshow.net video input device filter enumeration broken (in newer environments)? -
c# 4.0 - Is directshow.net video input device filter enumeration broken (in newer environments)? -
every illustration in directshow.net samples folder (marked "2010-february") compiles fine, , play videos files work great. however, every illustration tries enumerate filtercategory.videoinputdevices fails find of filters, dsdevice.getdevicesofcat(filtercategory.videoinputdevice);
returns have no devices. same problem occurs me in every other programme uses directshow.net, touchless , various examples on codeplex.
i've got 4 video input filters installed (1 webcam , 3 screen-capturing filters) , they're found/usable graph editor comes windows sdk , rl filter manager. both programs list 4 filters under "video capture sources" , each moniker starts right guid directshow.net's filtercategory.videoinputdevices points ("860bb310-5d01-11d0-bd3b-00a0c911ce86").
i've tried compiling , using latest directshow.net dll myself, nil changed.
is there reason why wrapper can video rendering filters fine not enumerate video capturing ones? i'm on win7 sp1, 64bit, using visual c# 2010 express. in environment causing this? i'd gladly handle alter myself if knew causing it.
thank time.
i copied code getdevicesofcat project , started debugging it. if handed filtercategory other videoinputdevice, of filters graphedit lists, still missing in of categories. guessed there property of filters made them unobtainable compiled version of getdevicesofcat.
it turns out switching platform target x86 trick, though it's not straightfoward in vs2010 express (for fresh install, you'll have follow sec reply before first): change target cpu settings in visual studio 2010 express
the programme enumerates of filters.
c#-4.0 windows-7 64bit directshow.net
Comments
Post a Comment