Some hardware can make Yawcam crash like this when Yawcam looks for devices at startup. Make sure to use updated drivers for your webcam. This also applies to any TV tuner card if you have one of those.
What is the webcam you are you using?
Next step would be to disconnect all webcams and see if Yawcam starts without them connected to the computer. It' would be helpful if we could identify which device is causing the crash.
I have Elgato Virtual Camera and OBS Virtual Camera.
All the drivers are the latest available.
Physical cameras/capture devices are disconnected at the time of the program startup and crash.
On my machine, Yawcam will start fine with booth Elgato Camera Hub and OBS Studio installed.
I can connect the Elgato Virtual Camera, but when I try to connect to the OBS Virtual Camera, Yawcam will crash.
In theory, it could be that Yawcam has selected the OBS Virtual Camera and tries to connect to it at startup.
You could try to rename (or delete) Yawcam's settings file and try to start Yawcam again. This should force Yawcam to startup without trying to connect to any camera.
The settings file is located here:
C:\Users\%username%\.yawcam\yawcam_settings.xml
You are right, it's OBS Virtual Camera that crashes yawcam.
If I delete yawcam_settings.xml, it starts o.k.
When selecting OBS, it crashes immediately.
It should be more stable regarding the device selection when you plugin and unplug devices from your computer.
Hopefully that will help so that OBS Virtual Camera don't get selected by mistake again.
If I select OBS Virtual Camera, it still crashes.
Shouldn't this be considered a bug in YawCam?
There is another software that can use Windows cameras such as OBS Virtual Camera - it doesn't crash, just shows black screen.