当前位置:网站首页>ffmpeg drawtext 添加文本水印
ffmpeg drawtext 添加文本水印
2022-08-05 09:26:00 【Ternence_Hsu】
API 参考:http://ffmpeg.org/ffmpeg-all.html#drawtext-1 参考 drawtext 的功能实现设置相关的值就可以
demo1 :实现添加
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 -y
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
边栏推荐
- 周报2022-8-4
- 无题二
- eKuiper Newsletter 2022-07|v1.6.0:Flow 编排 + 更好用的 SQL,轻松表达业务逻辑
- Does flink cdc support synchronization from oracle dg library?
- The Seven Weapons of Programmers
- 无题四
- 汇编语言(8)x86内联汇编
- Two-table query average grouping in sql server
- seata源码解析:TM RM 客户端的初始化过程
- Xcode 12 ld: symbol(s) not found for architecture armv64
猜你喜欢
js graphics operation one (compatible with pc, mobile terminal to achieve draggable attribute drag and drop effect)
只有一台交换机,如何实现主从自动切换之nqa
eKuiper Newsletter 2022-07|v1.6.0:Flow 编排 + 更好用的 SQL,轻松表达业务逻辑
ECCV 2022 Oral 视频实例分割新SOTA:SeqFormer&IDOL及CVPR 2022 视频实例分割竞赛冠军方案...
5.部署web项目到云服务器
Marketing Suggestions | You have an August marketing calendar to check! Suggest a collection!
干货!生成模型的评价与诊断
CVPR 2022 | 将X光图片用于垃圾分割,港中大(深圳)探索大规模智能垃圾分类
CCVR基于分类器校准缓解异构联邦学习
DTcloud 装饰器
随机推荐
Code Audit - PHP
Thinking and summary of the efficiency of IT R&D/development process specification
无题五
tensorflow.keras无法引入layers
JS syntax usage
MQTT X Newsletter 2022-07 | 自动更新、MQTT X CLI 支持 MQTT 5.0、新增 conn 命令…
无题八
Excuse me if you want to write data in mysql, with flink - connector - JDBC directly is ok, but I'm in the f
16种香饭做法全攻略
施一公:科学需要想象,想象来自阅读
512-color chromatogram
openpyxl操作Excel文件
放大器OPA855的噪声计算实例
Creo 9.0 基准特征:基准轴
Dynamic memory development (C language)
Undefined symbols for architecture arm64解决方案
请问大佬们 ,使用 Flink SQL CDC 是不是做不到两个数据库的实时同步啊
eKuiper Newsletter 2022-07|v1.6.0:Flow 编排 + 更好用的 SQL,轻松表达业务逻辑
2022/8/4 考试总结
PAT乙级-B1020 月饼(25)