[FFmpeg-trac] #8459(avfilter:open): V360 + BLEND
FFmpeg
trac at avcodec.org
Sat Feb 22 22:59:36 EET 2020
#8459: V360 + BLEND
-------------------------------------+------------------------------------
Reporter: villmer | Owner: villmer
Type: enhancement | Status: open
Priority: wish | Component: avfilter
Version: git-master | Resolution:
Keywords: v360 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by mkoch):
Yes, this is a post-stitching process to soften the left of the two
vertical lines. Did you use the input image fli0z.png that you uploaded
here? It works only if you know exactly at which x position the vertical
line is. In this case between x=249 and x=250.
Your output image seems to be bigger than the original input image.
Here is a better Windows batch file that also softens the other line
between x=749 and x=750.
set "FF=c:\ffmpeg\ffmpeg" :: Path to FFmpeg
set "IN=fli0z.png" :: Input image
set "B1=249" :: Left side of first vertical border, right
side is at B1+1
set "B2=749" :: Left side of second vertical border, right
side is at B2+1
set "W=25" :: Width of interpolation area
%FF% -i %IN% -vf
"geq=cb_expr='cb(X,Y)':cr_expr='cr(X,Y)':lum_expr='lum(X,Y)+between(X,%B1%-%W%,%B1%)*lerp((X-%B1%+%W%)/%W%,0,lum(%B1%,Y)-lum(%B1%+1,Y))+between(X,%B2%-%W%,%B2%)*lerp((X-%B2%+%W%)/%W%,0,lum(%B2%,Y)-lum(%B2%+1,Y))',format=rgb24"
-y out.png
pause
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8459#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list