vTEG is a C++ application for watching, analysing and tagging videos, so you could jump back and forth between the most important parts of the video. You can either save/load tags from our own .vteg format, or load/write them from and to .CSV files, for compatibility with other tagging software.
If you're using windows, you need an external video codec, because Qt's multimedia library won't work otherwise. In development, we've used K-Lite Codec Pack Basic. Mac and Linux should be able to handle this natively.
First of all, M1 Macs are currently not supported because Qt multimedia isn't working on the open source version of 5.x yet. We think about moving this project to Qt 6.2 as soon as it releases, but that would need a rewrite of alot of things, as they are completely changing the multimedia section.
You need Qt to build vTEG. We're using the open source version. You also need to install mingw 64bit from the Qt installer with it. We've build the project with Qt V5.12.11, so having a somewhat similar version installed might be helpful.
A compiled version of OpenCV is necessary. You can build it yourself if you like, we went with huihut/OpenCV-MinGW-Build.
Usually, Ninja and cmake should be delivered with the Qt installer if u didnt uncheck them. If you did, you need Ninja as a build tool for cmake and cmake itself.
You need to replace these placeholders:
- PATH-TO-QT
- QT-VERSION
- MINGW64-VERSION
With your own paths to the installations. If you don't know what you're doing, please ONLY use the compile tools delivered by the Qt installation. Using another g++ compiler for example will just throw tons of errors.
Also, read these constructions carefully, if you don't change the lines in the CMakeLists.txt file, compiling will most likely not work.
git clone https://github.com/vTEG/vteg
# Open CMakeLists.txt and uncomment + change line 17 to your local Qt installation path
# Then change line 20 to your local OpenCV installation path
# And last but not least, change line 26 so it points to your local OpenCV /bin folder
# Open folder in terminal
mkdir build && cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE:STRING=Release -DQT_QMAKE_EXECUTABLE:STRING=PATH-TO-QT/QT-VERSION/MINGW64-VERSION/bin/qmake.exe -DCMAKE_C_COMPILER:STRING=PATH-TO-QT/Tools/MINGW64-VERSION/bin/gcc.exe -DCMAKE_CXX_COMPILER:STRING=PATH-TO-QT/Tools/MINGW64-VERSION/bin/g++.exe
cmake --build . --target all
PATH-TO-QT/Tools/QtDesignStudio/qt5_design_studio_reduced_version/bin/windeployqt.exe --release VTEg.exe
The last step (windeployqt) is just for windows only, on linux you would have to use linuxdeployqt.
mkdir build && cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE:STRING=Release -DQT_QMAKE_EXECUTABLE:STRING=C:/Qt/5.12.11/mingw73_64/bin/qmake.exe -DCMAKE_C_COMPILER:STRING=C:/Qt/Tools/mingw730_64/bin/gcc.exe -DCMAKE_CXX_COMPILER:STRING=C:/Qt/Tools/mingw730_64/bin/g++.exe
cmake --build . --target all
C:\Qt\Tools\QtDesignStudio\qt5_design_studio_reduced_version\bin\windeployqt.exe --release VTEg.exe
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.