rharder / imagesnap

Capture Images from the Command Line
https://github.com/rharder/imagesnap
458 stars 50 forks source link

Warnings when using OBS virtual cam #36

Closed rhuss closed 3 years ago

rhuss commented 3 years ago

When using OBS's virtual webcam then I get the following warnings / errors with imagesnap -l 👍

2021-03-15 08:30:50.760 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): PlugInMain version=1.2.0
2021-03-15 08:30:50.760 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): HardwarePlugIn_QueryInterface
2021-03-15 08:30:50.760 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): HardwarePlugIn_Release sRefCount now = 0
2021-03-15 08:30:50.760 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): HardwarePlugIn_InitializeWithObjectID self=0x10a8f9768
2021-03-15 08:30:50.760 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData Device(36) kCMIOObjectPropertyListenerAdded self=0x10a8f9768 data(int)=1684629094
2021-03-15 08:30:50.760 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled setPropertyDataWithAddress for kCMIOObjectPropertyListenerAdded
2021-03-15 08:30:50.760 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData Device(36) kCMIOObjectPropertyListenerAdded self=0x10a8f9768 data(int)=1869180523
2021-03-15 08:30:50.760 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled setPropertyDataWithAddress for kCMIOObjectPropertyListenerAdded
2021-03-15 08:30:50.760 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData Device(36) kCMIOObjectPropertyListenerAdded self=0x10a8f9768 data(int)=1885762592
2021-03-15 08:30:50.760 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled setPropertyDataWithAddress for kCMIOObjectPropertyListenerAdded
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData Device(36) kCMIOObjectPropertyListenerAdded self=0x10a8f9768 data(int)=1818850926
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled setPropertyDataWithAddress for kCMIOObjectPropertyListenerAdded
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData Device(36) kCMIOObjectPropertyListenerAdded self=0x10a8f9768 data(int)=1869180523
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled setPropertyDataWithAddress for kCMIOObjectPropertyListenerAdded
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData Device(36) kCMIOObjectPropertyListenerAdded self=0x10a8f9768 data(int)=1937009955
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled setPropertyDataWithAddress for kCMIOObjectPropertyListenerAdded
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData Device(36) kCMIOObjectPropertyListenerAdded self=0x10a8f9768 data(int)=1886156132
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled setPropertyDataWithAddress for kCMIOObjectPropertyListenerAdded
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData Device(36) kCMIOObjectPropertyListenerAdded self=0x10a8f9768 data(int)=1935833461
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled setPropertyDataWithAddress for kCMIOObjectPropertyListenerAdded
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.786 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData Stream(37) kCMIOObjectPropertyListenerAdded self=0x10a8f9768 data(int)=1885762592
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Stream unhandled setPropertyDataWithAddress for kCMIOObjectPropertyListenerAdded
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIODevicePropertySuspendedByUser
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): Device unhandled hasPropertyWithAddress for kCMIOObjectPropertyOwnedObjects
Video Devices:
<AVCaptureDALDevice: 0x7fd87b46ee60 [OBS Virtual Camera][obs-virtual-cam-device]>
<AVCaptureDALDevice: 0x7fd87b469580 [FaceTime HD Camera (Built-in)][0x8020000005ac8514]>
<AVCaptureDALDevice: 0x7fd87b46e0e0 [Iriun Webcam][1400-IriunCamera]>
<AVCaptureDALDevice: 0x7fd87d814470 [HD Pro Webcam C920][0x14423300046d082d]>
2021-03-15 08:30:50.787 imagesnap[97514:1617176] obs-mac-virtualcam(DAL): HardwarePlugIn_Teardown self=0x10a8f9768

If this warning is not harmful and only affects that OBS webcam but not the other devices, it would be call if this warning could be muted (or shown only when providing a higher loglevel)

umutbalkan commented 3 years ago

I have the same issue though can't really see the reason behind it. I have OBS for years and virtual cam is there for months. This is my log with imagesnap -l

2021-04-07 10:05:41.733 imagesnap[87761:3696140] mac-virtualcam(DAL): PlugInMain version=1.3.0
2021-04-07 10:05:41.733 imagesnap[87761:3696140] mac-virtualcam(DAL): HardwarePlugIn_QueryInterface 
2021-04-07 10:05:41.733 imagesnap[87761:3696140] mac-virtualcam(DAL): HardwarePlugIn_Release sRefCount now = 0
2021-04-07 10:05:41.733 imagesnap[87761:3696140] mac-virtualcam(DAL): HardwarePlugIn_InitializeWithObjectID self=0x10eab2478
2021-04-07 10:05:41.733 imagesnap[87761:3696140] mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData OBSDALDevice(33) kCMIOObjectPropertyListenerAdded self=0x10eab2478 data(int)=1684629094
2021-04-07 10:05:41.733 imagesnap[87761:3696140] mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData OBSDALDevice(33) kCMIOObjectPropertyListenerAdded self=0x10eab2478 data(int)=1869180523
2021-04-07 10:05:41.733 imagesnap[87761:3696140] mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData OBSDALDevice(33) kCMIOObjectPropertyListenerAdded self=0x10eab2478 data(int)=1885762592
2021-04-07 10:05:41.797 imagesnap[87761:3696140] mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData OBSDALDevice(33) kCMIOObjectPropertyListenerAdded self=0x10eab2478 data(int)=1818850926
2021-04-07 10:05:41.797 imagesnap[87761:3696140] mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData OBSDALDevice(33) kCMIOObjectPropertyListenerAdded self=0x10eab2478 data(int)=1869180523
2021-04-07 10:05:41.797 imagesnap[87761:3696140] mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData OBSDALDevice(33) kCMIOObjectPropertyListenerAdded self=0x10eab2478 data(int)=1937009955
2021-04-07 10:05:41.797 imagesnap[87761:3696140] mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData OBSDALDevice(33) kCMIOObjectPropertyListenerAdded self=0x10eab2478 data(int)=1886156132
2021-04-07 10:05:41.797 imagesnap[87761:3696140] mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData OBSDALDevice(33) kCMIOObjectPropertyListenerAdded self=0x10eab2478 data(int)=1935833461
2021-04-07 10:05:41.797 imagesnap[87761:3696140] mac-virtualcam(DAL): HardwarePlugIn_ObjectSetPropertyData OBSDALStream(34) kCMIOObjectPropertyListenerAdded self=0x10eab2478 data(int)=1885762592
2021-04-07 10:05:42.757 imagesnap[87761:3696140] mac-virtualcam(DAL): HardwarePlugIn_Teardown self=0x10eab2478
Video Devices:
<AVCaptureDALDevice: 0x7f8b8ed3fcb0 [OBS Virtual Camera][obs-virtual-cam-device]>
<AVCaptureDALDevice: 0x7f8b8ed3ca90 [FaceTime HD Camera (Built-in)][0x1a11000005ac8510]>

Edit: This seems like an OBS thing. They probably forgot to hide these logs under some DEBUG flag. Makes you wonder how much SSD write cycles are lost to spammy logs globally =)

rharder commented 3 years ago

You are right. I've had some discussions with the OBS developers, and it's some logging that they left enabled. They intend to mute the logging in a future build.