# Marketing Tool
This package is a tool help you do follow marketing job:
1. Transcribe the speech in video
2. Insert a video into antho video
3. Translate subtitle files
4. Insert text into video
5. Remove water mark from video
6. 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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/robertzengcn/Marketingtool",
"name": "Marketingtool",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "Marketingtool,video edit,Subtitle Translate",
"author": "Robert Zeng",
"author_email": "zengjianze@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/17/f4/d4cbd06421134ee6f8d987823c02e857816e6c31303bac2750f475fa4a56/Marketingtool-1.0.11.tar.gz",
"platform": null,
"description": "# Marketing Tool\nThis package is a tool help you do follow marketing job:\n\n1. Transcribe the speech in video\n2. Insert a video into antho video\n3. Translate subtitle files\n4. Insert text into video\n5. Remove water mark from video\n6. Convert video\n\n### Install requirement\nThis program require python 3.9 installed\n\n### How to install\n```\npip install Marketingtool\n```\n\n### How to use\n\nTranscribe the speech in video\n```\nMarketingtool --action transcribe -f /path/to/video -o /path/to/captions\n```\n\nInsert Video into another video\n```\n Marketingtool -a insertVideo -f /path/to/video -o ~/result/video.mp4 --insert-video /insert/video.mp4\n```\n\nTranslate subtitle files\n```\nMarketingtool --action translate -f /path/to/subtitle/file -o /path/to/output --source-lang zh-CN --target-lang en\n```\n\nRemove watermark from video\n```\nMarketingtool --action removeWatermark -f /path/to/video -o /path/to/output\n```\n\nInsert text into video\n```\nMarketingtool --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\n```\n\nConvert video\n```\nMarketingtool --action convertvideo -f /path/to/video -o /path/video/output\n```\n\n### How to develop\nYou can also install python package comfortably with pip:\n\n```\npython3 -m venv path/to/project\ncd path/to/project\nsource ./bin/activate\npip3 install -e .\n```\n\n#### Update depend python package for requirement.txt\n```\npip3 freeze > requirements.txt\n```\n\n#### How to test\ntest edit movie function\n```\npython3 -m unittest Tests.test_videoedit.VideoeditTestCase.test_insert_text\n```\ntest remove water mark\n```\npython3 -m unittest Tests.test_watermark.WatermarkTestCase.test_remove_watermark\n```\n\n",
"bugtrack_url": null,
"license": "",
"summary": "A tool module to help you do marketing",
"version": "1.0.11",
"project_urls": {
"Homepage": "https://github.com/robertzengcn/Marketingtool"
},
"split_keywords": [
"marketingtool",
"video edit",
"subtitle translate"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "17a3ccc2b5e55201ebe7b852fe2ccb8faf2950b5ce5493c8f5cb43cd11059a63",
"md5": "cbf4159d7cb48981ad5749ff9a738cda",
"sha256": "ba80bf7d055cbee5b394b15711875c862b69cc9a3cfaffa0b79ea8e5961bf34b"
},
"downloads": -1,
"filename": "Marketingtool-1.0.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cbf4159d7cb48981ad5749ff9a738cda",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 22197,
"upload_time": "2023-10-07T03:21:16",
"upload_time_iso_8601": "2023-10-07T03:21:16.875713Z",
"url": "https://files.pythonhosted.org/packages/17/a3/ccc2b5e55201ebe7b852fe2ccb8faf2950b5ce5493c8f5cb43cd11059a63/Marketingtool-1.0.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "17f4d4cbd06421134ee6f8d987823c02e857816e6c31303bac2750f475fa4a56",
"md5": "e49f6bfab454dc59a91e385578f0d7a3",
"sha256": "d52680c3b41ff5c7a56ef75a6361ff1b8ad9e48b5b2ea68cd827a2b06b3ca062"
},
"downloads": -1,
"filename": "Marketingtool-1.0.11.tar.gz",
"has_sig": false,
"md5_digest": "e49f6bfab454dc59a91e385578f0d7a3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 19244,
"upload_time": "2023-10-07T03:21:19",
"upload_time_iso_8601": "2023-10-07T03:21:19.865733Z",
"url": "https://files.pythonhosted.org/packages/17/f4/d4cbd06421134ee6f8d987823c02e857816e6c31303bac2750f475fa4a56/Marketingtool-1.0.11.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-07 03:21:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "robertzengcn",
"github_project": "Marketingtool",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "marketingtool"
}