You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.8 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
4 years ago
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Dr.Frucht Systems Ltd.
  3. // Copyright � 2000-2017. All Rights Reserved.
  4. // Version 2.0 6/11/2019
  5. // Last modification: 6/11/2019
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: rgooseIPCamera.h
  9. // AUTHOR: gagua
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of rgooseIPCamera.h
  13. //----------------------------------------------------------------------------
  14. //
  15. #ifndef __DEVICE_PTZ_CAMERA_CTRL_HEADER__
  16. #define __DEVICE_PTZ_CAMERA_CTRL_HEADER__
  17. #include "deviceNodeCamera.h"
  18. #include "../../components/base/basicEventHandler.h"
  19. #include "../../components/base/basicEventHeap.h"
  20. //https://www.ebay.com/itm/Professional-Rolling-Makeup-Case-Bulb-Mirror-Cosmetic-Artist-Dressing-Train-Case/233264525474
  21. //ffmpeg -i input.mp4 -af loudnorm=I=-23:LRA=7:tp=-2:print_format=json -f null -
  22. //ffmpeg -i input.mp4 -af loudnorm=I=-23:LRA=7:tp=-2:measured_I=-30:measured_LRA=1.1:measured_tp=-11 04:measured_thresh=-40.21:offset=-0.47 -ar 48k -y output.mp4
  23. class deviceNodePTZCamControl: public deviceNodeCamera, public basicEventHandler {
  24. protected:
  25. CAMERA_CTRL_DATA m_sCtrlData;
  26. //virtual bool relativeMove( float PanSPD, float TiltSPD, float ZoomSPD );
  27. //virtual bool relativeStop();
  28. //virtual bool absoluteMove( float PanPOS, float TiltPOS, float ZoomPOS );
  29. public:
  30. explicit deviceNodePTZCamControl( uint32_t id );
  31. explicit deviceNodePTZCamControl( DBC_NODE_DATA *Data = NULL );
  32. ~deviceNodePTZCamControl();
  33. virtual bool dispatchEvent( EVENT_CONTAINER *Evt );
  34. virtual bool startService();
  35. virtual bool stopService();
  36. virtual bool validate();
  37. };
  38. #endif