screen-capture

Screen capture video in iOS programmatically

不问归期 提交于 2019-11-28 18:28:46
I'm trying to create a UIView that allows a user to tap a button in i and record the screen (not make a video from the camera), then save it to the document folder. I've seen a couple of SO articles here that talk about AVAssetWriter and make references to this link: http://codethink.no-ip.org/wordpress/archives/673 , but that link appears to be dead. But no one has actually shown a solution or provided any examples on how to accomplish. Anyone have any ideas or can point me in the right direction? This should be simpler than it is. Thanks, Doug The link is not dead. http://codethink.no-ip.org

Image size when capturing a screenshot of another application changes if application not at 0,0

穿精又带淫゛_ 提交于 2019-11-28 13:13:27
问题 I have an app which properly captures the image of an application window if it is in the upper-left corner of the primary screen. But if it is not, the image size is not correct (the window image height becomes stretched if it is against the right margin and down from the screen top. Application at 0,0 Imports System.Data.SqlClient Imports System.Runtime.InteropServices Imports Microsoft.VisualBasic.Strings Imports System Imports System.Data Imports System.Data.OleDb Public Class Form1 Public

GetFrontBufferData returns black screen on any game

↘锁芯ラ 提交于 2019-11-28 11:42:22
问题 I am writing a screen capture application. I used the code mentioned on this link for the application. Following is my entire code for your reference: // WangsNotesScrCapt2.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "WangsNotesScrCapt2.h" //include d3d library #include <d3d9.h> #include <d3dx9tex.h> #include <dinput.h> //link d3d library #pragma comment (lib, "d3d9.lib") #pragma comment (lib, "D3dx9.lib") #define MAX_LOADSTRING 100 #define WM_KEYDOWN

BlackBerry screen shot utility - from a desktop computer

廉价感情. 提交于 2019-11-28 09:59:12
问题 I am looking for a screen shot tool that I can use to capture screens from my BlackBerry Tourch 9850. I have tried using the included JavaLoader utility with my SDK but I receive "Retrieving screen <active> data ... Error: buffer too small" errors. I have also tried using the BBScreenShooter v1.67 (I think this is the latest version) but it fails to capture the screen, then crashes. I need the tool to create a user manual for some software we're developing for BlackBerrys and, as they say, "a

How does TeamViewer take screenshots and allow remote control without root?

谁说我不能喝 提交于 2019-11-28 09:57:45
Background TeamViewer allows to remote control other android devices . it's quite slow, but it does the job. it requires 2 apps being installed. one that controls (link here ), and one for being controlled (link here ) . I'm not sure if it has any alternatives, but I would like to know if it's possible to do the same. The problem I can't find any special permission used by teamViewer, and it does it all without root. This is weird, since I've read on so many places that in order for an app to take a screenshot, it must have root permission (or be connected to a computer and use ADB to take a

Capture QML drawing buffer, without displaying

二次信任 提交于 2019-11-28 09:23:56
I need to grab each QML (QtQuick 2) drawing frame and sent it over the network. At the moment I have used method listed below, but this method has two big disadvantage 1) Due to Qt5 documentation grabWindow() function has performance issues 2) It can't work with hidden QML window Is it possible to get OpenGL render buffer right after QQuickWindow::afterRendering ? Using FBOs ? Shared opengl context ? class Grab: public QObject { public: Grab( QQuickWindow * wnd ) : wnd_(wnd) {} public slots: void Grabme() { QImage image = wnd_->grabWindow(); } private: QQuickWindow *wnd_; }; int main(int argc,

Screen capture without active window

青春壹個敷衍的年華 提交于 2019-11-27 22:49:20
问题 I'm trying to write a magnifier application using a winform or wpf windows. The idea is to drag the window over a spot on the screen and magnify it. I know it exists commercially but need to build a customized version. The challenge I'm having is to capture the screen image behind the active application. I have found code to capture a screen image below. But it includes the active window { Rectangle bounds = new Rectangle(this.Location, this.Size); Bitmap bitmap = new Bitmap(bounds.Width,

Screen capture from windows service

我怕爱的太早我们不能终老 提交于 2019-11-27 19:56:30
I've got DirectShow based screen capture software. Internally it calls CopyScreenToBitmap function to grab screen. Then the picture is compressed by ffdshow. It works fine as a desktop application, but as window service, on certain computers it does not work (black picture). I've set 'Allow service to interact with desktop' and run that service on current user account. Any ideas what could be wrong? I test it on windows XP, but it is expected to work on Vista and 7 as well. Yes it works as desktop application on all computers, but on some of them (on majority of them) it fails as a service.

Convert HTML5 Canvas Sequence to a Video File

不问归期 提交于 2019-11-27 18:25:39
问题 I'd like to convert an animation in HTML5 canvas to a video file that could be uploaded to YouTube. Is there any sort of screen capture API or something that could allow me to do this programatically? 回答1: There exist the whammy library which claims to produce webm videos from stills using JavaScript: http://antimatter15.com/wp/2012/08/whammy-a-real-time-javascript-webm-encoder/ Note that there are limitations (as to be expected). This encoder bases itself on the webp image format which is

Capture Screen Image in C++ on OSX

瘦欲@ 提交于 2019-11-27 15:07:11
问题 Is there a way to programatically take a screenshot (or somehow get access to an image) of the current screen display on a mac? Preferably, in C++, not Objective-C. 回答1: I have been working on the same problem. This is the code I came up with after searching for a while. CGImageRef screenShot = CGWindowListCreateImage( CGRectInfinite, kCGWindowListOptionOnScreenOnly, kCGNullWindowID, kCGWindowImageDefault); //std::string image_name = "/Users/nikhil/Desktop/SC_"; //image_name+=str; //cout<<str