webcamoid / akvirtualcamera

akvirtualcamera, virtual camera for Mac and Windows
GNU General Public License v3.0
407 stars 52 forks source link

add format #15

Closed shersoni610 closed 3 years ago

shersoni610 commented 3 years ago

Hello,

I am trying to use add-format. There seems to be some issue in the way I am passing artguments. Can someone help?

$ ./AkVCamManager devices +----------------------+--------------+ | Device | Description | +----------------------+--------------+ | "AkVCamVideoDevice"0 | AvailCamera0 | +----------------------+--------------+ $ AkVCamManager add-format AkVCamVideoDevice0 RGB24 640 480 30 'AkVCamVideoDevice0' doesn't exists. $ AkVCamManager add-format "AkVCamVideoDevice"0 RGB24 640 480 30 'AkVCamVideoDevice0' doesn't exists. $ AkVCamManager add-format AvailCamera0 RGB24 640 480 30 'AvailCamera0' doesn't exists. $

hipersayanX commented 3 years ago

It seems to be a bug, Cmake included the quotes in the DEVICE_PREFIX macro. I will fix it later. For now try with:

AkVCamManager add-format '"AkVCamVideoDevice"0' RGB24 640 480 30
hipersayanX commented 3 years ago

This was fixed in latest commits, closing.