Coder Social home page Coder Social logo

偶尔 Recording 会停滞不动,webui 显示“当前未在录制屏幕”,疑似 ffmpeg 进程异常退出 about windrecorder HOT 6 CLOSED

Antonoko avatar Antonoko commented on June 11, 2024
偶尔 Recording 会停滞不动,webui 显示“当前未在录制屏幕”,疑似 ffmpeg 进程异常退出

from windrecorder.

Comments (6)

ASC8384 avatar ASC8384 commented on June 11, 2024 1

任务管理器中找不到 ffmpeg 进程

以下是最新停滞的日志:

Inconsistent content
Writing to database.
_____________________
processing IMG - OCR:1768.jpg
maintainManager: OCR text by chineseOCRlite
[out#0/mp4 @ 00000230ac0f8dc0] video:1376kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.032061%
frame= 1800 fps=2.0 q=-1.0 Lsize=    1390kB time=00:14:58.50 bitrate=  12.7kbits/s speed=0.998x
[libx264 @ 00000230add2e180] frame I:3     Avg QP: 3.27  size:107107
[libx264 @ 00000230add2e180] frame P:201   Avg QP: 0.81  size:  3304
[libx264 @ 00000230add2e180] frame B:1596  Avg QP: 1.24  size:   265
[libx264 @ 00000230add2e180] consecutive B-frames:  0.2%  0.0%  0.0%  0.0%  0.8%  0.0%  0.0%  0.0% 99.0%
[libx264 @ 00000230add2e180] mb I  I16..4: 76.5% 20.0%  3.5%
[libx264 @ 00000230add2e180] mb P  I16..4:  0.4%  0.0%  0.0%  P16..4:  0.7%  0.1%  0.1%  0.0%  0.0%    skip:98.8%
[libx264 @ 00000230add2e180] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.1%  0.0%  0.0%  direct: 0.0%  skip:99.9%  L0:25.1% L1:74.9% BI: 0.0%
[libx264 @ 00000230add2e180] final ratefactor: -1.64
[libx264 @ 00000230add2e180] 8x8 transform intra:16.4% inter:47.6%
[libx264 @ 00000230add2e180] coded y,u,v intra: 10.9% 6.7% 5.2% inter: 0.0% 0.0% 0.0%
[libx264 @ 00000230add2e180] i16 v,h,dc,p: 93%  3%  2%  2%
[libx264 @ 00000230add2e180] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 23% 22%  9%  2%  2%  1%  3%  2%
[libx264 @ 00000230add2e180] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 20% 16% 11%  6%  4%  3%  3%  2%
[libx264 @ 00000230add2e180] Weighted P-Frames: Y:0.5% UV:0.5%
[libx264 @ 00000230add2e180] ref P L0: 91.1%  0.2%  7.7%  1.1%
[libx264 @ 00000230add2e180] ref B L0: 89.7% 10.3%  0.0%
[libx264 @ 00000230add2e180] ref B L1: 98.8%  1.2%
[libx264 @ 00000230add2e180] kb/s:12.52

from windrecorder.

ASC8384 avatar ASC8384 commented on June 11, 2024 1

https://github.com/yuka-friends/Windrecorder/blob/33a2e8e28dae66d385f830caa2f7bc7c49afc766/record_screen.py#L277C1-L280C62

哪怕使用该代码,一天依旧会崩溃几次,但频率确实比之前的低多了

from windrecorder.

Antonoko avatar Antonoko commented on June 11, 2024

奇妙的很… 我这边最长程序可以连续 uptime 运行两周,在运行过程中杀掉 ffmpeg 也会自动重启录制线程。

也可以试试分支(虽然理论上也许不会改善?):#46

(据说日志功能也在路上了)

cc @ShellBin 金牌技术员姐姐看看有什么可能性排查

from windrecorder.

ASC8384 avatar ASC8384 commented on June 11, 2024

会不会是 chineseOCRlite 的原因?
配置是 i9-13900K + 64G

from windrecorder.

ASC8384 avatar ASC8384 commented on June 11, 2024

攒了 20 多个视频后再索引后,把start_webui.bat搞崩了。

ocr_manager: Calculate the coincidence rate of two results
overlap:97.97101449275362
The coincidence rate exceeds the threshold.
[Skip] The content is consistent, not written to the database, skipped.
_____________________
processing IMG - OCR:1696.jpg
ocr_manager: OCR text by chineseOCRlite
ocr_manager: ocr_sentence_result:
ocr_manager: Calculate the coincidence rate of two results
overlap:14.164305949008499
The coincidence rate does not exceed the threshold.
Inconsistent content
Writing to database.
_____________________
processing IMG - OCR:1704.jpg
ocr_manager: OCR text by chineseOCRlite
请按任意键继续. . .    

from windrecorder.

Antonoko avatar Antonoko commented on June 11, 2024

还真说不定是(不知道!)自从设置入口移除后就没用过 chineseOCRlite 了,未来再封下接口试试替换为 paddleOCR 之类的吧(挖坑)

from windrecorder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.