[FFmpeg-trac] #3409(undetermined:reopened): Impossible to transcode full range RGB videos with libx264, and keep full range + proper colors

FFmpeg trac at avcodec.org
Sat Dec 26 09:08:45 EET 2020


#3409: Impossible to transcode full range RGB videos with libx264, and keep full
range + proper colors
-------------------------------------+-------------------------------------
             Reporter:  mzso         |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Balling):

 Why this is still open? As was said many times (#8937), ffplay does not
 support it properly (this is Won't FIX) and others need to have all of the
 following

 ffmpeg -i incorrect_color_h264.mp4 -c copy -colorspace bt709
 -color_primaries bt709 -color_trc bt709 out.mp4

 and ALSO (relating to this ticket) -color_range pc (that is just metadata,
 of course) and -pix_fmt yuvj444p (or any other with "j" in ffmpeg
 -pix_fmts). Then if you do all correctly, it is good.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3409#comment:21>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list