aahnik / watermark.py

A convenient python wrapper around FFmpeg to apply watermarks to images, gifs, and videos.

Home Page:https://pypi.org/project/watermark.py

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

watermark.py

PyPI PyPI - Python Version

A convenient python wrapper around FFmpeg to apply watermarks to images, gifs, and videos.

Installation

pip install watermark.py

You need to install ffmpeg seperately.

Usage

from watermark import File, Watermark, apply_watermark, Position

video = File("vid.mp4")
watermark = Watermark(File("im.png"), pos=Position.bottom_right)

apply_watermark(video, watermark)

Used by

  • telewater A telegram bot that applies watermark on images, gifs, and videos.

About

A convenient python wrapper around FFmpeg to apply watermarks to images, gifs, and videos.

https://pypi.org/project/watermark.py

License:MIT License


Languages

Language:Python 100.0%