Skip to main content
Known Participant
August 31, 2012
Question

Need advice on creating a screen capture app

  • August 31, 2012
  • 2 replies
  • 2620 views

Hey guys

Let me start with what I'm trying to achieve. I want to be able to record the screen as the user interacts with it and be able to save that sequence as a video file to either the installDir or the photo roll. In itself it sounds simple, but I've done a ton of research on this and it appears that it is only doable in AIR for desktop (which bundles FFMPEG and VLC or RED5 which doesn't look like it's being developed anymore) or by using native Objective-C.

Does anyone here know if there is indeed a way to achieve this using Flash CS6 and AIR 3.2+?

Here's the link to the "How To" for desktop:

http://www.adobe.com/devnet/air/flex/articles/air_screenrecording.html

And here's some resource I found for doing it natively in C:

http://codethink.no-ip.org/wordpress/archives/673

Any advice from someone who has experience with this would be greatly appreciated.

This topic has been closed for replies.

2 replies

Participating Frequently
August 31, 2012

Unfortunateyl there's no way to do screen recording using just AIR. It's possible that you could write/obtain an ANE for that. In the desktop app example he's just including a separate app that does the screen recording, and calling that app from the AIR app.

Depending on the content you want to record, you might be able to "fake" it by recording the user's interactions and replaying those. (That's how Adobe Captivate works to some extent -- it records static images and then replays the user's mouse movement.)

You can take a snapshot of a screen using BitmapData.draw(). However, it doesn't work for non-display objects, such as StageWebView, StageVideo, Stage3D, etc.

Paul Robertson

Adobe Developer Relations/Documentation

DMcQ
Known Participant
November 21, 2012

Hi Paul,

Thanks for the info. Do you know of any 3rd parties that have developed / are developing an ANE for screencapture in AIR?

Thanks,


Daniel

Inspiring
November 22, 2012

Thanks for the link, mola2alex! I will definitely check it out..

With baby steps AIR for iOs is expanding.


I got it to work on Android but it can be very slow.  My app was a user positions things and creates an animation and then once ready, they hit the record button that records what the user created.  Not sure how usable it would be doing a live screen with user interaction.  Works much better on Windows apps.

RiaanPAuthor
Known Participant
August 31, 2012

Oh, by the way, this is a good example of the functionality that I am looking at creating: http://www.explaineverything.com/

Theirs is already available on appstore...