MrKepzie / Natron

Open-source compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
www.natron.fr
GNU General Public License v2.0
1.49k stars 163 forks source link

writing 10-bit H.264/x264 (and 10- and 12-bit H.265/x265) #1579

Closed devernay closed 6 years ago

devernay commented 7 years ago

Problem

x264 can be configured to encode 10-bit H.264 and ffmpeg can use it, but the version in Natron uses an 8-bit x268 and this an 8-bit ffmpeg-x264

http://www.ffmpeg.org/ffmpeg-codecs.html#Supported-Pixel-Formats

x264 supports 8- to 10-bit color spaces. The exact bit depth is controlled at x264’s configure time. FFmpeg only supports one bit depth in one particular build. In other words, it is not possible to build one FFmpeg with multiple versions of x264 with different bit depths.

Due to limited compatibility of devices and software with 10-bit H.264, we cannot switch to 10-bit, unless a newer version of ffmpeg appears that supports both 8- and 10-bit x264.

Same goes with x265 and 8/10/12-bit.

Expected behavior:

Being able to select encoding depth for x264 and x265

Versions

devernay commented 6 years ago

Closing it. we won't support 10bit encoding with x264 in future binary releases, only 8bit. There are other formats (HEVC, DNxHR, ProRes) which are more suitable for 10bit)