You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BUILD.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,15 +62,16 @@ Windows 10 or Windows 11 with the following software packages:
62
62
- Make sure to install the the correct SDK for the targeted system arch - x86_64 or ARM64
63
63
-[FFMPEG libraries for Windows]
64
64
- Download the latest version of the FFMPEG shared libraries archive from https://github.com/BtbN/FFmpeg-Builds/releases
65
-
- The archive must have the following pattern in the name: ffmpeg-*-win64-*-shared.zip
66
-
- Example download link: https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl-shared.zip
67
-
- Extract to <APP_INSTALLED_LOC>\bin\libs\ffmpeg
68
-
- Add the path <APP_INSTALLED_LOC>\bin\libs\ffmpeg\win64\ to your system PATH
69
-
- Verify that <APP_INSTALLED_LOC>\bin\libs\ffmpeg\win64\bin contains:
65
+
- The archive must have the following pattern in the name: For Windows x86_64 ffmpeg-*-win64-*-shared.zip
66
+
- Example download link:
67
+
For Windows x86_64 https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl-shared.zip
68
+
For Windows ARM64 https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-winarm64-lgpl-shared.zip
69
+
- Extract to <APP_INSTALLED_LOC>\vk_video_decoder\bin\libs\ffmpeg
70
+
- Verify that <APP_INSTALLED_LOC>\vk_video_decoder\bin\libs\ffmpeg\win64\bin or <APP_INSTALLED_LOC>\vk_video_decoder\bin\libs\ffmpeg\winarm64\bin contains:
70
71
- avformat-59.dll
71
72
- avutil-59.dll
72
73
- avcodec-59.dll
73
-
- Verify that <APP_INSTALLED_LOC>\bin\libs\ffmpeg\win64\lib contains the corresponding .lib files
74
+
- Verify that <APP_INSTALLED_LOC>\vk_video_decoder\bin\libs\ffmpeg\win64\lib or <APP_INSTALLED_LOC>\vk_video_decoder\bin\libs\ffmpeg\winarm64\lib contains the corresponding .lib files
set(FFMPEG_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/vk_video_decoder/bin/libs/ffmpeg/win64/include"CACHEPATH"Path to FFMPEG include directory" FORCE)
72
-
message(STATUS"FFMPEG include location ${FFMPEG_INCLUDE_DIR}")
69
+
if ((CMAKE_SYSTEM_PROCESSORMATCHES"^aarch64") OR (CMAKE_SYSTEM_PROCESSORMATCHES"^arm64") OR (CMAKE_SYSTEM_PROCESSORMATCHES"^ARM64"))
70
+
set(VULKAN_FFMPEG_LIB_PATH "${CMAKE_CURRENT_SOURCE_DIR}/vk_video_decoder/bin/libs/ffmpeg/winarm64/lib"CACHEPATH"Path to FFMPEG libs directory" FORCE)
71
+
message(STATUS"FFMPEG Windows ARM64 lib location ${VULKAN_FFMPEG_LIB_PATH}")
72
+
set(FFMPEG_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/vk_video_decoder/bin/libs/ffmpeg/winarm64/include"CACHEPATH"Path to FFMPEG include directory" FORCE)
73
+
message(STATUS"FFMPEG Windows ARM64 include location ${FFMPEG_INCLUDE_DIR}")
74
+
elseif ((CMAKE_SYSTEM_PROCESSORMATCHES"^arm") OR (CMAKE_SYSTEM_PROCESSORMATCHES"^ARM"))
75
+
set(VULKAN_FFMPEG_LIB_PATH "${CMAKE_CURRENT_SOURCE_DIR}/vk_video_decoder/bin/libs/ffmpeg/winarm/lib"CACHEPATH"Path to FFMPEG libs directory" FORCE)
76
+
message(STATUS"FFMPEG Windows ARM64 lib location ${VULKAN_FFMPEG_LIB_PATH}")
77
+
set(FFMPEG_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/vk_video_decoder/bin/libs/ffmpeg/winarm/include"CACHEPATH"Path to FFMPEG include directory" FORCE)
78
+
message(STATUS"FFMPEG Windows ARM64 include location ${FFMPEG_INCLUDE_DIR}")
79
+
else()
80
+
set(VULKAN_FFMPEG_LIB_PATH "${CMAKE_CURRENT_SOURCE_DIR}/vk_video_decoder/bin/libs/ffmpeg/win64/lib"CACHEPATH"Path to FFMPEG libs directory" FORCE)
81
+
message(STATUS"FFMPEG Windows x86_64 lib location ${VULKAN_FFMPEG_LIB_PATH}")
82
+
set(FFMPEG_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/vk_video_decoder/bin/libs/ffmpeg/win64/include"CACHEPATH"Path to FFMPEG include directory" FORCE)
83
+
message(STATUS"FFMPEG Windows x86_64 include location ${FFMPEG_INCLUDE_DIR}")
84
+
endif()
73
85
else()
74
86
message( STATUS"The location of the FFMPEG Lib: ${VULKAN_FFMPEG_LIB_PATH} expected the library to be installed to the regular system libs location" )
0 commit comments