Problem opencv with static compilation
Hello everyone !
I have an issue since some days. Let me explain : I am trying to create a video processing software. Everything works good, except now when I want to deploy this application statically . Now when I compile in static, I can no longer open the imagges and videos yet opened well before ... This is my simplify code:
void traitement_mouvement::mouvement(String url)
{
qDebug()<<"running app";
VideoCapture capture(url);
if (!capture.isOpened())
{
qDebug()<<"Problem opening video";
qDebug() << QString::fromStdString(url);
}
The video does not open and there are no errors . I just have my qDebug () which tells me that the video does not open ... If anyone has a solution I'm interested.
Thanks in advance
even with static libs, you will still need the opencv_ffmpeg.so around.
Hum, yes but i need a static lib of opencv_ffmpeg... because when i compile opencv to static libs using cmake, opencv_ffmpeg still remains a dynamique lib. How can i do ?