Open kliffgomel opened 4 years ago
there is still no solution .. lack of a solution deprives ffmpeg of support for 10 and 12 bit hevc encoding
Do you know what additional libraries are needed to enable these options?
In the gcc version, no additional libraries are needed. 12, 10 and 8 bit shared libraries are compiled and linked into a single executable file.
When enable these options on Windows and without adding other libs, I got these link errors:
api.cpp.obj : error LNK2019: unresolved external symbol "struct x265_api const * __cdecl x265_8bit::x265_api_get_192(int)" (?x265_api_get_192@x265_8bit@@YAPBUx265_api@@H@Z) referenced in function _x265_api_get_192
api.cpp.obj : error LNK2019: unresolved external symbol "struct x265_api const * __cdecl x265_8bit::x265_api_query(int,int,int *)" (?x265_api_query@x265_8bit@@YAPBUx265_api@@HHPAH@Z) referenced in function _x265_api_query
api.cpp.obj : error LNK2019: unresolved external symbol "struct x265_api const * __cdecl x265_10bit::x265_api_get_192(int)" (?x265_api_get_192@x265_10bit@@YAPBUx265_api@@H@Z) referenced in function _x265_api_get_192
api.cpp.obj : error LNK2019: unresolved external symbol "struct x265_api const * __cdecl x265_10bit::x265_api_query(int,int,int *)" (?x265_api_query@x265_10bit@@YAPBUx265_api@@HHPAH@Z) referenced in function _x265_api_query
api.cpp.obj : error LNK2019: unresolved external symbol "struct x265_api const * __cdecl x265_12bit::x265_api_get_192(int)" (?x265_api_get_192@x265_12bit@@YAPBUx265_api@@H@Z) referenced in function _x265_api_get_192
api.cpp.obj : error LNK2019: unresolved external symbol "struct x265_api const * __cdecl x265_12bit::x265_api_query(int,int,int *)" (?x265_api_query@x265_12bit@@YAPBUx265_api@@HHPAH@Z) referenced in function _x265_api_query
Add x265 compilation options with multilib support for 8, 10 and 12 bit color depths.