Opened 2 years ago
Closed 2 years ago
#9742 closed defect (invalid)
vignette filter is not centered
Reported by: | Michael Koch | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
The vignette effect isn't centered in the frame, if the default values for x0, y0 are used:
ffmpeg -f lavfi -i color=white:size=8x8 -vf vignette=PI/4 -frames 1 -y out.png
It would be better to use (w-1)/2 and (h-1)/2 as default values:
ffmpeg -f lavfi -i color=white:size=8x8 -vf vignette=PI/4:x0=(w-1)/2:y0=(h-1)/2 -frames 1 -y out.png
Note:
See TracTickets
for help on using tickets.