[x265] 1.7 release prep for package maintainers

Steve Borho steve at borho.org
Sat May 9 19:54:25 CEST 2015


Hello,

I have merged the default branch into stable in preparation for the 1.7
tag, which should happen next week.

If you maintain any binary packages of x265, please note that x265 now
supports a multi-lib API which allows applications to select between 8
bit and 10 bit internal bit depth at run time with just a little help
from package maintainers.

The core feature is this new x265_api_get() method, documented here:
http://x265.readthedocs.org/en/default/api.html#multi-library-interface

This method was introduced in version 1.6, and it has been further
improved to make it even easier for package maintainers to deal with.

The x265 package simply needs to install an 8bit libx265 (as a static
and/or shared library) together with its headers and pkg-config file so
that applications will find and build/link against the 8bit library by
default. *And* the package should provide the high-bit-depth build of
libx265 as a shared library under the name libx265_main10.so. That's all
it needs to do to allow applications (which use x265_api_get()) to pick
between 8bit and 10bit encodes at runtime. No shim libraries or
LD_PRELOAD hacks are necessary.

Alternatively, you should ship the high-bit-depth build as the default
libx265, and package the 8bpp build as libx265_main.so. This changes the
default bit depth, but still makes both bit depths available.

Let me know if you have any questions.

-- 
Steve Borho


More information about the x265-devel mailing list