Unable to read h264 video on PiZero with C++ static build

I think…
In a previous cmake I had a missing avresample. And after installing this lib with sudo apt, now I can see the YES for avresample. So I think the cmake is good…

Here is the cmake command I use:
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=OFF -D OPENCV_EXTRA_MODULES_PATH=$(TMP_DIR)opencv/opencv_contrib-$(OPENCV_VERSION)/modules -D BUILD_DOCS=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_opencv_java=OFF -D BUILD_opencv_python=NO -D BUILD_opencv_python2=NO -D BUILD_opencv_python3=NO -D ENABLE_VFPV2=ON -D WITH_JASPER=OFF -D OPENCV_GENERATE_PKGCONFIG=ON ..

I think my issue is similar to: OpenCV 4.3.0 not including FFmpeg build (Raspbian 8.3.0) · Issue #17140 · opencv/opencv (github.com)

But I can’t see any solution in this link…