libx264 8bit and 10bit support
|Reported by:||George Stoyanov||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Summary of the bug:
Currently ffmpeg doesn't support 10 bit encoding with libx264 unless it is compiled with 10bit support, but isn't it going to be much easier if you just add some separate libx264 encoders with 10 bit support, so that you can encode either in 8 bit or 10 bit. I searched on Internet and found plenty of other topics regarding this problem. Since 10 bit content will become more and more common I think it makes sense to include by default 10 bit h264 encoders to the list of supported ones. I have also checked my /usr/bin folder and found there /usr/bin/x264-10bit so by default the encoder is present upon installation of the x264 package.
How to reproduce:
ffmpeg -i <input> -c:v libx264 -pix_fmt yuv420p <8bit_output>
for the normal 8 bit encoding and:
ffmpeg -i <input> -c:v libx264-10bit -pix_fmt yuv420p10le <10bit_output>
for 10 bit encoding.
ffmpeg version 3.2.4-1build2 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (Ubuntu 6.3.0-8ubuntu1) 20170221
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.