obs-face-tracker icon indicating copy to clipboard operation
obs-face-tracker copied to clipboard

Feature Request - ATEM DVE

Open DrEVILish opened this issue 2 years ago • 1 comments

I use an ATEM for my PTZ needs, it would be fantastic to convert the PTZ operations into ATEM DVE scaler commands.

Use case: Instead of feeding the video into OBS through the "Face Tracker" and then back out again. This has many milliseconds of latency involved. Track using OBS and feed the PTZ output into ATEM DVE, scale and X,Y movements to give the same effect, this allows for the video latency to be much much lower and be kept in sync with other cameras.

https://github.com/bitfocus/companion-module-bmd-atem

This would minimise video latency

Just want to say just loaded this plugin onto my macOS M1 and it worked the first time perfectly!

Having some sliders for smooth and steepness of linear interpolation curve would be fantastic. Also some explanation of what each of the sliders do in the README would be very helpful

DrEVILish avatar Dec 14 '22 00:12 DrEVILish

Unfortunately, I don't have ATEM, so it would be difficult for me to implement the feature.

Help and PR would be welcome. These three implementations would be a good start-point for implementing the feature.

  • obsptz_backend (using an API on obs-ptz plugin)
    • https://github.com/norihiro/obs-face-tracker/blob/main/src/obsptz-backend.cpp
    • https://github.com/norihiro/obs-face-tracker/blob/main/src/obsptz-backend.hpp
  • libvisca_thread (using multi-thread and connecting to a PTZ camera from a standalone thread)
    • https://github.com/norihiro/obs-face-tracker/blob/main/src/libvisca-thread.cpp
    • https://github.com/norihiro/obs-face-tracker/blob/main/src/libvisca-thread.hpp
  • dummy_backend (just printing PTZ operations to log)
    • https://github.com/norihiro/obs-face-tracker/blob/main/src/dummy-backend.cpp
    • https://github.com/norihiro/obs-face-tracker/blob/main/src/dummy-backend.hpp

norihiro avatar Dec 18 '22 13:12 norihiro