Questions tagged [screen-capture]

Screen capturing is the act of copying the content of the screen to an image or other data structure, either to a file or memory.

Screen capturing is the act of copying the content of the screen to an image or other data structure, either to a file or memory.

802 questions
16
votes
3 answers

Path to screenshots in Android

Is there a way to find out the path used by android to save screenshots? Can I get the path from a code?
radya
  • 422
  • 1
  • 5
  • 13
16
votes
6 answers

VLC screen capture using terminal

I'm attempting to capture my screen as video and found VLC to probably be the best solution. What I have to do is capture a specific application using terminal and then stop the capture as well. Right now, I can capture using terminal with the…
intl
  • 2,753
  • 9
  • 45
  • 71
15
votes
5 answers

How to read the screen pixels?

I want to read a rectangular area, or whole screen pixels. As if screenshot button was pressed. How i do this? Edit: Working code: void CaptureScreen(char *filename) { int nScreenWidth = GetSystemMetrics(SM_CXSCREEN); int nScreenHeight =…
Newbie
  • 1,593
  • 10
  • 35
  • 50
15
votes
4 answers

Linux, how to capture screen, and simulate mouse movements

I need to capture screen (as print screen) in the way so I can access pixel color data, to do some image recognition, after that I will need to generate mouse events on the screen such as left click, drag and drop (moving mouse while button is…
kirbo
  • 1,707
  • 5
  • 26
  • 32
15
votes
1 answer

Is there a Miracast Client/Server for Mac or Windows?

I was wondering if anyone knows any Mac or Windows clients/servers that support the Miracast standard? At my company we demo our applications very often via Video Conferences/Skype/Join.me/etc, so it would be grate if I could share the screen of my…
hegedus.bandi
  • 159
  • 1
  • 1
  • 4
14
votes
1 answer

DXGI Desktop Duplication Screen Capture Speed

I am using AcquireNextFrame from the Desktop Duplication API to capture the screen. The refresh rate of the screen is 120Hz. When running a game at 120FPS, the screen capture can capture frames at 120FPS. But when increasing the frame rate of the…
availn
  • 161
  • 1
  • 5
14
votes
5 answers

How to save screenshot of a view with its subviews in Swift?

I want to capture a view with its subviews. I'm using this code to capture the screen: let view = self.faceTrackerContainerView UIGraphicsBeginImageContext(CGSizeMake(view.bounds.size.width,…
Vinz
  • 211
  • 1
  • 2
  • 9
14
votes
3 answers

Screen capture WITH audio in ffmpeg

I am using ffmpeg built from source at this revision in Fedora 20. I am able to record audio perfectly fine with the command: FFmpeg/ffmpeg -f alsa -ac 2 -i pulse -- output.wav However, when I try both screen capture and audio, like…
Adam Kurkiewicz
  • 1,526
  • 1
  • 15
  • 34
14
votes
1 answer

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

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…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
13
votes
2 answers

How to manually stop getDisplayMedia stream to end screen capture?

I'm interested in getting a screenshot from the user and I'm using the getDisplayMedia API to capture the user's screen: const constraints = { video: true, audio: false }; if (navigator.mediaDevices["getDisplayMedia"]) { …
12
votes
3 answers

Capture image with imagegrabscreen and Wamp

I'm trying to capture a local web page with imagegrabscreen but I only get a black screenshot. I tried almost every solution from questions here on SO and others sites and nothing works. I'm using and done the following: Windows 7 64bit Wamp 2.2a…
Danny
  • 986
  • 1
  • 18
  • 42
12
votes
1 answer

Efficiently read the average color of the screen content rendered by XBMC

I want to get the average color of the screen content when running XBMC to change the color of a TV ambient light. XBMC is running on a small HTPC with OpenGL ES 2.0 hardware (Raspberry Pi) running a Debian-derived distribution. I guess I have to…
leemes
  • 44,967
  • 21
  • 135
  • 183
11
votes
3 answers

Capturing a Window that is hidden or minimized

I followed this tutorial (there's a bit more than what's listed here because in my code I get a window via mouse click) for grabbing a window as a bitmap and then rendering that bitmap in a different window. My question: When that window is…
cbrulak
  • 15,436
  • 20
  • 61
  • 101
11
votes
1 answer

How to capture a video of specified window in Mac OS

I have tried to capture a screen video using this sample code How to capture screen activity to a movie file using AV Foundation It's working fine but I am wondering how can I capture a specified window of some individual app (not screen area…
LembergSun
  • 641
  • 7
  • 14
11
votes
2 answers

headless chrome capture screen video or animation

I try to capture some animations from a website and stitch them together using ffmpeg. As far as I understand the docs startScreencast is the way to go. If I understand that right I can start the screencast with await Page.startScreencast({format:…
t_io
  • 1,952
  • 1
  • 19
  • 27
1
2
3
53 54