#9742: vignette filter is not centered
-------------------------------------+-------------------------------------
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 |
-------------------------------------+-------------------------------------
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
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9742>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".