From 89129ad3f415695a507804298d154015fa0581e5 Mon Sep 17 00:00:00 2001 From: Maurice ONeal Date: Sun, 11 Dec 2022 16:10:04 -0500 Subject: [PATCH] v1.5.t6 Can't get opencv to work with FFMPEG to open the buff file on the test machine. I've given up on trying to figure out why. Testing out video capture without explicitly specifying FFMPEG to see how that works out. --- src/common.h | 2 +- src/mo_detect.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common.h b/src/common.h index 769a228..17c297c 100644 --- a/src/common.h +++ b/src/common.h @@ -35,7 +35,7 @@ using namespace cv; using namespace std; using namespace std::filesystem; -#define APP_VER "1.5.t5" +#define APP_VER "1.5.t6" #define APP_NAME "Motion Watch" struct shared_t diff --git a/src/mo_detect.cpp b/src/mo_detect.cpp index 15a5434..bbfe851 100644 --- a/src/mo_detect.cpp +++ b/src/mo_detect.cpp @@ -79,7 +79,7 @@ bool moDetect(const string &buffFile, Mat &vidThumb, shared_t *share) { auto mod = false; - VideoCapture capture(buffFile.c_str(), CAP_FFMPEG); + VideoCapture capture(buffFile.c_str()); if (capture.isOpened()) {