Compile opencv with ffmpeg for Ubuntu/Debian

I've needed to compile opencv with ffmpeg some times and it's quite hard to find the correct information and dependencies to make it work with most of videos(mp4, webm, avi..). If you get an error when compiling opencv telling you to recompile ffmpeg (or other libraries) with -fPIC this post will also fix it! Remove any older versions of ffmpeg i…

Read More