I have build & installed 3.3.1 on my machine without problems. I have also been able to create a h264 encoded file with the precompiled opencv_ffmpeg binaries that is download during building. I can save the file a .mp4 container but it gives me an error
OpenCV: FFMPEG: tag 0x34363248/'H264' is not supported with codec id 28 and format 'mp4 / MP4 (MPEG-4 Part 14)'
but the file is created. I can also save the file in an .avi container without any errors but not sure if this is the right choice of container for me, because I want to add some metadata for each frame that I add to the movie file/container. I use opencv’s videowriter to write the files. So how can I get some metadata in a video container using the Opencv Video I/O API