12

There is a webcam settings dialog in Windows which can be accessed inside Skype and some other apps, but I want to be able to open it directly. How can I open it directly? I have attached screenshot of dialog for reference.

  • Try Windows Key + R, and enter ms-settings:privacy-webcam – DavidPostill Jan 20 '18 at 17:27
  • @DavidPostill It shows different dialog – VarunAgw Jan 20 '18 at 20:25
  • Anybody?....... – VarunAgw Jan 27 '18 at 2:40
  • 1
    This is really driving me crazy, I can access it Skype, I can write my own program to open it but I just want to open it within Windows... – Fishcake Feb 14 '18 at 16:46
  • @Fishcake How can you open it from your program. What's the API for it? – VarunAgw May 28 '18 at 15:16
1

I know this thread is old but inspired from stevek_mcc's answer, I made a small script to launch the webcam settings dialog directly from Windows.

Github: webcam-settings-dialog-windows

Hope this could help someone!

| improve this answer | |
10

Thanks to Fishcake's answer, I was able to find a program that offers command-line access to the same ISpecifyPropertyPages interface as AForge's DisplayPropertyPage, and thus allows us to open the dialog: ffmpeg.

  1. Download an ffmpeg Windows executable (e.g. from zeranoe) and expand bin\ffmpeg.exe into a directory, e.g. c:\utils
  2. Start a cmd prompt and change to that directory: cd \utils
  3. Find the exact name of your device, either from Control Panel | Devices and Printers or by running ffmpeg:

    C:\utils>ffmpeg -list_devices true -f dshow -i dummy -hide_banner
    [dshow @ 0000022fd7ac8440] DirectShow video devices (some may be both video and audio devices)
    [dshow @ 0000022fd7ac8440]  "USB 2.0 CAMERA"
    
  4. Run ffmpeg to show the dialog:

    ffmpeg -f dshow -show_video_device_dialog true -i video="USB 2.0 CAMERA"
    
| improve this answer | |
3

I have written a little program to do this and also to allow saving camera settings in different profiles.

http://faltinek.de/freestuff/CamooZ.zip

CamooZ at work...

| improve this answer | |
  • It is never recommended to download software from a non-HTTPS connection, nor should a software link point to a downloadable file, but the software's webpage. It would be ill-advised for any user to click on the link in this answer – JW0914 Apr 25 at 12:25
  • 1
    Thanks for the answer. And sorry about the downvotes. This site is not very friendly towards new users. – VarunAgw Apr 26 at 0:43
  • This would be really useful, and most would indeed just want to download the exe. But without a webpage, a digital signature and/or open source, many won't take the risk. I found the ffmpeg solution above only because it was open source: I could search the net for the function call. Maybe you could make the source available? – stevek_mcc Apr 27 at 12:54
  • @VarunAgw Downvotes have nothing to do with being a new user, but the quality of the answer, and without some means of security verification for the suggested software, the software should never have been placed in an answer, which is why I down-voted. IMHO, answers should never contain a link to a direct download, as it's a blatant, massive security risk and is therefore unacceptable, whether on Stack Exchange or any other forum. – JW0914 Apr 30 at 12:54
  • @VarunAgw That's just common sense... any software developer should know to (1) Not post a non-HTTPS link to their software, and (2) not link directly to a direct download, but to the software's webpage. There are trusted software development sites folks can host closed-source software on, GitHub being one of them. – JW0914 May 1 at 0:33
2

The only way I've managed to launch it without using an external program (e.g. Skype) was to use AForge.Net

Using AForge.Net, you can launch the property window by simply calling DisplayPropertyPage on a VideoCaptureDevice

videoCaptureDevice.DisplayPropertyPage(IntPtr.Zero);

Using AForge.Net might be overkill for just displaying the property page (I was using it already for some image manipulation) but you can view the source to see what it is doing under the hood. The DisplayPropertyPage method is in the class VideoCaptureDevice.cs

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.