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
- Convert 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
Convert video
Marketingtool --action convertvideo -f /path/to/video -o /path/video/output
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
Metadata
Release files for Marketingtool 1.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Marketingtool-1.0.11.tar.gz | 19.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Marketingtool-1.0.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.4 kB
Release files / Marketingtool-1.0.11.tar.gz
| Download URL | Marketingtool-1.0.11.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d52680c3b41ff5c7a56ef75a6361ff1b8ad9e48b5b2ea68cd827a2b06b3ca062
|
|
BLAKE2b-256 checksum How to use checksums |
17f4d4cbd06421134ee6f8d987823c02e857816e6c31303bac2750f475fa4a56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / Marketingtool-1.0.11-py3-none-any.whl
| Download URL | Marketingtool-1.0.11-py3-none-any.whl |
|---|---|
| Size | 22.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba80bf7d055cbee5b394b15711875c862b69cc9a3cfaffa0b79ea8e5961bf34b
|
|
BLAKE2b-256 checksum How to use checksums |
17a3ccc2b5e55201ebe7b852fe2ccb8faf2950b5ce5493c8f5cb43cd11059a63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|