[FFmpeg-devel] [PATCH 2/2] libx265: Enable 12-bit encoding

James Almer jamrial at gmail.com
Sat Aug 22 21:26:22 CEST 2015

On 22/08/15 3:17 PM, Stephen Hutchinson wrote:
> This was introduced in x265 in July, and the experimental warnings
> about it in libx265 were recently removed, so there shouldn't be
> any reason to have it as experimental here.
> The configure detection is bumped to X265_BUILD >= 60, as the
> requisite 12-bit querying ability in x265_api_get was added in
> API version 59, on May 15th (a month and a half before 12-bit
> encoding was added to x265).

The warnings were removed from the master branch of libx265 three days
ago, and X265_BUILD in that branch is 71.
libx265 1.8 will be tagged from the stable branch in the coming days,
which is not up to date with master (X265_BUILD is 68) and of course
means it still has the 12bit warnings. It however looks like no changes
related to 12bits encoding were added to master since then, so even with
warnings 1.8 should be good.
Hopefully they will backport the warning removal commit if that's the
case before tagging the new release.

I don't really think checking for 60 is enough to get working 12bit
non-experimental encoding. 68 will probably be a safer bet.
And regardless of which we end up checking for, this change will break
support for libx265 1.7, which is not a good idea at the very least until
1.8 is released.

More information about the ffmpeg-devel mailing list