Building game, videoplayback gem not building

Every time I try and build my game with the video playback gem I get a fatal error has occurred message. This is what I get in the build:

Decoder.cpp
c:\amazon\lumberyard\1.21.2.0\dev\gems\videoplayback\code\source\Decoder.h(32): fatal error C1083: Cannot open include file: ‘libavcodec/avcodec.h’: No such file or directory
VideoPlaybackSystemComponent.cpp
c:\amazon\lumberyard\1.21.2.0\dev\gems\videoplayback\code\source\Decoder.h(32): fatal error C1083: Cannot open include file: ‘libavcodec/avcodec.h’: No such file or directory
VideoPlaybackGameComponent.cpp
c:\amazon\lumberyard\1.21.2.0\dev\gems\videoplayback\code\source\Decoder.h(32): fatal error C1083: Cannot open include file: ‘libavcodec/avcodec.h’: No such file or directory
VideoPlaybackModule.cpp
c:\amazon\lumberyard\1.21.2.0\dev\gems\videoplayback\code\source\Decoder.h(32): fatal error C1083: Cannot open include file: ‘libavcodec/avcodec.h’: No such file or directory
Build failed
<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>
Compilation failed - File: ‘Decoder.cpp.3447471.obj’, Module: ‘VideoPlayback’, Configuration: ‘win_x64_vs2017|performance’, error code 2
Input Files: ‘c:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source\Decoder.cpp’
Output Files: ‘c:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code\Source\Decoder.cpp.3447471.obj’
Command: ‘C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\CL.exe /bigobj /nologo /W3 /WX /MP /Gy /GF /Gm- /fp:fast /Zc:wchar_t /Zc:forScope /Gd /Zc:inline /wd4530 /wd4577 /FS /Ox /Ob2 /Ot /Oi /Oy /GR- /showIncludes /MD /Z7 /YuVideoPlayback_precompiled.h /Fpc:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code\Source\VideoPlayback_precompiled.3447471.pch /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Include /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\CryEngine\CryCommon /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\CryEngine\CryAction /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source\Platform\Windows /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\CryLegacy\Code\Source\CryAction /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\CryLegacy\Code\Source\CryAction /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Code\Framework\AzFramework /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzFramework /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzFramework\Platform\Windows /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Code\Framework\GridMate /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\GridMate /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\GridMate\Platform\Windows /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Code\Framework\AzCore /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzCore /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzCore\Platform\Windows /IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include /IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\rapidjson\rapidjson-1.0.2.1\include /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\rapidxml\1.13-modified.1\include /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\Lua\5.1.1.8-az /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib\common /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib\compress /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib\decompress /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\lz4\r128-pkg.2\lib /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zlib\1.2.8-pkg.2\include /DPRODUCT_SKU_default /D_WIN32 /D_WIN64 /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING /D_ENABLE_EXTENDED_ALIGNED_STORAGE /D_RELEASE /DPERFORMANCE_BUILD /DNDEBUG /DSCRIPTCANVAS_ERRORS_ENABLED /DAZ_RENDER_TO_TEXTURE_GEM_ENABLED=1 /DEXE_VERSION_INFO_0=1 /DEXE_VERSION_INFO_1=21 /DEXE_VERSION_INFO_2=2 /DEXE_VERSION_INFO_3=0 /DPLATFORM_SUPPORTS_AWS_NATIVE_SDK /DUSE_WINDOWS_DLL_SEMANTICS /D_MT /D_DLL /DLY_METRICS_BUILD_TIME=0 /D_LIB /DAZ_MONOLITHIC_BUILD /DUSE_ZSTD c:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source\Decoder.cpp /c /Fo c:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code\Source\Decoder.cpp.3447471.obj’
Output:
Decoder.cpp
c:\amazon\lumberyard\1.21.2.0\dev\gems\videoplayback\code\source\Decoder.h(32): fatal error C1083: Cannot open include file: ‘libavcodec/avcodec.h’: No such file or directory
<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>

<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>
Compilation failed - File: ‘VideoPlaybackSystemComponent.cpp.3447471.obj’, Module: ‘VideoPlayback’, Configuration: ‘win_x64_vs2017|performance’, error code 2
Input Files: ‘c:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source\VideoPlaybackSystemComponent.cpp’
Output Files: ‘c:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code\Source\VideoPlaybackSystemComponent.cpp.3447471.obj’
Command: ‘C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\CL.exe /bigobj /nologo /W3 /WX /MP /Gy /GF /Gm- /fp:fast /Zc:wchar_t /Zc:forScope /Gd /Zc:inline /wd4530 /wd4577 /FS /Ox /Ob2 /Ot /Oi /Oy /GR- /showIncludes /MD /Z7 /YuVideoPlayback_precompiled.h /Fpc:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code\Source\VideoPlayback_precompiled.3447471.pch /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Include /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\CryEngine\CryCommon /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\CryEngine\CryAction /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source\Platform\Windows /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\CryLegacy\Code\Source\CryAction /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\CryLegacy\Code\Source\CryAction /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Code\Framework\AzFramework /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzFramework /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzFramework\Platform\Windows /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Code\Framework\GridMate /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\GridMate /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\GridMate\Platform\Windows /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Code\Framework\AzCore /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzCore /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzCore\Platform\Windows /IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include /IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\rapidjson\rapidjson-1.0.2.1\include /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\rapidxml\1.13-modified.1\include /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\Lua\5.1.1.8-az /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib\common /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib\compress /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib\decompress /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\lz4\r128-pkg.2\lib /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zlib\1.2.8-pkg.2\include /DPRODUCT_SKU_default /D_WIN32 /D_WIN64 /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING /D_ENABLE_EXTENDED_ALIGNED_STORAGE /D_RELEASE /DPERFORMANCE_BUILD /DNDEBUG /DSCRIPTCANVAS_ERRORS_ENABLED /DAZ_RENDER_TO_TEXTURE_GEM_ENABLED=1 /DEXE_VERSION_INFO_0=1 /DEXE_VERSION_INFO_1=21 /DEXE_VERSION_INFO_2=2 /DEXE_VERSION_INFO_3=0 /DPLATFORM_SUPPORTS_AWS_NATIVE_SDK /DUSE_WINDOWS_DLL_SEMANTICS /D_MT /D_DLL /DLY_METRICS_BUILD_TIME=0 /D_LIB /DAZ_MONOLITHIC_BUILD /DUSE_ZSTD c:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source\VideoPlaybackSystemComponent.cpp /c /Fo c:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code\Source\VideoPlaybackSystemComponent.cpp.3447471.obj’
Output:
VideoPlaybackSystemComponent.cpp
c:\amazon\lumberyard\1.21.2.0\dev\gems\videoplayback\code\source\Decoder.h(32): fatal error C1083: Cannot open include file: ‘libavcodec/avcodec.h’: No such file or directory
<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>

<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>
Compilation failed - File: ‘VideoPlaybackGameComponent.cpp.3447471.obj’, Module: ‘VideoPlayback’, Configuration: ‘win_x64_vs2017|performance’, error code 2
Input Files: ‘c:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source\VideoPlaybackGameComponent.cpp’
Output Files: ‘c:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code\Source\VideoPlaybackGameComponent.cpp.3447471.obj’
Command: ‘C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\CL.exe /bigobj /nologo /W3 /WX /MP /Gy /GF /Gm- /fp:fast /Zc:wchar_t /Zc:forScope /Gd /Zc:inline /wd4530 /wd4577 /FS /Ox /Ob2 /Ot /Oi /Oy /GR- /showIncludes /MD /Z7 /YuVideoPlayback_precompiled.h /Fpc:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code\Source\VideoPlayback_precompiled.3447471.pch /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Include /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\CryEngine\CryCommon /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\CryEngine\CryAction /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source\Platform\Windows /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\CryLegacy\Code\Source\CryAction /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\CryLegacy\Code\Source\CryAction /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Code\Framework\AzFramework /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzFramework /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzFramework\Platform\Windows /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Code\Framework\GridMate /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\GridMate /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\GridMate\Platform\Windows /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Code\Framework\AzCore /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzCore /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzCore\Platform\Windows /IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include /IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\rapidjson\rapidjson-1.0.2.1\include /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\rapidxml\1.13-modified.1\include /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\Lua\5.1.1.8-az /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib\common /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib\compress /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib\decompress /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\lz4\r128-pkg.2\lib /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zlib\1.2.8-pkg.2\include /DPRODUCT_SKU_default /D_WIN32 /D_WIN64 /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING /D_ENABLE_EXTENDED_ALIGNED_STORAGE /D_RELEASE /DPERFORMANCE_BUILD /DNDEBUG /DSCRIPTCANVAS_ERRORS_ENABLED /DAZ_RENDER_TO_TEXTURE_GEM_ENABLED=1 /DEXE_VERSION_INFO_0=1 /DEXE_VERSION_INFO_1=21 /DEXE_VERSION_INFO_2=2 /DEXE_VERSION_INFO_3=0 /DPLATFORM_SUPPORTS_AWS_NATIVE_SDK /DUSE_WINDOWS_DLL_SEMANTICS /D_MT /D_DLL /DLY_METRICS_BUILD_TIME=0 /D_LIB /DAZ_MONOLITHIC_BUILD /DUSE_ZSTD c:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source\VideoPlaybackGameComponent.cpp /c /Fo c:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code\Source\VideoPlaybackGameComponent.cpp.3447471.obj’
Output:
VideoPlaybackGameComponent.cpp
c:\amazon\lumberyard\1.21.2.0\dev\gems\videoplayback\code\source\Decoder.h(32): fatal error C1083: Cannot open include file: ‘libavcodec/avcodec.h’: No such file or directory
<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>

<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>
Compilation failed - File: ‘VideoPlaybackModule.cpp.3447471.obj’, Module: ‘VideoPlayback’, Configuration: ‘win_x64_vs2017|performance’, error code 2
Input Files: ‘c:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source\VideoPlaybackModule.cpp’
Output Files: ‘c:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code\Source\VideoPlaybackModule.cpp.3447471.obj’
Command: ‘C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\CL.exe /bigobj /nologo /W3 /WX /MP /Gy /GF /Gm- /fp:fast /Zc:wchar_t /Zc:forScope /Gd /Zc:inline /wd4530 /wd4577 /FS /Ox /Ob2 /Ot /Oi /Oy /GR- /showIncludes /MD /Z7 /YuVideoPlayback_precompiled.h /Fpc:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code\Source\VideoPlayback_precompiled.3447471.pch /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Include /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\CryEngine\CryCommon /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\CryEngine\CryAction /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source\Platform\Windows /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\CryLegacy\Code\Source\CryAction /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Gems\CryLegacy\Code\Source\CryAction /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Code\Framework\AzFramework /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzFramework /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzFramework\Platform\Windows /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Code\Framework\GridMate /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\GridMate /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\GridMate\Platform\Windows /Ic:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Code\Framework\AzCore /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzCore /Ic:\Amazon\Lumberyard\1.21.2.0\dev\Code\Framework\AzCore\Platform\Windows /IC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include /IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt /IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\rapidjson\rapidjson-1.0.2.1\include /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\rapidxml\1.13-modified.1\include /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\Lua\5.1.1.8-az /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib\common /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib\compress /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zstd\1.35\lib\decompress /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\lz4\r128-pkg.2\lib /IC:\Amazon\Lumberyard\1.21.2.0\3rdParty\zlib\1.2.8-pkg.2\include /DPRODUCT_SKU_default /D_WIN32 /D_WIN64 /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING /D_ENABLE_EXTENDED_ALIGNED_STORAGE /D_RELEASE /DPERFORMANCE_BUILD /DNDEBUG /DSCRIPTCANVAS_ERRORS_ENABLED /DAZ_RENDER_TO_TEXTURE_GEM_ENABLED=1 /DEXE_VERSION_INFO_0=1 /DEXE_VERSION_INFO_1=21 /DEXE_VERSION_INFO_2=2 /DEXE_VERSION_INFO_3=0 /DPLATFORM_SUPPORTS_AWS_NATIVE_SDK /DUSE_WINDOWS_DLL_SEMANTICS /D_MT /D_DLL /DLY_METRICS_BUILD_TIME=0 /D_LIB /DAZ_MONOLITHIC_BUILD /DUSE_ZSTD c:\Amazon\Lumberyard\1.21.2.0\dev\Gems\VideoPlayback\Code\Source\VideoPlaybackModule.cpp /c /Fo c:\Amazon\Lumberyard\1.21.2.0\dev\BinTemp\win_x64_vs2017_performance\Gems\VideoPlayback\Code\Source\VideoPlaybackModule.cpp.3447471.obj’
Output:
VideoPlaybackModule.cpp
c:\amazon\lumberyard\1.21.2.0\dev\gems\videoplayback\code\source\Decoder.h(32): fatal error C1083: Cannot open include file: ‘libavcodec/avcodec.h’: No such file or directory
<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>

Note* I have visual studios 2017 applied, do I have to switch to 2015 to use videoplayback gem?

hi, did you read this docs?
https://docs.aws.amazon.com/en_us/lumberyard/latest/userguide/component-videoplayback.html

especially section “Prerequisites
did you down load FFmpeg or LibAV from web?
for me it’s just working fine, after i’m install those SDKs

1 Like

Thanks @fluffy, but do you need both installed or can you just pick one like LibAV over FFmpeg?

personally I install both but you can try use one of them
doc’s says section " Setting Up Video Playback" that:

To set up video playback in Lumberyard, you must install either FFmpeg or LibAV.

  • If both are installed, Lumberyard uses FFmpeg.
  • To use LibAV, remove FFmpeg and see Installing LibAV.

Right now I got it to work with just LibAV. I am going to stick with it for now, (since it took me 3 days to get this one to work) but on the next version of lumberyard I will come back to try FFmpeg and see what if any the difference is between them. Thanks for your help @fluffy can’t thank you enough. :slightly_smiling_face: