wmathor / Rubbish Video Generator
营销号视频生成器
Stars: ✭ 168
Programming Languages
python
139335 projects - #7 most used programming language
Labels
Projects that are alternatives of or similar to Rubbish Video Generator
Pact Php
PHP version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project
Stars: ✭ 167 (-0.6%)
Mutual labels: hacktoberfest
Ide
Enso – a visual and textual functional programming language.
Stars: ✭ 168 (+0%)
Mutual labels: hacktoberfest
Elm 3d Scene
A high-level 3D rendering engine for Elm, with support for lighting, shadows, and realistic materials.
Stars: ✭ 167 (-0.6%)
Mutual labels: hacktoberfest
Services openstreetmap
Makes communicating with the Open Street Map API, and Nominatim, from PHP intuitive.
Stars: ✭ 167 (-0.6%)
Mutual labels: hacktoberfest
Sphinx Material
A material-based, responsive theme inspired by mkdocs-material
Stars: ✭ 166 (-1.19%)
Mutual labels: hacktoberfest
Nginx Http Shibboleth
Shibboleth auth request module for nginx
Stars: ✭ 168 (+0%)
Mutual labels: hacktoberfest
Nim
Streamline Your Node.js Debugging Workflow with Chromium (Chrome, Edge, More) DevTools.
Stars: ✭ 168 (+0%)
Mutual labels: hacktoberfest
Nf Interpreter
⚙️ nanoFramework Interpreter, CLR, HAL, PAL and reference target boards
Stars: ✭ 168 (+0%)
Mutual labels: hacktoberfest
React Async Script
A React composition mixin for loading 3rd party scripts asynchronously
Stars: ✭ 167 (-0.6%)
Mutual labels: hacktoberfest
Polaris
Validation of best practices in your Kubernetes clusters
Stars: ✭ 2,397 (+1326.79%)
Mutual labels: hacktoberfest
Framework
This repository contains the core code of Laravel Zero
Stars: ✭ 167 (-0.6%)
Mutual labels: hacktoberfest
Ghcal
📆 See the GitHub contributions calendar of a user in the command line.
Stars: ✭ 169 (+0.6%)
Mutual labels: hacktoberfest
Superstarfighter
A fast-paced local party game with starships that battle in a 2d top-down arena
Stars: ✭ 164 (-2.38%)
Mutual labels: hacktoberfest
Openapi Client Axios
JavaScript client library for consuming OpenAPI-enabled APIs with axios
Stars: ✭ 168 (+0%)
Mutual labels: hacktoberfest
Lit
Toolkit for developing, sharing, and running luvit/lua programs and libraries.
Stars: ✭ 167 (-0.6%)
Mutual labels: hacktoberfest
Selfoss
multipurpose rss reader, live stream, mashup, aggregation web application
Stars: ✭ 2,070 (+1132.14%)
Mutual labels: hacktoberfest
Rubbish-Video-Generator
营销号视频生成器~仅供娱乐
功能:自动生成文本,自动添加字幕,自动给视频配音(人声)
🐛1.1版本更新
- 修复了原视频带有bgm,最终生成的视频没有声音的问题
- 现在支持手动设定字体大小,在
args.txt
文件中的第五行进行设置
下载
$ git clone https://github.com/wmathor/Rubbish-Video-Generator.git
如何使用
moviepy == 1.0.0
python > 3.5
自行安装ImageMagick
缺少的库自行pip
如果报错'module 'websocket' has no attribute 'enableTrace'',请参考下面的解决方案
pip uninstall websocket
pip uninstall websocket-client
pip install websocket-client
- 需准备一个时长大于50s的视频,有无背景音乐均可,命名为
in.mp4
- 需准备一个时长大于50s的BGM,命名为
in.mp3
- 提前在
args.txt
文本中定义好主体、事件、另一种说法 - 在
args.txt
文本中添加讯飞语音合成(流式版)的APPID
、APIKey
、APISecret
,以英文分号;
分隔 - 执行程序
示例
设计思路
- 剪裁视频→
getVideo()
- 将台词写入文本→
getText(file)
- 获取视频总时长→
getLength(video)
- 给视频添加背景音乐→
add_audio(video, mp3, output='out.mp4')
- 给视频添加字幕→
subTitle(text_file, video_file, output='out_sub.mp4')
- 文本转人声→讯飞API
- 给视频添加人声→
add_people(mp3_file, video_file)
- 清除中间生成的文件→
clean()
LICENSE
本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议进行许可
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].