当前位置:网站首页>ffmpeg drawtext add text watermark
ffmpeg drawtext add text watermark
2022-08-05 09:28:00 【Ternence_Hsu】
API reference: http://ffmpeg.org/ffmpeg-all.html#drawtext-1 Refer to the function implementation of drawtext to set the relevant value
demo1 : Implement add
ffmpeg -pix_fmt yuv420p10le -s 3840x4320 -i 0_all_3840x4320_yuv420p10le.yuv -vf “drawtext=text=V1:fontcolor=White:shadowcolor=Blue:shadowx=4:shadowy=4:expansion=normal:x=3840/4:y=2160/4:fontsize=200:fontfile=/usr/share/fonts/truetype/liberation/LiberationSerif-Regular.ttf,drawtext=text=V2:fontcolor=White:shadowcolor=Blue:shadowx=4:shadowy=4:expansion=normal:x=3840/43:y=2160/4:fontsize=200:fontfile=/usr/share/fonts/truetype/liberation/LiberationSerif-Regular.ttf,drawtext=text=V1:fontcolor=White:shadowcolor=Blue:shadowx=4:shadowy=4:expansion=normal:x=3840/4:y=2160/43:fontsize=200:fontfile=/usr/share/fonts/truetype/liberation/LiberationSerif-Regular.ttf,drawtext=text=V2:fontcolor=White:shadowcolor=Blue:shadowx=4:shadowy=4:expansion=normal:x=3840/43:y=2160/43:fontsize=200:fontfile=/usr/share/fonts/truetype/liberation/LiberationSerif-Regular.ttf” -vframes 1 out.png -yp>
ffmpeg -pix_fmt yuv420p10le -s 3840x4320 -i 0_all_3840x4320_yuv420p10le.yuv -vf “drawtext=text=V1:fontcolor=White:shadowcolor=Blue:shadowx=4:shadowy=4:expansion=normal:x=3840/4:y=2160/4:fontsize=200:fontfile=/usr/share/fonts/truetype/liberation/LiberationSerif-Regular.ttf,drawtext=text=V2:fontcolor=White:shadowcolor=Blue:shadowx=4:shadowy=4:expansion=normal:x=3840/43:y=2160/4:fontsize=200:fontfile=/usr/share/fonts/truetype/liberation/LiberationSerif-Regular.ttf,drawtext=text=V1:fontcolor=White:shadowcolor=Blue:shadowx=4:shadowy=4:expansion=normal:x=3840/4:y=2160/43:fontsize=200:fontfile=/usr/share/fonts/truetype/liberation/LiberationSerif-Regular.ttf,drawtext=text=V2:fontcolor=White:shadowcolor=Blue:shadowx=4:shadowy=4:expansion=normal:x=3840/43:y=2160/43:fontsize=200:fontfile=/usr/share/fonts/truetype/liberation/LiberationSerif-Regular.ttf” 0_all_3840x4320_yuv420p10le_text.yuv
边栏推荐
- 程序员的七种武器
- Xcode 12 ld: symbol(s) not found for architecture armv64
- leetcode: 529. 扫雷游戏
- 这样写有问题吗?怎么在sql-client 是可以做到数据的同步的
- MQTT X Newsletter 2022-07 | 自动更新、MQTT X CLI 支持 MQTT 5.0、新增 conn 命令…
- CCVR eases heterogeneous federated learning based on classifier calibration
- 无题十
- ECCV 2022 Oral 视频实例分割新SOTA:SeqFormer&IDOL及CVPR 2022 视频实例分割竞赛冠军方案...
- The technological achievements of Shanghai Konan were selected into the "2021 Shanghai Network Security Industry Innovation Research Achievement Catalog" by the Municipal Commission of Economy and Inf
- Creo 9.0 基准特征:基准坐标系
猜你喜欢
茄子科技CEO仇俊:以用户为中心,做用户真正需要的产品
Seata source code analysis: initialization process of TM RM client
使用HBuilder离线本地打包ipa教程
5.部署web项目到云服务器
Assembly language (8) x86 inline assembly
How to realize the short press and long press detection of the button?
全面讲解GET 和 POST请求的本质区别是什么?原来我一直理解错了
【Excel实战】--图表联动demo_001
ECCV 2022 Oral 视频实例分割新SOTA:SeqFormer&IDOL及CVPR 2022 视频实例分割竞赛冠军方案...
Two-table query average grouping in sql server
随机推荐
并发之CAS
Excuse me, guys, is it impossible to synchronize two databases in real time using Flink SQL CDC?
Assembly language (8) x86 inline assembly
无题六
程序员的七种武器
这样写有问题吗?怎么在sql-client 是可以做到数据的同步的
Comprehensively explain what is the essential difference between GET and POST requests?Turns out I always misunderstood
2022/8/4 考试总结
5.部署web项目到云服务器
无题十四
js 图形操作一(兼容pc、移动端实现 draggable属性 拖放效果)
IDEA执行Test操作导致数据插入时出现了重复数据
嵌入式实操----基于RT1170 移植memtester做SDRAM测试(二十五)
ECCV 2022 Oral Video Instance Segmentation New SOTA: SeqFormer & IDOL and CVPR 2022 Video Instance Segmentation Competition Champion Scheme...
21 Days of Deep Learning - Convolutional Neural Networks (CNN): Clothing Image Classification (Day 3)
C语言-数组
Creo 9.0 基准特征:基准点
无题四
15.1.1、md—md的基础语法,快速的写文本备忘录
HStreamDB Newsletter 2022-07|分区模型优化、数据集成框架进一步完善