当前位置:网站首页>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
边栏推荐
- Concurrent CAS
- sphinx匹配指定字段
- 嵌入式实操----基于RT1170 移植memtester做SDRAM测试(二十五)
- 21 Days of Deep Learning - Convolutional Neural Networks (CNN): Clothing Image Classification (Day 3)
- 微服务 技术栈
- CCVR eases heterogeneous federated learning based on classifier calibration
- leetcode: 529. 扫雷游戏
- PAT乙级-B1020 月饼(25)
- 深度学习21天——卷积神经网络(CNN):天气识别(第5天)
- 放大器OPA855的噪声计算实例
猜你喜欢
欧盟 | 地平线 2020 ENSEMBLE:D2.13 SOTIF Safety Concept(上)
周报2022-8-4
dotnet OpenXML 解析 PPT 图表 面积图入门
施一公:科学需要想象,想象来自阅读
2022.8.3
嵌入式实操----基于RT1170 移植memtester做SDRAM测试(二十五)
Creo 9.0 基准特征:基准平面
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
什么是CRM决策分析管理?
开源一夏|OpenHarmony如何查询设备类型(eTS)
随机推荐
There is only one switch, how to realize the nqa of master-slave automatic switching
无题六
Example of Noise Calculation for Amplifier OPA855
leetcode: 529. 扫雷游戏
leetcode 剑指 Offer 10- II. 青蛙跳台阶问题
tensorflow.keras无法引入layers
Weekly Report 2022-8-4
汇编语言(8)x86内联汇编
MQTT X Newsletter 2022-07 | 自动更新、MQTT X CLI 支持 MQTT 5.0、新增 conn 命令…
使用HBuilder离线本地打包ipa教程
CPU的亲缘性affinity
按钮上显示值的轮流切换
IT研发/开发流程规范效能的思考总结
韦东山 数码相框 项目学习(六)tslib的移植
在colab里怎样读取google drive数据
全面讲解GET 和 POST请求的本质区别是什么?原来我一直理解错了
Happens-before rules for threads
【ASM】字节码操作 方法的初始化 Frame
正则表达式replaceFirst()方法具有什么功能呢?
六年团队Leader实战秘诀|程序员最重要的八种软技能 - 脸皮薄容易耽误事 - 自我营销