11-04-2013 02:28 AM
11-04-2013 02:29 AM
Think ScreenCam where you can create a video of your app in action
This is the reason why 15FPS is desired
The output needs to be numbered along the lines of GRAB00nn.ext but then lend itself perfectly to constructing into a video with FOSS SW
11-04-2013 02:36 AM
Its a good idea though
I've got libFFMpeg working so it is (potentially) poss to buffer the output I world guess
I;m thinking of RAW (maybe) os a quick compress for later processing
I'm not saying this is easy, in fact just the opposite but defo with thinging about
11-04-2013 02:47 AM
In answer to an earier one is seems perfectly possible to grab another App
I'm not positive how it would be achieved but PreventSleep from Tim shows the basics
11-04-2013 12:02 PM
There is another API for Screenshots in 10.2 that can take shots of other app screens, but it requires a special permission (as far as I know), and prompts the user I think.
Capturing a video stream is possible apparently, and it's the desktop camera like Innovatology mentioned. I don't know the API myself.
11-04-2013 07:43 PM - edited 11-04-2013 07:46 PM
I expect the framerate depends on the device you're using - a Z30 would perform quite a bit better than a Z10. But capturing/encoding/saving the smaller image of the Q10's screen should be faster. There would also be a difference between saving to device memory and SD card.
As for saving to disk:
Remember that currently the screenshot is performed on the main thread. Updates to the DOM and even CSS3 transitions are often delayed (queued) for repaint, and certainly happen on other threads. That might cause tearing/shearing in your video. There will also be considerable delays due to the AJAX events used by the WebWorks extension framework.
The use-case for this extension is (was) easy grabbing of images to save or share via the Invoke Framework. Not really recording movies ;-)
04-15-2014 09:53 AM
Hi, I'm sorry that I can't find the "framework\ext" path in my webworks sdk install path, so I create it by hand, as "D:\Program Files\BlackBerry\BB10 WebWorks SDK 184.108.40.206\Framework\ext\net.jonwebb.screenshot", but it does work at all, so I wonder what is wrong?