Giter VIP home page Giter VIP logo

Comments (5)

jackburton79 avatar jackburton79 commented on July 18, 2024

Hi,
When recording, BeScreenCapture uses the frame rate set in the application options (default 20FPS, if I remember correctly).
When encoding, it calculates the FPS bases on number of frames and time.
It's possible that something doesn't work correctly, maybe the calculation is screwed on very fast machines.
I'll have a look.
Capture and Encoding is one thread because it uses the Haiku API to capture and encode.
Capture is inherently one thread in the API, Encoding could be multithreaded but it depends on the used addon.

from bescreencapture.

 avatar commented on July 18, 2024

Hi! I had another look. It is likely that my disk i/o was a bottleneck so that BeScreenCapture couldn't save all frames to /tmp while recording. I was using a USB flash drive.

I tested again in a VM on a HDD this time and I got up to about 22 FPS, when selecting to record at 30 FPS. CPU usage was not high during recording, so I am not sure what happened here. See the resulting capture.mkv (zipped).
capture.zip

from bescreencapture.

jackburton79 avatar jackburton79 commented on July 18, 2024

Hi! I had another look. It is likely that my disk i/o was a bottleneck so that BeScreenCapture couldn't save all frames to /tmp while recording. I was using a USB flash drive.

I tested again in a VM on a HDD this time and I got up to about 22 FPS, when selecting to record at 30 FPS. CPU usage was not high during recording, so I am not sure what happened here. See the resulting capture.mkv (zipped).
[capture.zip]

Sorry for the late reply.
I made some tests on my Haiku system (a VM): the produced clip always has a bit fewer frames per second than I chose.
if I choose 20, I get a 18/19 fps clip.
if I choose 30, I get 28.

I'll have to review the recording loop to tweak the timing.

from bescreencapture.

jackburton79 avatar jackburton79 commented on July 18, 2024

Could you try with 2.5.2 ? It will now hit the disk only after it has exhausted almost all the available memory, so disk shouldn't be a bottleneck anymore.

from bescreencapture.

jackburton79 avatar jackburton79 commented on July 18, 2024

Could you try again with release 2.6.2 ?

from bescreencapture.

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.