thegrandpoobah / dsgrab Goto Github PK
View Code? Open in Web Editor NEWCommand Line DirectShow Image capturing device
Home Page: http://www.saliences.com/projects/dsgrab/index.html
License: MIT License
Command Line DirectShow Image capturing device
Home Page: http://www.saliences.com/projects/dsgrab/index.html
License: MIT License
What century do we live in again? Right. Drop support for all other colour modes to simplify the code.
Hi,
It would be nice, if it is enough, to specify the first characters of a webcam (until it is unique) in order to select it. I had the problem today, that (on German windows 7) a Camera was called "USB-Videogerät", but the "ä" was somehow wrongly transferred, so that DsGrab did not match it to the Device name. This could be avoided if I could just say "USB-" and it matches everything with USB- prefix.
Even better would be something like "abc" which matches every device with's name contains "abc"...
Add ability to capture from multiple devices using the new -n parameter. Something like:
dsgrab -n 1,3,5
etc.
When you pass in a bad extension, the error message says "The extension xxx is not support by DSGrab". It should say supported.
Some webcams do not implement a RGB output pin in their DirectShow driver. A filter needs to be added to the DIrectShow graph which does the conversion so that a proper RGB image can be generated.
Vista and 7 have a built in colour space conversion filter, but Windows XP does not so a custom written filter needs to be added (or lifted from the internet).
Hi, url not working, please put binary file to release.
Use program_options for command line parsing
Make it simpler for users to type their device names.
Dispose of GdiPlus using GdiplusShutdown
when complete.
When limited number of options are given (i.e. no dimensions, or no capture device), the program should try its best to pick an appropriate device.
There is a code block in the source code that tries to determine which CLSID to use for encoding the image based on the extension that the user gave for their output file. This comparison is case sensitive and is generally fairly poorly written (operator == instead of comparsion). Polish this up a bit.
Release AM_MEDIA_TYPE structures when no longer being used.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.