| | |
| | | #include "FFmpegDecoderJPG.h" |
| | | #include "28181SDK.h" |
| | | #include <basic/pipe/PipeElement.h> |
| | | #include <basic/pipe_element/ffmpeg/FfmpegElement.h> |
| | | //#include <RtspAnalysManager.h> |
| | | //#include <VideoToImageMulth/RtspAnalysManager.h> |
| | | |
| | |
| | | */ |
| | | bool getRunning(); |
| | | |
| | | |
| | | /*** |
| | | * 获取图片 |
| | | * @return |
| | |
| | | |
| | | //根据timeStamp创建路径 |
| | | std::string MakeDir(const std::string &timeStamp); |
| | | |
| | | void startPublishVideo(); |
| | | |
| | | void stopPublishVideo(); |
| | | |
| | | private: |
| | | int reopenTime{10}; |
| | |
| | | |
| | | std::atomic<bool> m_running; |
| | | std::atomic<bool> m_waitSignal; |
| | | std::atomic<bool> m_waitSignalrunning; |
| | | std::atomic<bool> m_waitSignalrunning{false}; |
| | | |
| | | //用来保存录像视频的路径 |
| | | std::string m_cutPath; |
| | | std::atomic<bool> m_publishVideoRet{false}; |
| | | ffmpeg::PipeVideoPublishElement * videoPublishElement{nullptr}; |
| | | private: |
| | | /*** |
| | | * 启动实时流接收数据线程 |