[FFmpeg-trac] #7819(avfilter:closed): It appears the overlay filter doesn't like odd numbers?..

FFmpeg trac at avcodec.org
Fri Mar 29 21:04:29 EET 2019


#7819: It appears the overlay filter doesn't like odd numbers?..
------------------------------------+------------------------------------
             Reporter:  gdgsdg123   |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  minor       |                Component:  avfilter
              Version:  git-master  |               Resolution:  invalid
             Keywords:  overlay     |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by gdgsdg123):

 Replying to [comment:1 Gyan]:
 > The overlay filter defaults to creating a yuv420p output frame so it
 will round down the x, y values so that they are even integers. To avoid
 this, add option `format=auto` or `format=rgb` e.g. `-filter_complex
 overlay=1:1:format=rgb`
 Hmm...

 Or tweak the overlay input source. (using a .png file of the same
 dimensions as the output, background transparent)

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


More information about the FFmpeg-trac mailing list