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

🐛[BUG] 最新v4.0.2源码 很吃电脑cpu飙升 #898

Open
2 tasks done
antonio65421 opened this issue Jan 28, 2025 · 21 comments
Open
2 tasks done

🐛[BUG] 最新v4.0.2源码 很吃电脑cpu飙升 #898

antonio65421 opened this issue Jan 28, 2025 · 21 comments
Labels
bug Something isn't working

Comments

@antonio65421
Copy link

⚠️ 确认是否已存在类似问题

  • 我已经搜索过issues,没有找到类似问题

🔧 运行方式

直接运行的exe文件

🐍 如果是使用源代码运行,请选择你的Python环境版本

None

💻 请选择你的系统环境

Windows 10

⚠️ 确认是否已经重试多次

  • 我已经尝试过多次,仍然出现问题

🕹 复现步骤

最新v4.0.2源码 很吃电脑cpu飙升到百分之五十到六十以上 旧版4.0.1顶多才百分15左右 我的cpu是i5-6400 2.7g 很吃力 电脑会卡 电脑其他程式都没开

😯 问题描述

最新v4.0.2源码 很吃电脑cpu飙升到百分之五十到六十以上 旧版4.0.1顶多才百分15左右 我的cpu是i5-6400 2.7g 很吃力 电脑会卡 电脑其他程式都没开

📜 错误信息

最新v4.0.2源码 很吃电脑cpu飙升到百分之五十到六十以上 旧版4.0.1顶多才百分15左右 我的cpu是i5-6400 2.7g 很吃力 电脑会卡 电脑其他程式都没开

@antonio65421 antonio65421 added the bug Something isn't working label Jan 28, 2025
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: null

⚠️ To confirm whether there are similar problems

  • I have searched for issues, but I haven't found a similar problem

🔧

EXE file directly running

🐍 If you use the source code to run, please select your Python environment version

None

💻 Please select your system environment

Windows 10

⚠️ Confirm whether it has been repeatedly repeatedly

  • I have tried many times, and there are still problems

🕹 Reapped steps

The latest V4.0.2 source code is very good for computer CPUs to soar to 50 % to 60 old versions 4.0.1. At most, it is only about 15 %. My CPU is i5-6400 2.7G.

😯 Problem description

The latest V4.0.2 source code is very good for computer CPUs to soar to 50 % to 60 old versions 4.0.1. At most, it is only about 15 %. My CPU is i5-6400 2.7G.

📜 error message

The latest V4.0.2 source code is very good for computer CPUs to soar to 50 % to 60 old versions 4.0.1. At most, it is only about 15 %. My CPU is i5-6400 2.7G. @@ ==== b [BUG] The latest V4.0.2 source code is very good for computer CPU soaring

@antonio65421
Copy link
Author

@ihmily 麻烦看一下 辛苦了 除夕快乐

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


@ihmily, please take a look at the hard work of New Year's Eve

@ihmily
Copy link
Owner

ihmily commented Jan 28, 2025

刚测试没复现出问题,你是同时录制多少个直播?刚启动录制程序就这样吗?还是说刚录制完成 进行转码的那段时间,是否和之前版本配置完全一样

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


How many live broadcasts did you record at the same time? Is this just starting the recording program? Still when the recording is completed, is it exactly the same as the previous version configuration?

@antonio65421
Copy link
Author

antonio65421 commented Jan 28, 2025

刚启动录制程序就这样 @ihmily
刚启动录制程序就这样 启动后....也没下降多少 不转码 ts 录制12个 配置完全一样

Image

Image

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Just start the recording program @ihmily
Just after the recording program was started, it was launched ...

! [Image] (https://github.com/user-attachments/5804F537-bd84-4F07-b7de-bc9e1a081796))

! [Image] (https://github.com/user-attachments/0656ae3d-243d-42A9-A870-36671F76)))))

@ihmily
Copy link
Owner

ihmily commented Jan 28, 2025

将4.0.2版本的ffmpeg文件夹内的ffmpeg.exe删除,用老版本的ffmpeg.exe替换试试

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Delete the ffmpeg.exe in the FFMpeg folder in version 4.0.2, and use the old version of ffmpeg.exe to try

@ihmily
Copy link
Owner

ihmily commented Jan 28, 2025

测试12个直播间 并未发现你这么高的情况,通常在刚启动程序 全部直播间加入检测时会 比较高占用 ,之后正常会降下来才对

Image

Image

Image

Image

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Testing 12 live broadcast rooms did not find that you are so high. Usually, when the launch room just starts all the live broadcast room, it will be relatively high when the test is added.

! [Image] (https://github.com/user-attachments/c1e3F279-D4B3-4EC6-B70C-92e1ECB662CD)))

! [Image] (https://github.com/user-attachments/0386fe5f-133C-4680-8BD2-02406EC98314)))))

! [Image] (https://github.com/user-attachments/9a8815F3-2ECD-4A1E-b6bc-639493fca84a))))))

! [Image] (https://github.com/user-attachments/essets/ec9328-2C3B-4CAA-b703-eef339406487)))))))

@ihmily
Copy link
Owner

ihmily commented Jan 28, 2025

刚开始会比较高是很正常的

Image

正常都是会降下来,如下图

Image

下面是同样配置和直播间地址 V4.0.1测试的结果

Image

相同配置下,V4.0.1会比V4.0.2 占用少点(低8%~10%),但只在发起直播检测请求的时候有差别,但检测完成都应该会降下来,降下来后两者是差不多占用的。下个版本我看能不能优化一下,估计通过复用请求实例可以降低一下资源占用。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


It will be higher at first, it is normal

! [Image] (https://github.com/user-attachments/assets/b89eaf84-a798-4370-9480-EA3B260B451C)))))

Normally, it will fall, as shown below

! [Image] (https://github.com/user-attachments/3AEETS/3AEE4A7F-6390-48FA-8210-FDCA5815664E))))))

The following is the result of the same configuration and live room address v4.0.1 test

! [Image] (https://github.com/user-attachments/8acba5F9-F092-4036-9570-8CFB3A22E8))))))

** Under the same configuration, V4.0.1 will occupy less points (8%~ 10%low) than V4.0.2, but only when initiating live testing requests, but the test completion should be reduced. The two are almost occupied. I see if I can optimize the next version. It is estimated that the resource occupation can be reduced through the reuse request instance. **

@antonio65421
Copy link
Author

Bot detected the issue body's language is not English, translate it automatically.

改了 还是挺高的 很奇怪 旧版低很多 @ihmily

Image

Image

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


It's not an example, the previous version has never appeared

! [Image] (https://github.com/user-attachments/495c0F91-E3CC-4ABC-8535-8FB5A7E01bbe)))))))

@Johnnychuan
Copy link

同款问题

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Same problem

@ihmily
Copy link
Owner

ihmily commented Feb 4, 2025

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


You can try this version https://github.com/ihmily/douyinliveRecorder/releases/download/v4.0.2/douyinLiveReCorder_v4.0.2-fix.zip

@antonio65421
Copy link
Author

可以試試這個版本https://github.com/ihmily/DouyinLiveRecorder/releases/download/v4.0.2/DouyinLiveRecorder_v4.0.2-fix.zip

正常了cpu只有百分之10以下

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


You can try this version https://github.com/ihmily/douyinliveRecorder/releases/download/v4.0.2/douyinliveRecorder_v4.0.2-fix.zip

Normally CPU is only 10 percent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants