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.

52 lines
1.7 KiB

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. bool m_bOnline;
  29. bool m_bPtzCapable;
  30. char m_pIP[16];
  31. time_t m_tTimeTSeconds;
  32. char m_pPassword[CTEXT];
  33. char m_pUserName[CTEXT];
  34. char m_pDevToken[CTEXT];
  35. char m_pProfileToken[CTEXT];
  36. char m_pPtzToken[CTEXT];
  37. protected:
  38. void m_fThreadProc( void );
  39. public:
  40. explicit ARGUS_IPCAM( uint32_t id );
  41. ~ARGUS_IPCAM();
  42. bool create( CSTR ip, CSTR username, CSTR password );
  43. virtual void dispatchEvent( basicEvent *Evt );
  44. };
  45. #endif