Giter VIP home page Giter VIP logo

Comments (6)

jackburton79 avatar jackburton79 commented on September 27, 2024

It seems there are various tickets filed in the haiku bugtracker which could be the cause of this problem:
https://dev.haiku-os.org/ticket/17153
https://dev.haiku-os.org/ticket/18160
https://dev.haiku-os.org/ticket/9458

from bescreencapture.

jackburton79 avatar jackburton79 commented on September 27, 2024

Haiku ticket 9458 is fixed, but situation seems to have worsened on x86_gcc32 (32 bit).

from bescreencapture.

jackburton79 avatar jackburton79 commented on September 27, 2024

Interesting: changing line 76 of FramesList.cpp from

CountItems() >= 100

to

CountItems() >= 10

seems to fix the issues.

from bescreencapture.

jackburton79 avatar jackburton79 commented on September 27, 2024

More tests:
If I let BeScreenCapture capture more than 100 frames, it crashes (around 95/100 frames), much before the encoding phase.
Note that memory isn't an issue, since I tested with 2GB or 4GB with the same results.
The workaround described above fixes the issue.

from bescreencapture.

jackburton79 avatar jackburton79 commented on September 27, 2024

Added more logging:

It fails like this:
MovieEncoder::_EncoderThread() started
MovieEncoder::_CreateFile()
path: /boot/system/cache/tmp/BSC_clip_CzAVqu1
media_file_format: MPEG (Motion Picture Experts Group)(mpg)
media_format: width: 1920, height: 1080, colorspace: 8
PluginManager: Error, load_add_on(): General system error
PluginManager: Error, loading PlugIn ffmpeg failed
PluginManager::CreateWriter: GetPlugin failed
BMediaFile::InitCheck() failed with Initialization failed
MovieEncoder::_EncoderThread(): _CreateFile failed with Initialization failed

from bescreencapture.

jackburton79 avatar jackburton79 commented on September 27, 2024

Seems like we hit the 2GB application memory limit on 32 bit, so there is no way this can work.
I'll just avoid keeping the bitmaps in memory, then.

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.