Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#9379 closed defect (invalid)

v360 filter with alpha_mask and dfisheye output

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

There is a small bug in the v360 filter with dfisheye output if the alpha_mask=1 option is used. A vertical line in the left half is made transparent.
In this example I'm filling the transparent pixels with red color to show the problem:

ffmpeg -f lavfi -i color=white:s=800x400 -f lavfi -i color=red:s=800x400 -lavfi [0]v360=e:dfisheye:alpha_mask=1[a],[1][a]overlay -frames 1 -y out.png

Suggestion for improvement: For fisheye and dfisheye output, there should be an option to make the output circular and fill the outer area transparent. In most cases the outer area of the circle is not required, and it might become faster.

Change History (2)

comment:1 by Elon Musk, 3 years ago

Resolution: invalid
Status: newclosed

not a bug

comment:2 by Michael Koch, 3 years ago

I don't know why, but the bug has disappeared now.
My suggestion for improvement is still valid. The workaround is to overlay a circular mask. But it's uneffective to calculate the outer area and then mask it away.

Note: See TracTickets for help on using tickets.