当前位置:网站首页>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 .
边栏推荐
- [JVM] takes you to learn about the garbage collection mechanism (GC) in the JVM -- including diagrams
- Network: principle and practice of server network card group technology
- Property or method “approval1“ is not defined on the instance but referenced during render
- Exercise book of introduction to database system
- [C language] explain threads in detail - solve the problem of shared memory caused by concurrent programs by "locking"
- Implementation of graduation project management system based on SSM
- Geo read single cell CSV expression matrix single cell column name change Seurat
- Differential analysis between different groups nichenet for silicosis runs successfully!
- Compile - compile for itop4412 development board makefile
- k线图快速入门必读
猜你喜欢
期未课程设计:基于SSM的产品销售管理系统
parker比例溢流阀RS10R35S4SN1JW
New power of data analysis -- the first open source integrated real-time HTAP database in China was released by stonedb
Cesium-1.72 learning (camera tracking)
Property or method “approval1“ is not defined on the instance but referenced during render
Cesium-1.72 learning (China national boundary)
Course design for the end of the semester: product sales management system based on SSM
leetcode:787. K 站中转内最便宜的航班【k步最短路 + dfs记忆化 + defaultdict(dict)】
[untitled] write a student achievement and information management system in C language to realize the operation interface, clear screen display of current operation functions, reading and inputting st
Dart: string replace related methods
随机推荐
Alibaba cloud disk sharing compressed package
addmodule_allmerge_ams_im
Mysql8 NDB cluster installation and deployment
Unity particle_ Exception display processing
splitting.js密码显示隐藏js特效
Exch:完整性检查 Database Integrity Checking
Splitting.js文本标题缓慢加载js特效
Design of piece counter based on 51 single chip microcomputer
New skill: accelerate node through code cache JS startup
Horizontal visual error effect JS special effect code
定时任务删除指定时间的的数据
Cesium-1.72 learning (model attitude control)
[untitled] write a student achievement and information management system in C language to realize the operation interface, clear screen display of current operation functions, reading and inputting st
【C语言】详解线程 — 通过 “加锁” 解决并发程序引起的共享内存问题
"Promotion + funny plot", how to collide with the sparks of popular funds?
JSR303以及常见Validator实现
【网易云信】播放demo构建:无法将参数 1 从“AsyncModalRunner *”转换为“std::nullptr_t”**
Sub chain cross technology source level exploration: an overview of xcvm
addmodule_ allmerge_ ams_ im
中基协:推荐使用电子合同