[FFmpeg-trac] #9767(avfilter:new): rounding or +-1 error in rotate filter

FFmpeg trac at avcodec.org
Fri May 6 09:35:42 EEST 2022


#9767: rounding or +-1 error in rotate filter
-------------------------------------+-------------------------------------
             Reporter:  Michael      |                     Type:  defect
  Koch                               |
               Status:  new          |                 Priority:  normal
            Component:  avfilter     |                  Version:  git-
                                     |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 It seems there is a rounding or +-1 error in the "rotate" filter, visible
 as artifacts at the edge. Can be reproduced as follows:

 ffmpeg -f lavfi -i color=white:s=96x96 -vf
 drawbox=1:1:94:94:black:fill,rotate='PI/4' -frames 1 -y out.png
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9767>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list