v2.0.t3
Event recordings are not writing out correctly. added more log lines to help debug.
This commit is contained in:
parent
b0dbfa0852
commit
ae46834777
|
@ -364,6 +364,9 @@ uint64_t genEpoch()
|
|||
|
||||
void wrOutm3u8(const pls_t &pls)
|
||||
{
|
||||
recLog("live-to-event-src: " + pls.clipPath);
|
||||
recLog("live-to-event-dst: " + pls.dstPath);
|
||||
|
||||
createDirTree(path(pls.dstPath).parent_path().string());
|
||||
copy_file(pls.clipPath, pls.dstPath);
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ using namespace std;
|
|||
using namespace std::filesystem;
|
||||
using namespace std::chrono;
|
||||
|
||||
#define APP_VER "2.0.t2"
|
||||
#define APP_VER "2.0.t3"
|
||||
#define APP_NAME "Motion Watch"
|
||||
#define REC_LOG_NAME "rec_log_lines.html"
|
||||
#define DET_LOG_NAME "det_log_lines.html"
|
||||
|
|
|
@ -47,12 +47,12 @@ void eventLoop(shared_t *share)
|
|||
|
||||
if (!exists(pls.fileName + ".jpg"))
|
||||
{
|
||||
imwrite(string(pls.fileName + "jpg").c_str(), pls.thumbnail);
|
||||
imwrite(string(pls.fileName + ".jpg").c_str(), pls.thumbnail);
|
||||
}
|
||||
}
|
||||
catch (filesystem_error &ex)
|
||||
{
|
||||
recLog("err: could not copy live file: " + pls.clipPath + " reason - " + ex.what(), share);
|
||||
recLog("err: " + ex.what(), share);
|
||||
}
|
||||
|
||||
share->recList.erase(share->recList.begin());
|
||||
|
|
Loading…
Reference in New Issue
Block a user