jackburton79 / bescreencapture Goto Github PK
View Code? Open in Web Editor NEWBeScreenCapture - Screen Capture software for Haiku
License: BSD 3-Clause "New" or "Revised" License
BeScreenCapture - Screen Capture software for Haiku
License: BSD 3-Clause "New" or "Revised" License
Application texts (error messages, etc) needs to be proofread and fixed if necessary.
The MovieEncoder class needs to be reviewed: maybe it's doing something wrong in media initialization, thus causing the problems related to clips not being generated correctly.
Hi!
I was trying to record something on Haiku R1/Beta2 but I can't get it to record more than 1-2FPS. This is on a relatively fast machine (Ryzen 16 threads).
Does BeScreenCapture adapt FPS depending on how fast it can store the files?
I also noticed that both capture and mpeg encoding is only 1 thread. Can that be improved?
Thanks!
Hello there, i was trying to use bescreencapture, but i constantly have that bug with more than 1000-1200+ frames, if it record more frames then overload the ram and later seems like the virtualmemory have the same luck.
Later of some important minutes 10-20minutes, it can end sucefully or just crash, loosing all the video.
Hello there, i was trying the new features of bescreencapture, and it work better now but still have a similar limit than the last time i did report wth more than 2000-2200-+ frames, if it record more frames give an encoding error. around more than 6 minutes(?
I am on Haiku and trying to stop the recording but after using the given commands the recording doesn't stop .
The HaikuPorts recipe should include the readme file, and put it inside a documentation folder
Would be nice to add notifications (via BNotification)
A button to default/revert settings if added would be great !
Installed from HaikuDepot version 2.6.0-1
using default options.
cannot stop or pause the process, has to kill the program to stop it.
no outputfile.avi
how to clean the cache then?
There is a crash on quit on master. The stack trace is different between gcc2 and gcc4/5, I guess it's caused by a double free().
A feature to directly upload the video to Youtube would be great !
Scott asked "It would be cool if the app would even hide it's presence in the deskbar when hidden."
Add ability to start / stop recording / set recording area via scripting
Deskbar icon size is fixed at 16x16 and does not scale
On second (and subsequent) launch, the file name gets messed up: the file extension is also added to the file name part, without the dot.
Basically, the file name "outputfile.avi" becomes "outputfileavi.avi".
Playback of a screen capture with MediaPlayer is slow. My settings: file format AVI, codec MPEG-4 video. This is with v2.2.1 available from HaikuDepot.
MediaPlayer info says "132.000 fps", playback doesn't show a time, the time-slider-knob doesn't move. Terminal output says: MediaFileTrackSupplier: warning! track index 0 has no duration
I do realize this might be more an issue of Haiku's codecs... (hrev50749)
On haiku 32 bit, encoding fails with "initialization failed" when recording more than 100 frames
GIF export creates a number of temporary files, then it does not delete them when done.
Currently the application could overwrite the destination file.
There needs to be a way to handle this better.
Shortcuts must be easy like F8, F9, F10 or ctrl + s, shift + s rather than ctrl+command+shift+r as it is not easy to press.
Suggestion : You can also add a Pause button.
The Haikuports recipe must be modified to accomodate the changes done in BeScreenCapture: now we have an input_server filter, which should be included in the package. Moreover, the ReadMe should be included in the package, too.
The ReadMe file needs improvements:
The application should also show the seconds of recording.
Would be nice to have a way to select the area after hitting the record shortcut and before start recording
Both for the 3D app icon and for the 2D start, stop and pause.
Zumi's Icons might be worth looking at.
When selecting a region to capture, first 10 frames are captured with the wrong region.
Right after clicking stop recording, the encoding phase starts. The progress bar does not update for a while, depending on how many frames have been recorded.
Add icons for selection draggers in Region selection mode.
Currently draggers are empty rects and they look bad.
It only gets displayed after Region/Window.
Haiku x64
later of try to record the screen when i push stop record pop that warnings.
A problem has ocurred: general system error
[mpeg4 @ 0x1603340a940] The encoder timebase is not set.
[avi @ 0x160334f5040] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Ignoring attempt to set invalid timebase 1/0 for st:0
[avi @ 0x160334f5040] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mpeg4 @ 0x1603340ae20] The encoder timebase is not set.
[mpeg4 @ 0x160335d1000] The encoder timebase is not set.
[avi @ 0x160335c9180] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Ignoring attempt to set invalid timebase 1/0 for st:0
[avi @ 0x160335c9180] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mpeg4 @ 0x160335d14e0] The encoder timebase is not set.
[swscaler @ 0x1603352a9e0] deprecated pixel format used, make sure you did set range correctly
[mjpeg @ 0x160335d14e0] The encoder timebase is not set.
[avi @ 0x160335c9180] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Ignoring attempt to set invalid timebase 1/0 for st:0
[avi @ 0x160335c9180] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mjpeg @ 0x160335d1000] The encoder timebase is not set.
[swscaler @ 0x1603352a9e0] deprecated pixel format used, make sure you did set range correctly
[mjpeg @ 0x1603340ae20] The encoder timebase is not set.
[avi @ 0x160334da5c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Ignoring attempt to set invalid timebase 1/0 for st:0
[avi @ 0x160334da5c0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mjpeg @ 0x1603340a940] The encoder timebase is not set.
[swscaler @ 0x16033be0da0] deprecated pixel format used, make sure you did set range correctly
[mjpeg @ 0x160335d1000] The encoder timebase is not set.
[avi @ 0x1603357f480] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Ignoring attempt to set invalid timebase 1/0 for st:0
[avi @ 0x1603357f480] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mjpeg @ 0x160335d14e0] The encoder timebase is not set.
[swscaler @ 0x16033be0da0] deprecated pixel format used, make sure you did set range correctly
[mjpeg @ 0x16033574940] The encoder timebase is not set.
[avi @ 0x16033c2a2c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
Ignoring attempt to set invalid timebase 1/0 for st:0
[avi @ 0x16033c2a2c0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mjpeg @ 0x16033574e20] The encoder timebase is not set.
Thanks for this very useful application.
BeScreenCapture should have an option to export to animated GIFs, like Peek has. It can be done with ffmpeg
, which is available on Haiku.
Here is the code that does it:
When using the GIF export option, there is no progress information, and the process Is very slow and memory hungry when there are many frames
Add translation support using the Haiku locale API
Would be nice to be able to dock the application window to a side of the screen (top / bottom).
Obviously, the interface would have to be adapted so it would spread to the sides.
Using hey is possible to set an invalid capture area.
For example:
~> hey BeScreenCapture SET CaptureRect to "BRect(-1,-1,99999,9999)"
Reply BMessage(B_REPLY):
"error" (B_INT32_TYPE) : 0 (0x00000000)
the capture rect is set, but
This error is logged on console:
bitmap bounds is much too large: BRect(-1.0, -1.0, 99999.0, 9999.0)
This is more likely a Haiku problem, but since it involves files created via BeScreenCapture, leaving this also here. Maybe a slightly different video output can solve the issue.
Errors :
Suggestions :
When exporting bitmap frames or to GIF with scaling enabled (example: 50%), images look distorted.
From Haiku #13838
"I am using BeScreenCapture 2.3.1 to create a developer timeline video, and have noticed a major regression compared to 15 months ago (BeScreenCapture 2.02). With hrev51660 (latest as of 8/Dec/2017, both 32 and 64 bit versions), I can only capture 1600x1200@2fps. 15 months ago (videos from Sep 2016), on the exact same hardware/screen resolution (32 bit version of Haiku only), I was able to get 1600x1200@10fps, which is a factor of 5 regression (10fps vs 2fps).
MacBookPro 11.3, running Haiku from USB2 hard disk. Intel i7-4870HQ (4 core, 8 thread), 16Gb RAM, nVidia GT750M (VESA) "
BeScreenCapture failes to build on x86_64, hrev52077.
bin2txt.cpp:17:37: error: no match for 'operator>' (operand types are 'std::basic_istream<char>' and 'int') while (std::getline(inFile, line) > 0) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ bin2txt.cpp:17:37: note: candidate: operator>(int, int) <built-in> bin2txt.cpp:17:37: note: no known conversion for argument 1 from 'std::basic_istream<char>' to 'int'
Pause / Resume support in bescreencapture would be of great help !
Hello, is weird, but sometimes when i use bescreencrapture, my laptop screen bright is reduced almost to the minimun, and this only happen with be screen capture, very strange.
Did you try it on a laptop?
Just a suggestion. As opening the help file and the "About" both concern the app, and the "Quit" item is so very lonesome there, those items may be moved back into the "App" menu. I suggest:
App
"Help... ALT+H" (to open the doc)
"About BeScreenCapture" (it's good practise to include the app name here)
---- (Separator)
"Quit ALT+Q"
Recording
"Start ALT+S" (disasable while recording)
"Stop ALT+T" (only enable when recording)
---- (Separator"
"Pause ALT+P" (this one should have a checkmark)
Settings
"Reset to defaults ALT+R"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.