--- CMakeLists.txt.orig	2023-04-25 11:15:51 UTC
+++ CMakeLists.txt
@@ -260,6 +260,7 @@ if(ENABLE_VIDEO)
 	add_definitions(-DVIDEO_ENABLED)
 endif()
 if(ENABLE_FFMPEG)
+	set(CMAKE_PREFIX_PATH "%%LOCALBASE%%/ffmpeg4;%%LOCALBASE%%/ffmpeg4/libexec")
 	find_package(FFMpeg REQUIRED)
 else()
 	add_definitions(-DNO_FFMPEG)
