mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-06 11:38:11 +08:00
Merge branch 'research' of https://gitee.com/liuziloong/FreeNVR
This commit is contained in:
@@ -1330,7 +1330,7 @@ int hevcDecodeShortTermRps(T_GetBitContext *pvBuf,
|
||||
int iDeltaRps;
|
||||
unsigned int uiAbsDeltaRps;
|
||||
uint8_t u8UseDeltaFlag = 0;
|
||||
uint8_t u8DeltaRpsSign;
|
||||
uint8_t u8DeltaRpsSign = 0;
|
||||
|
||||
if (is_slice_header) {
|
||||
unsigned int uiDeltaIdx = parseUe(pvBuf) + 1;
|
||||
|
||||
@@ -52,10 +52,11 @@ MP4Recorder::~MP4Recorder() {
|
||||
|
||||
void MP4Recorder::createFile() {
|
||||
closeFile();
|
||||
auto strDate = getTimeStr("%Y-%m-%d");
|
||||
auto strDate = getTimeStr("%Y-%m");
|
||||
auto strDay = getTimeStr("%Y-%m-%d");
|
||||
auto strTime = getTimeStr("%H-%M-%S");
|
||||
auto strFileTmp = _strPath + strDate + "/." + strTime + ".mp4";
|
||||
auto strFile = _strPath + strDate + "/" + strTime + ".mp4";
|
||||
auto strFileTmp = _strPath + strDate + "/" + strDay + "/." + strTime + ".mp4";
|
||||
auto strFile = _strPath + strDate + "/" + strDay + "/" + strTime + ".mp4";
|
||||
|
||||
/////record 业务逻辑//////
|
||||
_info.ui64StartedTime = ::time(NULL);
|
||||
@@ -66,6 +67,7 @@ void MP4Recorder::createFile() {
|
||||
+ _info.strAppName + "/"
|
||||
+ _info.strStreamId + "/"
|
||||
+ strDate + "/"
|
||||
+ strDay + "/"
|
||||
+ strTime + ".mp4";
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user