Encoding videos for opencv
I would like to use video datasets to test my program, but unfortunately it does not work.
How do I encode them for the current version of opencv?
PS: It seems to be a problem with cmake (OpenCV examples work but own project doesn't). I am using the tutorial CMakeList.txt that does not compile including the codecs. Can you give me any pointers on how to correctly do this?