Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Capture webcam?

u cant u must use apis or lib to access the webcam device and drivers
avicap32 (old > buggy), directx, directshow, avi > use google
Everything uses an API... lol.

Anyway, an easy one you can use Aforge, it has a callback ready for you.
(Jan 12, 2015 08:18 AM)He B TeMy Wrote:  Everything uses an API... lol.

Anyway, an easy one you can use Aforge, it has a callback ready for you.

or add the callback ur self and u dont need external lib
(Jan 12, 2015 09:20 AM)Only3 Wrote:  or add the callback ur self and u dont need external lib

The library uses DirectShow, which is the "best" way.

And, talking is faster than doing it when you're talking about DirectShow, and it is shorter than Directshow itself, so, why not.
if u dont care about the size yes for malware no
i shrink the webcam class to 10 lines > apis and callback
you're talking about avicap?

I find it very old and somewhat fragile... but
me too
(Jan 12, 2015 05:01 AM)Only3 Wrote:  avicap32 (old > buggy), directx, directshow, avi > use google

but small and still do the work very well 😁
I was talking about the aforge lib, which i take also like 10~ lines of code to record webcam frames too.

The reason i say DirectShow is because everyone else in other forums discourages the use of avicap32 because of being old and "fragile, not flexible"...
(Jan 12, 2015 03:23 PM)SIM-1456245 Wrote:  If you want to not worry about having DLLs, then use avicap, in any other case use DirectShow, not AForge, because it just makes you carry around more DLLs that don't do much, i.e. you can recreate the used code from AForge in a couple of lines yourself and use just DirectShow.

Couple of lines? You talk like it's black and white... lol, show me a couple of lines in DirectShow lib.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by elmagekDec 17, 2016 09:51 AM 3 376 Dec 17, 2016 09:51 AM
Last Post: He B TeMy
[C#] by DevineMay 4, 2015 11:26 AM 2 168 May 4, 2015 11:26 AM
Last Post: Devine
[.NET] by Proton!Sep 30, 2014 03:46 PM 9 298 Sep 30, 2014 03:46 PM
Last Post: Proton!