A tool module to help you do marketing
Project description
Marketing Tool
This package is a tool help you do follow marketing job:
- Transcribe the speech in video
- Insert a video into antho video
- Translate subtitle files
- Insert text into video
- Remove water mark from video
Install requirement
This program require python 3.9 installed
How to install
pip install Marketingtool
How to use
Transcribe the speech in video
Marketingtool --action transcribe -f /path/to/video -o /path/to/captions
Insert Video into another video
Marketingtool -a insertVideo -f /path/to/video -o ~/result/video.mp4 --insert-video /insert/video.mp4
Translate subtitle files
Marketingtool --action translate -f /path/to/subtitle/file -o /path/to/output --source-lang zh-CN --target-lang en
Remove watermark from video
Marketingtool --action removeWatermark -f /path/to/video -o /path/to/output
Insert text into video
Marketingtool --action inserttextinvideo -f ./path/to/video --insert-text-path ./path/to/text.txt --insert-text-step 50 --insert-text-num 30 --insert-text-frontsize 20 --insert-text-color green --insert-text-duration 15 -o ./path/to/result
How to develop
You can also install python package comfortably with pip:
python3 -m venv path/to/project
cd path/to/project
source ./bin/activate
pip3 install -e .
Update depend python package for requirement.txt
pip3 freeze > requirements.txt
How to test
test edit movie function
python3 -m unittest Tests.test_videoedit.VideoeditTestCase.test_insert_text
test remove water mark
python3 -m unittest Tests.test_watermark.WatermarkTestCase.test_remove_watermark
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Marketingtool-1.0.4.tar.gz
(19.0 kB
view hashes)
Built Distribution
Close
Hashes for Marketingtool-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d88a5c26681564c3155de3e52f7030a00eed1e1a145da93ed628202526b54938 |
|
MD5 | e2ba8c3e9a100d2985a0aab04158c226 |
|
BLAKE2b-256 | e8452d4c1cab56f613c5fba9772d319fe82dce5ebc55823be90a51443b30a252 |