On 26/12/2017 13:54, James Almer wrote:
You can still build libx264 with support for only 8 and 10 bits after
this multibitdepth change, so ideally you'd still check for what's
available based on X264_BIT_DEPTH and use the new enum array if it's 0.
I have a patch doing this but was waiting for some feedback elsewhere
before sending it.
I decided to not go that way so if somebody changes the 8-only library
with the 10-only library or the hydra he wouldn't have to rebuild Libav.
Asking for an unsupported pixel format gets you an error message anyway.
./avconv -filter_complex testsrc -pix_fmt yuv422p10 -c:v libx264
/tmp/out.mkv
avconv version v13_dev0-1426-g8436a9e03f, Copyright (c) 2000-2017 the
Libav developers
built on Dec 26 2017 15:37:04 with Apple LLVM version 9.0.0
(clang-900.0.39.2)
File '/tmp/out.mkv' already exists. Overwrite ? [y/N] y
Stream mapping:
(null) -> Stream #0:0 (libx264)
Press ctrl-c to stop encoding
x264 [error]: not compiled with 10 bit depth support
lu
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel