CtrlK
BlogDocsLog inGet started
Tessl Logo

mark2video

给视频添加文字水印,支持自定义字体大小、类型、颜色。当用户提到视频水印、视频加 logo、视频字幕时使用。

72

Quality

87%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

mark2video Skill

给视频添加水印

功能描述

向视频添加文字水印,支持自定义字体大小、字体类型、颜色等参数。

所属分类

office/skills/video/mark2video/

调用方式

from office.skills.video import mark2video

mark2video(
    video_path='./test.mp4',
    output_path='./',
    output_name='marked.mp4',
    mark_str='python-office',
    font_size=28,
    font_type='Arial',
    font_color='white'
)

参数说明

参数类型必填默认值说明
video_pathstr-视频地址
output_pathstr'./'输出地址
output_namestr'mark2video.mp4'输出名称,记得带 .mp4
mark_strstr'www.python-office.com'水印内容,只支持英文
font_sizeint28水印字体大小
font_typestr'Arial'水印字体类型
font_colorstr'white'水印颜色

返回值

None

使用示例

from office.skills.video import mark2video
mark2video(video_path='./demo.mp4', mark_str='My Channel')

原始函数

office.api.video.mark2video

Repository
CoderWanFeng/python-office
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.