简体   繁体   中英

FFMPEG: How to apply and erosion filter on image

I was wondering if there is a way in which I can apply an erosion filter to an image using ffmpeg.

FFmpeg has an erosion filter.

For an image, the command template is

ffmpeg -i image -vf erosion -q:v 5 out.jpg

q:v is unrelated to the erosion filter and sets compression level of the JPEG output. Lower is better.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM