'Cropping an image in circular way using ffmpeg_python

I am overlaying an image on video using the ffmpeg_python package, I want to crop it into a circle before applying the overlay.

(
    ffmpeg
    .overlay(image_name.filter('scale', width = 10, height = 10), x= 1, y= 1)
)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source