当前位置:网站首页>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
边栏推荐
- 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
- Undefined symbols for architecture arm64解决方案
- 无题十一
- 基于 Kubernetes 的微服务项目整体设计与实现
- seata源码解析:事务状态及全局锁的存储
- 这样写有问题吗?怎么在sql-client 是可以做到数据的同步的
- seata源码解析:TM RM 客户端的初始化过程
- Concurrent CAS
- 512-color chromatogram
- ECCV 2022 Oral Video Instance Segmentation New SOTA: SeqFormer & IDOL and CVPR 2022 Video Instance Segmentation Competition Champion Scheme...
猜你喜欢

百行代码发射红心,程序员何愁命不中女朋友!

【LeetCode】623. 在二叉树中增加一行

CCVR eases heterogeneous federated learning based on classifier calibration

使用HBuilder离线本地打包ipa教程

开源一夏|OpenHarmony如何查询设备类型(eTS)

Creo 9.0 基准特征:基准坐标系

【LeetCode】623. Add a row to the binary tree

ECCV 2022 Oral 视频实例分割新SOTA:SeqFormer&IDOL及CVPR 2022 视频实例分割竞赛冠军方案...

周报2022-8-4

Hundred lines of code launch red hearts, why programmers lose their girlfriends!
随机推荐
ts/js 函数传参带函数写法
基因数据平台
【Excel实战】--图表联动demo_001
thinkPHP5 实现点击量(数据自增/自减)
Thinking and summary of the efficiency of IT R&D/development process specification
无题三
Seata source code analysis: initialization process of TM RM client
开源一夏|OpenHarmony如何查询设备类型(eTS)
随时牵手 不要随意分手[转帖]
长达四年的减肥记录
openpyxl to manipulate Excel files
Xcode 12 ld: symbol(s) not found for architecture armv64
2022.8.3
正则表达式replaceFirst()方法具有什么功能呢?
IDEA执行Test操作导致数据插入时出现了重复数据
手写柯里化 - toString 理解
我的杂记链接
hcip BGP 增强实验
请问如果想往mysql里面写数据,直接用flink-connector-jdbc就可以吧,可是我在f
ECCV 2022 Oral Video Instance Segmentation New SOTA: SeqFormer & IDOL and CVPR 2022 Video Instance Segmentation Competition Champion Scheme...