News for hackers. Stuff that matters.
Re:Non-Rectangular Video Cropping with FFMpeg by the8472 on Sunday December 29, 2019 @09:38AM (#21906054)
Note that a few video codecs also support alpha these days, which could be used to preserve the mask and overlay the video over some background.

It even works on the web: https://files.catbox.moe/uu2ze0.webm (needs a non-black background)

Re:Non-Rectangular Video Cropping with FFMpeg by izietto on Sunday December 29, 2019 @01:42PM (#21907572)
here with a yellow background (edit: changed to a yellow-to-green circle-shaped radial gradient because why not): https://codepen.io/mdesantis/pen/RwNZEZJ
Re:Non-Rectangular Video Cropping with FFMpeg by pbhjpbhj on Sunday December 29, 2019 @02:45PM (#21907995)
Maybe, https://codepen.io/pbhj/pen/dyPzwEj instead - centre the video and put the gradient on the body to emphasise the matting?
Re:Non-Rectangular Video Cropping with FFMpeg by pbhjpbhj on Sunday December 29, 2019 @02:35PM (#21907932)
Firefox (Linux): I had to open dev tools, remove the bg-image that Firefox shows around media links, and then adjusting the bg-color showed the effect. Otherwise it just looked like a normal video.
Re:Non-Rectangular Video Cropping with FFMpeg by jpincheira on Sunday December 29, 2019 @09:56AM (#21906164)
Wow. Pretty cool. Had no idea about this.