Comments (2)
要看下 subtitle.srt 是否生成成功了,你可以更新代码试试,这个做了些优化的
from moneyprinterturbo.
- 可以临时try/except上video.py中的字幕写入流程,不至于整个流程不可用:
try: if subtitle_path and os.path.exists(subtitle_path): subtitles = SubtitlesClip(subtitle_path, generator) clips.append(subtitles.set_position(lambda _t: ('center', position_height))) except Exception as e: stack_trace = traceback.format_exc()
- 代码升级到最新
from moneyprinterturbo.
Related Issues (20)
- OSError: MoviePy Error: creation of None failed because of the following error HOT 2
- 如何突破禁用限制 HOT 1
- 进群 二维码过期了 HOT 1
- about VPN HOT 1
- 端口8501在哪儿定义的? HOT 1
- Ollama Set Up HOT 5
- why the memory usage always increased, do we have recommended device configure? HOT 2
- 出现名为 AttributeError: 'NoneType' object has no attribute 'get' 的错误 HOT 4
- AttributeError: 'NoneType' object has no attribute 'get' HOT 1
- Help! 什么是 “”模型名称 (需要到大模型提供商的后台确认被授权的模型名称)" HOT 1
- Errno 10048 Help HOT 1
- failed to download videos, maybe the network is not available. HOT 3
- 运行时报错类型错误 HOT 1
- OSError: [Errno 32] Broken pipe MoviePy error: FFMPEG encountered the following error while writing file HOT 1
- VPS上docker部署,执行出错了 HOT 3
- NoneType
- 选择本地图片生成视频,内存泄漏 HOT 1
- 建议:生成视频的网络素材来源支持自定义。 HOT 2
- Please change the source video (background video) from 16:9 to 9:16 HOT 1
- Moonshot现在不能用了吗?换了个账户还是报错429 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moneyprinterturbo.