496bac7d7e
I'm going to test a move away from opencv's videoio module. Videoio simply refuses to open any video file even with FFMPEG builtin. I tested old v2.2 code and even that failed on a fresh install of ubuntu sever so this tells me an update on opencv's side broke something. This issue is not new and frankly I'm tired of chasing it. I'm giving QT's QMediaPlayer a try to see how it works out. Will still need opencv for the absdiff and threshold functions, otherwise I would have dropped the API altogeather. Now that the app has QT::Multimedia, QT6 is now the minimum version it will support. CMakeList.txt and the setup script updated accordingly.
5 lines
305 B
Bash
5 lines
305 B
Bash
#!/bin/sh
|
|
apt update -y
|
|
apt install -y pkg-config cmake make g++ wget unzip git
|
|
apt install -y ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libgstreamer1.0-dev x264 libx264-dev libilmbase-dev libopencv-dev qt6-base-dev qtchooser qmake6 qt6-base-dev-tools qt6-multimedia-dev apache2
|