[FFmpeg-trac] #8424(ffmpeg:new): Colour changes if scale height

FFmpeg trac at avcodec.org
Wed Dec 11 19:06:11 EET 2019


#8424: Colour changes if scale height
-------------------------------------+-------------------------------------
             Reporter:  Bassquake    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  ffmpeg       |                  Version:  git-
             Keywords:  colour       |  master
  shift                              |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 For some reason, when scaling the height, the colours shift. Skin tones
 become oranger.

 To reproduce (using a 720x576 video as example, to then scale the height
 by 1 pixel to 577px):
 {{{
 ffmpeg -i "720x576_video.avi" -vf "scale=720:577" -c:v huffyuv
 "output.avi"
 ffmpeg version: 96012
 built on windows 10 x64
 }}}

 This is only an example of using 1px scale. Colour changes whatever its
 set as including minus figures.

 '''Colour shift doesn't happen if alter scale width.'''

 So if do:
 {{{
 ffmpeg -i "720x576_video.avi" -vf "scale=721:576" -c:v huffyuv
 "output.avi"
 }}}
 Colours are correct.

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


More information about the FFmpeg-trac mailing list