[FFmpeg-trac] #6774(avcodec:new): libx264 8bit and 10bit support

FFmpeg trac at avcodec.org
Tue Oct 24 11:26:59 EEST 2017


#6774: libx264 8bit and 10bit support
-------------------------------------+-------------------------------------
             Reporter:  gstoyanov    |                     Type:
               Status:  new          |  enhancement
            Component:  avcodec      |                 Priority:  normal
             Keywords:  x264, h264,  |                  Version:  3.2.4
  10bit, 8bit                        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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:
 For example
 {{{
 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.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6774>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list