A follow up: Shouldn't ffmpeg according to the reference below, list 'yuv422p10le' among the supported pixel formats on my system? ffmpeg -h encoder=libx264 ......... Supported pixel formats: yuv420p yuvj420p yuv422p yuvj422p yuv444p yuvj444p nv12 nv16 nv21 ffmpeg -h encoder=libx265 ............ Supported pixel formats: yuv420p yuv422p yuv444p gbrp gray --------- Terje J. H https://video.stackexchange.com/questions/13164/encoding-422-in-10-bit-with-...
|ffmpeg|
If using |ffmpeg| you can see what pixel formats and bit depths are supported by libx264:
|$ ffmpeg -h encoder=libx264 [...] Supported pixel formats: yuv420p yuvj420p yuv422p yuvj422p yuv444p yuvj444p nv12 nv16 nv21 yuv420p10le yuv422p10le yuv444p10le nv20le |
10-bit pixel formats are: yuv420p10le, yuv422p10le, yuv444p10le.
||
Previously you had to compile x264 with |--bit-depth=10|, and then link your |ffmpeg| to either an 8-bit or 10-bit libx264, but that is now unnecessary. See Unify 8-bit and 10-bit CLI and libraries <https://git.videolan.org/?p=x264.git;a=commit;h=71ed44c7312438fac7c5c5301e45522e57127db4> for more info.
edited Nov 29 '18 at 19:23 <https://video.stackexchange.com/posts/13166/revisions>