当前位置:网站首页>Develop those things: how to add text watermarks to videos?
Develop those things: how to add text watermarks to videos?
2022-06-30 19:12:00 【Tsingsee green rhino video】
TSINGSEE The platform of Qingxi video can support users to upload watermark pictures independently . The watermark function is mainly used to prevent the user's video source from being stolen 、 Or use it to show and promote your brand . Interested users can read our previous articles to learn about the upload operation of watermarks and related tutorials .
Recently, some users have put forward requirements , I hope to add text watermark to the video . After relevant evaluation , We implemented this requirement . Today, let's share the code implementation process of adding text watermark in the video .
1) First , Add the following code :
2) The specific parameters are as follows :
-vf Select filter
drawtext: Filter name
fontsize=30: font size
fontfile=simfang.ttf: typeface
text=’tsingsee’: According to the content
x=100:x coordinate
y=50:y coordinate
fontcolor=white: The font color
3) And when I'm done , The preview of the final results is shown in the figure below :
Be careful : When the watermark content is Chinese , Font file must exist , Otherwise, there will be garbled code .
The image watermarking function of our video platform , Users can upload watermark pictures independently , Support mobile 、 Modify the size of the watermark image . But bear in mind that : The watermark image can display at most one , Setting the watermark multiple times will overwrite the previously set picture , Only the last uploaded watermark image is displayed .
TSINGSEE The green rhino video platform relies on its flexible video capabilities 、 Strong expandability 、 High compatibility 、 Features such as lightness of deployment , It has been used in a large number of projects , Such as smart construction site 、 Smart factory 、 Smart campus 、 Safe campus 、 Safe city 、 Bright kitchen, bright stove, etc . Interested users can go to the demonstration platform for experience or deployment testing .
边栏推荐
- torch. roll
- MRO industrial products procurement management system: enable MRO enterprise procurement nodes to build a new digital procurement system
- Leader: who can use redis expired monitoring to close orders and get out of here!
- ForkJoinPool
- 法国A+ 法国VOC标签最高环保级别
- 「经验」爬虫在工作中的实战应用『实现篇』
- go之web框架 iris
- Hospital online consultation applet source code Internet hospital source code smart hospital source code
- MySQL事务并发问题和MVCC机制
- Troubleshooting MySQL for update deadlock
猜你喜欢

Pytorch learning (III)

充值满赠,IM+RTC+X 全通信服务「回馈季」开启
Do you really understand the persistence mechanism of redis?

Personally test the size of flutter after packaging APK, quite satisfied

Detailed single case mode

Adhering to the concept of 'home in China', 2022 BMW children's traffic safety training camp was launched

Opencv data type code table dtype

Leader: who can use redis expired monitoring to close orders and get out of here!

PC端微信多开
![Delete duplicate elements in the sorting linked list ii[unified operation of linked list nodes --dummyhead]](/img/dd/7df8f11333125290b4b30183cfff64.png)
Delete duplicate elements in the sorting linked list ii[unified operation of linked list nodes --dummyhead]
随机推荐
mysql 递归
Regular expressions (regular matching)
The easynvr platform equipment channels are all online. What is the reason for the "network request failure" in the operation?
Four tips tell you how to use SMS to promote business sales?
教你30分钟快速搭建直播间
【TiDB】TiCDC canal_ Practical application of JSON
The online procurement system of the electronic components industry accurately matches the procurement demand and leverages the digital development of the electronic industry
Is it safe to open an account for goucai? Is it reliable?
视频内容生产与消费创新
「经验」爬虫在工作中的实战应用『理论篇』
删除排序链表中的重复元素 II[链表节点统一操作--dummyHead]
Hospital online consultation applet source code Internet hospital source code smart hospital source code
不同制造工艺对PCB上的焊盘的影响和要求
Swin-Transformer(2021-08)
France a+ France VOC label highest environmental protection level
Dlib库实现人脸关键点检测(Opencv实现)
华兴证券:混合云原生架构下的 Kitex 实践
挖财账号开户安全吗?是靠谱的吗?
slice
屏幕显示技术进化史