| | |
| | | #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> |
| | | |
| | |
| | | //根据timeStamp创建路径 |
| | | std::string MakeDir(const std::string &timeStamp); |
| | | |
| | | void startPublishVideo(); |
| | | |
| | | void stopPublishVideo(); |
| | | |
| | | private: |
| | | int reopenTime{10}; |
| | | int m_gpuIdx; |
| | |
| | | |
| | | //用来保存录像视频的路径 |
| | | std::string m_cutPath; |
| | | std::atomic<bool> m_publishVideoRet{false}; |
| | | ffmpeg::VideoPublishElement * videoPublishElement; |
| | | private: |
| | | /*** |
| | | * 启动实时流接收数据线程 |