Question about the FFmpeg version in OpenCV

on which os ?

(windows opencv binaries come with an own prepackaged ffmpeg (i think it’s this), while on linux, etc it will use, what you install locally)

also look at cv::getBuildInformation() output, which has a ‘VideoIO’ section