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.

58 lines
2.1 KiB

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
8 years ago
​
8 years ago
​
​
​
​
8 years ago
​
​
​
​
​
​
​
​
​
​
​
8 years ago
​
​
​
8 years ago
6 years ago
​
​
​
8 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 __ARGUS_IP_CAMERA_HEADER__
  16. #define __ARGUS_IP_CAMERA_HEADER__
  17. #include <vector>
  18. #include "rgooseCamera.h"
  19. //#include "../components/base/basicThread.h"
  20. #include "../data/ponvif/ponvif.h"
  21. //https://www.ebay.com/itm/Professional-Rolling-Makeup-Case-Bulb-Mirror-Cosmetic-Artist-Dressing-Train-Case/233264525474
  22. //ffmpeg -i input.mp4 -af loudnorm=I=-23:LRA=7:tp=-2:print_format=json -f null -
  23. //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
  24. class ARGUS_IPCAM: public ARGUS_Camera /*, public basicThread */{
  25. private:
  26. basicLogCollection * m_pLog;
  27. pOnvif * m_pOnVif;
  28. videoSourceProfile * m_pProfile;
  29. //bool m_bOnline;
  30. //bool m_bPtzCapable;
  31. //char m_pIP[16];
  32. //time_t m_tTimeTSeconds;
  33. //char m_pPassword[CTEXT];
  34. //char m_pUserName[CTEXT];
  35. //char m_pDevToken[CTEXT];
  36. //char m_pProfileToken[CTEXT];
  37. //char m_pPtzToken[CTEXT];
  38. protected:
  39. virtual bool relativeMove( float PanSPD, float TiltSPD, float ZoomSPD );
  40. virtual bool relativeStop();
  41. virtual bool absoluteMove( float PanPOS, float TiltPOS, float ZoomPOS );
  42. //void m_fThreadProc( void );
  43. public:
  44. explicit ARGUS_IPCAM( uint32_t id );
  45. ~ARGUS_IPCAM();
  46. //bool create( );// CSTR ip, CSTR username, CSTR password );
  47. //virtual void dispatchEvent( EVENT_CONTAINER *Evt );
  48. virtual bool startService();
  49. //virtual bool stopService();
  50. };
  51. #endif