您的位置:首页 > 教育 > 锐评 > 北京ui培训机构排行_中央经济工作会议什么时候开_优化百度涨_百度快照怎么打开

北京ui培训机构排行_中央经济工作会议什么时候开_优化百度涨_百度快照怎么打开

2025/2/23 6:28:23 来源:https://blog.csdn.net/u014686399/article/details/143331384  浏览:    关键词:北京ui培训机构排行_中央经济工作会议什么时候开_优化百度涨_百度快照怎么打开
北京ui培训机构排行_中央经济工作会议什么时候开_优化百度涨_百度快照怎么打开

滤镜介绍

drawgrid

官网链接 =》 FFmpeg Filters Documentation

drawgrid会在视频上画一个网格。

滤镜使用

参数
x                 <string>     ..FV.....T. set horizontal offset (default "0")y                 <string>     ..FV.....T. set vertical offset (default "0")width             <string>     ..FV.....T. set width of grid cell (default "0")w                 <string>     ..FV.....T. set width of grid cell (default "0")height            <string>     ..FV.....T. set height of grid cell (default "0")h                 <string>     ..FV.....T. set height of grid cell (default "0")color             <string>     ..FV.....T. set color of the grid (default "black")c                 <string>     ..FV.....T. set color of the grid (default "black")thickness         <string>     ..FV.....T. set grid line thickness (default "1")t                 <string>     ..FV.....T. set grid line thickness (default "1")replace           <boolean>    ..FV.....T. replace color & alpha (default false)
  • x,y  网格的左上角的位置
  • width(w),height(h) 表示一个网格中一个单元(小网格)的宽和高
  • color(c) 网格的颜色
  • thickness(t)  网格线的宽度
  • replace 是不是也在alpha上也画网格
案例

原图

ffmpeg -y -i ffm_media/liuyifei.jpeg  -filter_complex "drawgrid=width=100:height=100:thickness=2:color=red@0.5" result/drawgrid/drawgrid_test_default.jpg


 

ffmpeg -y -i ffm_media/liuyifei.jpeg  -filter_complex "drawgrid=w=iw/3:h=ih/3:t=2:c=white@0.5" result/drawgrid/drawgrid_test_001.jpg

## 祝你好运hope("大神多多指点")
topic("有问题可以交流呀")
concat("球球QUN", "61480", "9646")

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com