There are plenty examples on how to perform a screen capture using SharpDX. But it is always the same and it deosn't work with multiple screen. It works only to capture one screen.
How can I perform a screen capture of any screens using SharpDX?
Related
I'm trying to get the Picture in Picture working for my camera view on my iPad.
I see on the documentation that we can do it more easily on iOS 16 for video calls.
The result I'm trying to get is to be able to see the camera of the user in PiP while being in the background.
One way of doing that is to fake a video call (like Zoom, Messenger, etc) but that seems overkill. I am able to view my video using UIImagePickerController but I'm wondering if there is an easy way to integrate it in PiP?
I want to build a application in which I want to block screen shot by user like in Netflix application, it should return a black screen shot as in Netflix. Right now I am unable to get anything regarding this.
I don't know how Netflix is handling this?
Is there any way to detect captured image in the block and we can make it obscured?
Netflix (and other providers) use "FairPlay Streaming" which is what prevents capture of the video content - link: https://developer.apple.com/streaming/fps/
Note that you can do a screen-shot of the Netflix UI (menus and such), just not the streaming content.
If you do a little searching, you will find plenty of discussion explaining that you cannot block screen captures in iOS.
In the iOS(9) camera app the controls overlay does not rotate but when 'Record' is selected the video is outputted with the correct orientation. Has anyone got any ideas how apple implemented this.
You've got a few different options to achieve the same effect:
You can rotate the camera, but keep the UI the same, when the device itself is rotated so that it matches UIDevice.currentDevice().orientation.
You could store the device orientation at the time of capture and then rotate the video afterwards.
You could even set the capture connection of the capture session to match the devices orientation while keeping the preview connection the same. Check this out for a similar question
I implemented exactly what you're looking for using 2 different UIWindow instances, one for the video preview layer and one for the UI to be displayed on top of it. The UIWindow with the UI needs to have a transparent background in order for the preview layer to remain visible.
Is it possible to create an application for BBOS10 that shares screen to other phone/PC on wifi network just like Radmin on Windows?
I presume you are talking about sharing the screen regardless of content, rather than sharing the screen for a specific application that you have written.
I am not aware of any "API"s for doing this.
This leaves, I believe two options, which are loosely:
capture screen shots and forward these
capture a video of the screen and forward that
Now the screen shot API has been available since fairly early on in BB10 evolution. To use it you would just create a background Thread and take screen shots at regular intervals, which you would then send, presumably over a socket interface, to the receiving user. I suspect The biggest issue with this is that it is likely to be extremely data heavy, since the screen shots are complete images, as opposed to a streaming video which is (in my understanding) typically a series of diffs from the preceding frame.
Until very recently, it has not been possible to capture video of the BB screen, but it seems with 10.2, you now can. Please review this Thread:
Capture Video
on the BB10 forum.
Looking at this, it would appear you can capture each video frame and forward that, or presumably, capture the entire stream and forward that.
I'm working on an app that does full screen captures, but have a need to have a control view be visible at the same time. I'd like to be able to do the screen capture without capturing the view, however. I'm recording screen activity to a .mov file, not doing discrete screenshots.
I'm using AVCaptureScreenInput and successfully doing my screen captures. I realize this is an open-ended question (apologies!) but I'm not sure where to begin searching for the answer.
Is there a property of UIView's that can be applied?