[FFmpeg-devel] [PATCH] avcodec/libx265: allow 12bit input formats, update warnings

2015-07-08 Thread Steve Borho
The range extension profiles have been fully ratified so there is no reason to require -strict experimental for them. However Main12 support in x265 is experimental so I check for that instead. --- libavcodec/libx265.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(

Re: [FFmpeg-devel] [PATCH] configure: Check for x265_api_get

2015-06-26 Thread Steve Borho
gt; +enabled libx265 && require_pkg_config x265 x265.h x265_api_get && > { check_cpp_condition x265.h "X265_BUILD >= 57" > || > die "ERROR: libx265 version must be >= 57."; } > enabled libxavs &a

[FFmpeg-devel] [PATCH] libavcodec/x265: detect csps in libx265_encode_init_csp()

2015-05-17 Thread Steve Borho
Without this change, if you link with an 8bit libx265 and try to specify a 10bit input color space via: ffmpeg -i in.mov -c:v libx265 -pix_fmt yuv420p10le out.mp4 It will error with: Incompatible pixel format 'yuv420p10le' for codec 'libx265', auto-selecting format 'yuv420p' With this fix