LiTr icon indicating copy to clipboard operation
LiTr copied to clipboard

How can we Create a blurry background for the video

Open pawaom opened this issue 4 years ago • 1 comments

How can we Create a blurry background for the video

example

Blurred-background-video (1)

GL shaders can create blurred video but how to create a blurred background and overlay a normal video over it.

can we use GLSurfaceView ?

pawaom avatar Mar 17 '21 06:03 pawaom

Do you need the background to be static or animated? If static is good enough, you can do this now by following what FreeTransformVideoGlFragment does. If it needs to be animated and show blurred and zoomed version of original video frame, that will probably require writing a new filter. I will have to think about this, it is a very interesting problem and feels like LiTr "almost" supports this.

izzytwosheds avatar Mar 17 '21 13:03 izzytwosheds