Linking error: LNK1181: cannot open input file 'DirectXTex.lib
1>------ Rebuild All started: Project: DirectXTex, Configuration: Release x64 ------
1>DirectXTexUtil.cpp
1>BC.cpp
1>BC4BC5.cpp
1>BC6HBC7.cpp
1>BCDirectCompute.cpp
1>DirectXTexCompress.cpp
1>DirectXTexCompressGPU.cpp
1>DirectXTexConvert.cpp
1>DirectXTexD3D11.cpp
1>DirectXTexD3D12.cpp
1>DirectXTexDDS.cpp
1>DirectXTexFlipRotate.cpp
1>DirectXTexHDR.cpp
1>DirectXTexImage.cpp
1>DirectXTexMipMaps.cpp
1>DirectXTexMisc.cpp
1>DirectXTexNormalMaps.cpp
1>DirectXTexPMAlpha.cpp
1>DirectXTexResize.cpp
1>DirectXTexTGA.cpp
1>DirectXTexWIC.cpp
1>Generating Code...
1>DirectXTex_Desktop_2019_Win10.vcxproj -> ...\VideoRecorder\DirectXTex\DirectXTex\Bin\Desktop_2019_Win10\x64\Release\DirectXTex.lib
2>------ Rebuild All started: Project: VideoRecorder, Configuration: Release x64 ------
2>VideoRecorder.cpp
2>...\VideoRecorder\VideoRecorder.cpp(79,4): warning C4996: 'av_register_all': was declared deprecated
2>...\VideoRecorder\VideoRecorder.cpp(80,4): warning C4996: 'avcodec_register_all': was declared deprecated
2>...\VideoRecorder\VideoRecorder.cpp(468,44): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>...\VideoRecorder\VideoRecorder.cpp(468,44): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data
2>...\VideoRecorder\VideoRecorder.cpp(595,67): warning C4996: 'std::codecvt_utf8<wchar_t,1114111,(std::codecvt_mode)0>': warning STL4017: std::wbuffer_convert, std::wstring_convert, and the
Need to fix linker path reference:

fatal error LNK1181: cannot open input file 'avcodec.lib'
their is no avcodec.lib in C:/ffmpeg/ their is exist avcode.h does it requires to create avcodec.lib
@sahilsharma-dot 'avcodec.lib' should be in 'lib' directory, appropriate variant of ffmpeg build with development files contains it. Also do not forget to specify path to ffmpeg in 'FFMPEG_ROOT' macro in property pages.
yes it was built the library on the same day. i forgot to. Mark the issue solved sorry for that Mr ash3d will it be able to record ui in android like when I project video using android camera onto ui. Will it be able to record it . I have to make libraries and lot of other stuff for android and I think if it is possible than I will definately go for thanks for replying quickly
On Wed, 14 Oct, 2020, 12:34 pm ash, [email protected] wrote:
@sahilsharma-dot https://github.com/sahilsharma-dot 'avcodec.lib' should be in 'lib' directory, appropriate variant of ffmpeg build with development files contains it. Also do not forget to specify path to ffmpeg in 'FFMPEG_ROOT' macro in property pages.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ash3D/VideoRecorder/issues/1#issuecomment-708205108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQWZO6XCEWH6J7H2C3MBTILSKVEPHANCNFSM4M3WQWAQ .
@sahilsharma-dot Do you use this lib diretly or build it for Unreal Engine plugin? This lib just takes bitmap and encodes it to video stream. It's completely up to you for what pixels you are feeding if you use it directly. If you are interested in capturing Unreal Engine's UI, UEVideoRecorder has trick to support UI capturing if 'CaptureGUI' setting enabled. It worked well with older UE4 version on Windows DX11. I didn't tested it with recent Unreal Engine versions and/or other UI subsystems. If they behave differenly other handling can potentially be required for UI.
thnaks. I will post here if it works.
On Sat, 17 Oct, 2020, 5:30 pm ash, [email protected] wrote:
@sahilsharma-dot https://github.com/sahilsharma-dot Do you use this lib diretly or build it for Unreal Engine plugin https://github.com/ash3D/UEVideoRecorder? This lib just takes bitmap and encodes it to video stream. It's completely up to you for what pixels you are feeding if you use it directly. If you are interested in capturing Unreal Engine's UI, UEVideoRecorder https://github.com/ash3D/UEVideoRecorder has trick to support UI capturing if 'CaptureGUI' setting enabled. It worked well with older UE4 version on Windows DX11. I didn't tested it with recent Unreal Engine versions and/or other UI subsystems. If they behave differenly other handling can potentially be required for UI.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ash3D/VideoRecorder/issues/1#issuecomment-710866119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQWZO6Q2NUTZZWUQMWB53ZLSLGBPPANCNFSM4M3WQWAQ .