x265 x265 Documentation :http://x265.readthedocs.org/en/default/ 

1、编译库

https://bitbucket.org/multicoreware/x265/src/tip/build/README.txt?at=default 

2、无法定位程序输入点x265_encoder_open_7于libx265.dll问题

 使用自己编译的x265动态库与ffmpeg中也用了x265动态库冲突问题。

自己编译的版本#define X265_BUILD 24 ,x265_encoder_open_24
而ffmpeg中的是7,,x265_encoder_open_7
如果两个dll的名字都叫libx265.lib的话,如果使用的是24版本的libx265.dll,因为用了ffmpeg,会出现无法定位程序输入点x265_encoder_open_7于libx265.dll.
同理,使用ffmpeg下的libx265.dll则会出现无法定位程序输入点x265_encoder_open_24于libx265.dll.

所以自己编译x265动态库时不叫libx265.dll即可。