当前位置:网站首页>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
边栏推荐
- leetcode refers to Offer 10- II. Frog jumping steps
- Is there a problem with writing this?How to synchronize data in sql-client
- DTcloud 装饰器
- C语言-数组
- mysql进阶(二十七)数据库索引原理
- Embedded practice ---- based on RT1170 transplant memtester to do SDRAM test (25)
- PAT Level B - B1021 Single Digit Statistics (15)
- 全面讲解GET 和 POST请求的本质区别是什么?原来我一直理解错了
- 请问如果想往mysql里面写数据,直接用flink-connector-jdbc就可以吧,可是我在f
- Seata source code analysis: initialization process of TM RM client
猜你喜欢

Concurrent CAS

如何实现按键的短按、长按检测?

偏向锁/轻量锁/重级锁锁锁更健康,上锁解锁到底是怎么完成实现的

XCODE12 在使用模拟器(SIMULATOR)时编译错误的解决方法

Creo 9.0 基准特征:基准点

【Excel实战】--图表联动demo_001

使用稀疏 4D 卷积对 3D LiDAR 数据中的运动对象进行后退分割(IROS 2022)

There is only one switch, how to realize the nqa of master-slave automatic switching

动态内存开辟(C语言)

全面讲解GET 和 POST请求的本质区别是什么?原来我一直理解错了
随机推荐
六年团队Leader实战秘诀|程序员最重要的八种软技能 - 脸皮薄容易耽误事 - 自我营销
上海控安技术成果入选市经信委《2021年上海市网络安全产业创新攻关成果目录》
How to realize the short press and long press detection of the button?
Happens-before rules for threads
Comprehensively explain what is the essential difference between GET and POST requests?Turns out I always misunderstood
2022.8.3
无题七
为什么我推荐使用智能化async?
手把手教你纯c实现异常捕获try-catch组件
sphinx匹配指定字段
openpyxl操作Excel文件
【Excel实战】--图表联动demo_001
15.1.1、md—md的基础语法,快速的写文本备忘录
Marketing Suggestions | You have an August marketing calendar to check! Suggest a collection!
【零基础玩转BLDC系列】无刷直流电机无位置传感器三段式启动法详细介绍及代码分享
Science bosses say | Hong Kong rhubarb KaiBin teacher take you unlock the relationship between the matrix and 6 g
C语言-数组
There is only one switch, how to realize the nqa of master-slave automatic switching
CCVR基于分类器校准缓解异构联邦学习
深度学习21天——卷积神经网络(CNN):服装图像分类(第3天)