The easiest way is to use a CMake script, see
note you may need to update the script used in the post for the latest version of FFMpeg.
The easiest way is to use a CMake script, see
note you may need to update the script used in the post for the latest version of FFMpeg.