Opened 3 years ago
Closed 3 years ago
#9453 closed defect (fixed)
Overlay with negative x/y produces artefacts
Reported by: | Jozef Chutka | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | 4.3.2 | Keywords: | overlay |
Cc: | Jozef Chutka | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
Summary of the bug:
Overlaying image/movie over main with alpha channel (see [shape]) produces ugly artefacts esp. when used with negative x/y.
However, when color=c=0x000000 (no alpha) or x/y is positive there are no visible artefacts.
How to reproduce:
ffmpeg -filter_complex_script filter.txt -frames:v 1 out.png -y
filter.txt:
color=c=0xff0000:size=1280x720[main]; color=c=0x00000000:size=500x500[shape]; movie=640x640.jpg,[shape]overlay=y=-10,[main]overlay
Actually using ffmpeg 4.4, but this version is not avialble in version dropdown in this form.
Attachments (2)
Change History (5)
by , 3 years ago
by , 3 years ago
Attachment: | 640x640.jpg added |
---|
comment:1 by , 3 years ago
Description: | modified (diff) |
---|
comment:2 by , 3 years ago
comment:3 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I am aware that there are other ways to accomplish what I am trying to do, but this piece of filter comes from large one and current form is the minimum needed to replicate the issue.