Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

剪辑过程中发生错误: 裁剪视频失败: '00:00-00:20' #42

Open
heqizheng opened this issue Oct 14, 2024 · 3 comments
Open

剪辑过程中发生错误: 裁剪视频失败: '00:00-00:20' #42

heqizheng opened this issue Oct 14, 2024 · 3 comments

Comments

@heqizheng
Copy link

image

@walk1ng
Copy link

walk1ng commented Oct 14, 2024

同样的问题

webui  | 2024-10-14 05:06:33 | ERROR | "./app/services/material.py:330": clip_videos - 视频裁剪失败: "00:50-00:53" => t_start (50.00) should be smaller than the clip's duration (41.01).

@ZZfive
Copy link

ZZfive commented Oct 14, 2024

同样的问题

webui  | 2024-10-14 05:06:33 | ERROR | "./app/services/material.py:330": clip_videos - 视频裁剪失败: "00:50-00:53" => t_start (50.00) should be smaller than the clip's duration (41.01).

应该和我一样,用的是resource/videos下的demo.mp4。按理说whisper-large-v2性能应该不错,但是生成字幕时间基本上每次都有问题,因为demo.mp4时长就是报错信息中的clip's duration (41.01),即41s,但是字幕文件到了50s之后了,所以报错。可以手动调整时间到合理范围内保存,就能正常裁剪视频,但是点击生成后也还存在很多其他问题。把模型换成gemini-1.5-pro也没用,感觉这个项目目前还很不稳定。

@clardemasol
Copy link

同样的问题,把剪辑脚本里面的视频时间修正到原始长度,不要超过就好了,参照了ZZfive的解释,找到了办法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants