libdshowcapture
libdshowcapture copied to clipboard
Free and Open Source C++11 Library for capturing DirectShow video/audio devices on windows.
### Description For various software devices i have, the devicePath remains empty upon `DShow::Device::EnumVideoDevices()`. I have implemented a fallback method for getting the devicepath. ### Motivation and Context I'd like...
### Description Add feature to detect device's remove/insert events. When device is inserted, win-dshow can restore camera when received event. However, to be enable to detect remove/insert, we must success...
try to set the desired sampling rate. ### Description this fix try to set the desired sampling rate by modifying `nSamplesPerSec` ### Motivation and Context I'm not sure but when...
### Description This changes add an `install` target to the main CMakeLists.txt. It will install the .lib, .dll and necessary header files to the location set by `CMAKE_INSTALL_PREFIX` (standard practice...
Description This adds an option to set the audio buffer, rather than be forced to use 10ms. Motivation and Context I am trialing the library in a personal hobby project...
### Description This changes every sample to clearly state that they are sync points. ### Motivation and Context As the virtual camera always sends frames that are uncompressed and/or keyframes...
the `devicePath` usually does not work for virtual devices, the path will be empty, this new way will work for both physics audio/video devices and virtual devices btw, FFmpeg uses...
- Related: https://github.com/obsproject/obs-studio/issues/11160 ### Description Fixes a spelling mistakes in comments ### Motivation and Context Proper English makes log-messages, documentation and code more readable. ### How Has This Been Tested?...
### Description directshow claims that the color format supported is MEDIASUBTYPE_RGB24, and it should correspond to VideoFormat::RGB24 instead of VideoFormat::XRGB ### Motivation and Context This change is completely self-explanatory ###...
### Description This PR consists of three commits to make it easier to differentiate between the intended changes. The commits will be squashed, or the second commit can be dropped...