How to enable avresample when build ffmpeg from source?

Viewed 1595

I am cross compiling ffmpeg for aarch64-none-linux-gnu platform.

I build this ffmpeg, is for my OpenCV built (VideoIO module requires ffmpeg).

After specifing my build-and-installed ffmpeg directories, build OpenCV, the cmake stage summary complains:

--   Video I/O:
--     FFMPEG:                      NO
--       avcodec:                   YES (59.1.100)
--       avformat:                  YES (59.2.101)
--       avutil:                    YES (57.0.100)
--       swscale:                   YES (6.0.100)
--       avresample:                NO
--     GStreamer:                   NO
--     v4l/v4l2:                    YES (linux/videodev2.h)

I would like to enable avresample for my ffmpeg build. However, I tried --enable-avresample but it says not-recognized.

How do I enable avresample during ffmpeg cross-compiling?

1 Answers
Related