I have also tried to look for a compiled version of x265.dll but failed to find anything other than the compiled version of x265.exe, which I really can't incorporate into my app.
Is there anyone here that used VideoLAN's x265 encoder before, because I would really need some pointers?
The reason is that I have to store the frames as I get them.
I have tried using FFmpeg library just before doing this and have tried their c example to encode some images, but was getting a runtime error that the codec does not exist.
I then found out that FFmpeg has to be compiled together with the x265 encoder to be able to work. But I couldn't figure out how to do that and have decided to use x265 directly.
Side note: I have previously managed to store the frames
as image.TGA (it's easy because I can just dump the uncompressed frame into it)
as image.PNG (using lodepng encoder which results in a file 5% the original size)
and have also tried using Direct3D's built-in function SaveTextureToFile, which can export in a variety of file formats like .JPG or .PNG, but have opted for lodepng because it has better compression plus I didn't want to make the app just for Windows.
If I don't find a way to use this x265 library I'll probably either write my own encoder (which would probably have pretty bad compression) or use an external tool to convert the .png images into video.