jianchang512 / pyvideotrans

Translate the video from one language to another and add dubbing. 将视频从一种语言翻译为另一种语言,同时支持语音识别转录、语音合成、字幕翻译。
https://pyvideotrans.com
GNU General Public License v3.0
10.87k stars 1.22k forks source link

Hey I'm using Pyvideotrans to dub videos and it's working great, but long videos (like 1 hour 40 minutes) take around 5 hours to dub on my laptop. It would be really helpful if you could add a "pause" and "start" button in the next update Pyvideotrans 2.81 . beacause if i have to leave somewhere urgent with my laptop instead of closing interface and loosing work ,i will pause the work and start when reaching on destination. #572

Open abhijeet12s opened 1 month ago

abhijeet12s commented 1 month ago

Hey I'm using Pyvideotrans to dub videos and it's working great, but long videos (like 1 hour 40 minutes) take around 5 hours to dub on my laptop. It would be really helpful if you could add a "pause" and "start" button in the next update Pyvideotrans 2.81 . beacause if i have to leave somewhere urgent with my laptop instead of closing interface and loosing work ,i will pause the work and start when reaching on destination. Here's why:

Laptops and long dubbing sessions: Most of us are dubbing on laptops, and these long processes can make them heat up a lot. Unexpected interruptions: Sometimes I need to leave urgently and take my laptop with me. Right now, I have to cancel the whole dubbing process if that happens. Real-life example: I recommended Pyvideotrans to a friend. as he was dubbing if he had to go somewhere instead closing dubbing and leaving with laptop , He used to put his laptop to sleep while dubbing and travel on the bus beacause he would loose work that has been done . One day, the software generated so much heat that it burned his motherboard! Luckily, he got a replacement, but it was a scary situation. A simple pause/start button would let us take breaks, move around, and avoid these problems. Thanks for considering this!

1-1-2 commented 1 month ago

Notice that you open up another issue, while there's one using translator and being answered by the repo owener. I believe some AI tools might help you tide up your issue. The looooooong tilte makes me so confuesed :). Others might feel this so.

ENG version

Issue Title: Suggestion to Add Pause/Start Functionality in Pyvideotrans for Long Dubbing Sessions

Issue Content:

I'm using Pyvideotrans for video dubbing, which works great, but longer videos (e.g., 1 hour 40 minutes) take around 5 hours on my laptop. I suggest adding a pause/start button in the next update.

Why It's Needed:
Laptop Strain: Long sessions cause overheating.
Interruptions: Urgent situations require closing the program and losing progress.
Real Example: A friend's laptop overheated and damaged the motherboard due to continuous dubbing during travel.
This feature would help prevent such issues.

Here's my take on the issue: I assume you're using a large model locally for recognition and translation, such as faster-whisper. Currently, most large model tools don’t offer a pause feature—only close or exit options. Perhaps due to principles and technical reasons.

If you're worried about overheating, regular maintenance and better cooling solutions are helpful. You could also try using tools like fantools to maximize fan speed for cooling.

While the tool offers us convenience, we should also be kind to our devices, haha!


CHS version

议题: 建议在 Pyvideotrans 添加暂停/开始功能以优化长视频配音处理

内容:

我在使用 Pyvideotrans 进行视频配音,效果很好。但处理较长的视频(如1小时40分钟)在我笔记本上大约需要5个小时。建议在下一个版本中添加暂停/开始按钮。

添加原因:
笔记本负载过重: 长时间操作容易导致笔记本过热。
中断问题: 遇到紧急情况时需要关闭程序,工作进度会丢失。
真实案例: 一位朋友的笔记本在长时间配音期间过热,导致主板损坏。
这项功能将有效避免类似问题的发生。

我对这个问题的看法是: 我猜您可能在本地使用大模型进行识别和翻译,比如 faster-whisper。可能出于原理和技术上的原因,目前大模型的工具大多不支持暂停功能,只能关闭或退出。

如果您担心设备过热,建议定期清理设备并采取散热措施。退一步讲,您可以尝试使用 fantools 等工具,将风扇转速调到最大,以提高散热效能。

工具为我们提供便利,我们也要对设备体贴一点,哈哈!

EOF

abhijeet12s commented 1 month ago

Ok

On Fri, 18 Oct, 2024, 2:58 pm 1-1-2, @.***> wrote:

Notice that you open up another issue, while there's one https://github.com/jianchang512/pyvideotrans/issues/571 using translator and being answered by the repo owener. I believe some AI tools might help you tide up your issue. The looooooong tilte makes me so confuesed :). Others might feel this so. ENG version

Issue Title: Suggestion to Add Pause/Start Functionality in Pyvideotrans for Long Dubbing Sessions

Issue Content:

I'm using Pyvideotrans for video dubbing, which works great, but longer videos (e.g., 1 hour 40 minutes) take around 5 hours on my laptop. I suggest adding a pause/start button in the next update.

Why It's Needed: Laptop Strain: Long sessions cause overheating. Interruptions: Urgent situations require closing the program and losing progress. Real Example: A friend's laptop overheated and damaged the motherboard due to continuous dubbing during travel. This feature would help prevent such issues.

Here's my take on the issue: I assume you're using a large model locally for recognition and translation, such as faster-whisper. Currently, most large model tools don’t offer a pause feature—only close or exit options. Perhaps due to principles and technical reasons.

If you're worried about overheating, regular maintenance and better cooling solutions are helpful. You could also try using tools like fantools to maximize fan speed for cooling.

While the tool offers us convenience, we should also be kind to our devices, haha!

CHS version

议题: 建议在 Pyvideotrans 添加暂停/开始功能以优化长视频配音处理

内容:

我在使用 Pyvideotrans 进行视频配音,效果很好。但处理较长的视频(如1小时40分钟)在我笔记本上大约需要5个小时。建议在下一个版本中添加暂停/开始按钮。

添加原因: 笔记本负载过重: 长时间操作容易导致笔记本过热。 中断问题: 遇到紧急情况时需要关闭程序,工作进度会丢失。 真实案例: 一位朋友的笔记本在长时间配音期间过热,导致主板损坏。 这项功能将有效避免类似问题的发生。

我对这个问题的看法是: 我猜您可能在本地使用大模型进行识别和翻译,比如 faster-whisper。可能出于原理和技术上的原因,目前大模型的工具大多不支持暂停功能,只能关闭或退出。

如果您担心设备过热,建议定期清理设备并采取散热措施。退一步讲,您可以尝试使用 fantools 等工具,将风扇转速调到最大,以提高散热效能。

工具为我们提供便利,我们也要对设备体贴一点,哈哈!

EOF

— Reply to this email directly, view it on GitHub https://github.com/jianchang512/pyvideotrans/issues/572#issuecomment-2421959747, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7N3QKUWX7VX2DWUPOTRUADZ4DIDZAVCNFSM6AAAAABP7SH3KKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRRHE2TSNZUG4 . You are receiving this because you authored the thread.Message ID: @.***>