当前位置:网站首页>Develop those things: how to add text watermarks to videos?
Develop those things: how to add text watermarks to videos?
2022-06-30 17:25:00 【TSINGSEE】
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 .
边栏推荐
- Parker variable displacement piston pump pv092r1k1t1nmmc
- 【JVM】一文带你了解JVM中的垃圾回收机制(GC)——内含图解
- 知名互联网房屋租赁服务公司物联网关键业务迁移上云实践
- List becomes vector list becomes vector list vector
- EMQ helps Qingdao Yanbo build a smart water platform
- Differential analysis between different groups nichenet for silicosis runs successfully!
- Implementation of graduation project management system based on SSM
- 3D图表有效提升数据大屏档次
- Hyper-v:在虚拟网络中启用 SR-IOV
- Compile - compile for itop4412 development board makefile
猜你喜欢

数据分析新动力——国内首款开源一体化实时HTAP数据库石原子StoneDB发布

Nut cloud - sync files on your mobile hard drive on your new computer

Dart: string replace related methods
![[C language] explain threads - thread separation function pthread_ detach](/img/d7/cce6c8afda85376eb569b1a5239c48.png)
[C language] explain threads - thread separation function pthread_ detach

编写C语言的最简单小程序Hello world

每日刷题记录 (九)

Login box tricks

leetcode:787. K 站中转内最便宜的航班【k步最短路 + dfs记忆化 + defaultdict(dict)】

New skill: accelerate node through code cache JS startup

Exercise book of introduction to database system
随机推荐
Exch:exchange server 2013 is about to end support
EMQ helps Qingdao Yanbo build a smart water platform
[200 opencv routines] 215 Drawing approximate ellipse based on polyline
ssh工具 pyqt
Nodejs learning notes II
[JVM] takes you to learn about the garbage collection mechanism (GC) in the JVM -- including diagrams
Internet R & D efficiency practice qunar core field Devops landing practice
Unity particle_ Exception display processing
New skill: accelerate node through code cache JS startup
Login box tricks
addmodule_ allmerge_ ams_ im
.NET ORM框架HiSql实战-第一章-集成HiSql
leetcode:1042. 不邻接植花【随机填入符合要求的 + 后面不会形成矛盾 + set.pop】
6 张图带你搞懂 TCP 为什么是三次握手?
Splitting.js文本标题缓慢加载js特效
Compile - compile for itop4412 development board makefile
定时任务删除指定时间的的数据
The new version of Shangding cloud | favorites function has been launched to meet personal use needs
将 EMQX Cloud 数据通过公网桥接到 AWS IoT
k线图精解与实战应用技巧(见位进场)