diff --git a/source/Miniscope-DAQ-QT-Software.pro b/source/Miniscope-DAQ-QT-Software.pro index e90c14d..2e4dc01 100644 --- a/source/Miniscope-DAQ-QT-Software.pro +++ b/source/Miniscope-DAQ-QT-Software.pro @@ -76,6 +76,7 @@ DISTFILES += win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../../../../opencv-build420/install/x64/vc15/lib/ -lopencv_world420 +win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../../../../opencv-build420/install/x64/vc15/lib/ -lopencv_videoio_ffmpeg420_64 else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../../../../opencv-build420/install/x64/vc15/lib/ -lopencv_world420d INCLUDEPATH += $$PWD/../../../../../../../opencv-build420/install/include diff --git a/source/backend.cpp b/source/backend.cpp index f493203..a2dc2cf 100644 --- a/source/backend.cpp +++ b/source/backend.cpp @@ -228,15 +228,6 @@ void backEnd::testCodecSupport() // This function will test which codecs are supported on host's machine cv::VideoWriter testVid; QVector possibleCodec({"DIB ", "MJPG", "MJ2C", "XVID", "FFV1"}); - - testVid.open("test.raw", 0, 0, cv::Size(640, 480), true); - if (testVid.isOpened()) { - qDebug() << "RAWAWAWAWAW"; - testVid.release(); - } - else - qDebug() << "NOOOOOOO GOOOOOOOOD"; - for (int i = 0; i < possibleCodec.length(); i++) { testVid.open("test.avi", cv::VideoWriter::fourcc(possibleCodec[i].toStdString()[0],possibleCodec[i].toStdString()[1],possibleCodec[i].toStdString()[2],possibleCodec[i].toStdString()[3]), 20, cv::Size(640, 480), true);