当前位置:网站首页>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 .
边栏推荐
- 3D chart effectively improves the level of large data screen
- Design of piece counter based on 51 single chip microcomputer
- AcWing 第 57 场周赛
- 3D图表有效提升数据大屏档次
- [C language] explain threads - start two threads
- 腾讯云的一场硬仗
- 博士毕业去县城工作,如何是你,怎么选?
- Daily question brushing record (IX)
- 数据分析新动力——国内首款开源一体化实时HTAP数据库石原子StoneDB发布
- Parker Parker sensor p8s-grflx
猜你喜欢

Construction schedule of intelligent management and control platform in Shanxi Chemical Industry Park

JSR303以及常见Validator实现

每日刷题记录 (九)

.NET ORM框架HiSql实战-第一章-集成HiSql

JS from prototype chain to inheritance

New skill: accelerate node through code cache JS startup

6 张图带你搞懂 TCP 为什么是三次握手?

splitting.js密码显示隐藏js特效

leetcode:1042. 不邻接植花【随机填入符合要求的 + 后面不会形成矛盾 + set.pop】

Cesium-1.72 learning (model attitude control)
随机推荐
Course design for the end of the semester: product sales management system based on SSM
geo 读取单细胞csv表达矩阵 单细胞 改列名 seurat
[JVM] class loading related interview questions - class loading process and parental delegation model
.NET ORM框架HiSql实战-第一章-集成HiSql
How can you choose to work in the county after graduation?
More than 20million videos have been played in the business list! Why is the reform of Agricultural Academies urged repeatedly?
Nut cloud - sync files on your mobile hard drive on your new computer
编写C语言的最简单小程序Hello world
商鼎雲新版來襲 | 收藏夾功能已上線,滿足個人使用需求
[C language] explain threads in detail - solve the problem of shared memory caused by concurrent programs by "locking"
阿里云盘分享压缩包
addmodule_ allmerge_ ams_ im
登录框Tricks
Compile - compile for itop4412 development board makefile
[JVM] takes you to learn about the garbage collection mechanism (GC) in the JVM -- including diagrams
nichenet实战silicosis
6 张图带你搞懂 TCP 为什么是三次握手?
flutter 音乐 录音 播放 audioplayers
Six photos vous montrent pourquoi TCP serre la main trois fois?
万卷书 - 书单整理 [01]