Comments (6)
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.
Haiku ticket 9458 is fixed, but situation seems to have worsened on x86_gcc32 (32 bit).
from bescreencapture.
Interesting: changing line 76 of FramesList.cpp from
CountItems() >= 100
to
CountItems() >= 10
seems to fix the issues.
from bescreencapture.
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.
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.
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)
- Wrong capture region HOT 1
- Delete temporary files in GIF export
- Wrong FPS recorded HOT 5
- MediaPlayer cannot play videos HOT 8
- Mpeg - mp4 Works but only until 1000 frames is ok for me HOT 14
- Deskbar icon does not scale HOT 1
- Bitmap / GIF export produces distorted images
- Encoding phase does not show progress HOT 2
- cannot stop or pause BeScreenCapture with default options haiku 32bit nightly HOT 17
- Mpeg - mp4 Works but only until 2000 frames is ok now HOT 8
- BeScreen randomly reduce the screen bright HOT 3
- Select area before recording when started via shortcut HOT 1
- Add scripting support HOT 1
- Handle existing output file name HOT 1
- GIF export Is very slow and progress not shown HOT 8
- Can set an invalid capture area via hey HOT 1
- Add notifications HOT 2
- New and re-ordered menu items HOT 4
- Percent values are not locale-formatted HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bescreencapture.