I tested your code, and I had to fix some build issues + some warnings => see below (attached as a txt file, to simplify its application). Recent ffmpeg means current (28th August 2018) master ffmpeg version from github repo. Last, consider the changes are under MIT license.
Hello,
I tested your code, and I had to fix some build issues + some warnings => see below (attached as a txt file, to simplify its application). Recent ffmpeg means current (28th August 2018) master ffmpeg version from github repo. Last, consider the changes are under MIT license.
As a patch : ffmpeg-OpenCV.diff.txt
Current status : the current code is warning free on Linux, but untested. Please tell me whethere there is crash in runtime, and I'll have a look.
HTH
-- ericb