hunter_config(
    ffmpeg
    VERSION
    ${HUNTER_ffmpeg_VERSION}
    CMAKE_ARGS
    FFMPEG_ENABLE_GPL=ON
    FFMPEG_ENABLE_LIBX264=ON
    FFMPEG_ENABLE_PROGRAMS=ON
    FFMPEG_ENABLE_AVFILTER=ON
    FFMPEG_ENABLE_MUXER=image2
    FFMPEG_ENABLE_DEMUXER=mov;image2
    FFMPEG_ENABLE_PROTOCOL=file
    FFMPEG_ENABLE_ENCODER=bmp
    FFMPEG_ENABLE_FILTER=scale;overlay
    FFMPEG_ENABLE_SWSCALE=ON
    FFMPEG_ENABLE_AUTODETECT=OFF
    FFMPEG_AUTOCONF_FLAGS=ON
)

hunter_config(
    OpenCV
    VERSION
    ${HUNTER_OpenCV_VERSION}
    CMAKE_ARGS
    WITH_FFMPEG=ON
    OPENCV_FFMPEG_USE_FIND_PACKAGE=YES
)
