Error in definition of macro ‘AV_CODEC_ID_FFV1’

neither v4.4 nor v4.6 are the latest release.

bug reports cannot be accepted if you “found” an old bug that might already be fixed.

please check with latest release of OpenCV.

make sure that ffmpeg has an appropriate version. latest opencv releases try to track ffmpeg 5. I’m not sure anyone has bothered with ffmpeg 6 since that followed so quickly after ffmpeg 5.