video-capture

Can Flex/Flash Record the Screen?

爱⌒轻易说出口 提交于 2019-12-02 00:57:21
问题 This question is pretty straight forward, I literally just want to stream video of a user's computer. Just like recording from a webcam, but with the source coming from the desktop (think "screencasting tool".) I specifically want to do this in pure Flash, no downloads or add-ons. This would be an easy question for Google, but it is confused by all of the standalone screencasting tools that "export to Flash", making it impossible to find anything useful. Thanks in advance! 回答1: This is not

OpenCV VideoWriter Framerate Issue

独自空忆成欢 提交于 2019-12-02 00:43:58
问题 I'm attempting to record video from a 1080p webcam into a file. I held a timer up in the video and in every trial the timestamp reported by a video player (VLC is what I used) doesn't sync up with the time in the video. It's always off a few seconds (usually in-video timer is faster than player-reported time). As seen below, I set up the C++ program to capture video in one thread, and record in another thread. This is working fine as my CPU usage is ~200% (possible max out?). I'm on a Macbook

Can Flex/Flash Record the Screen?

我们两清 提交于 2019-12-01 22:10:30
This question is pretty straight forward, I literally just want to stream video of a user's computer. Just like recording from a webcam, but with the source coming from the desktop (think "screencasting tool".) I specifically want to do this in pure Flash, no downloads or add-ons. This would be an easy question for Google, but it is confused by all of the standalone screencasting tools that "export to Flash", making it impossible to find anything useful. Thanks in advance! This is not possible due to security restrictions. If you check out Adobe's "ConnectNow" product, you'll note that you

OpenCV VideoWriter Framerate Issue

若如初见. 提交于 2019-12-01 21:54:18
I'm attempting to record video from a 1080p webcam into a file. I held a timer up in the video and in every trial the timestamp reported by a video player (VLC is what I used) doesn't sync up with the time in the video. It's always off a few seconds (usually in-video timer is faster than player-reported time). As seen below, I set up the C++ program to capture video in one thread, and record in another thread. This is working fine as my CPU usage is ~200% (possible max out?). I'm on a Macbook Air w/ OS X 10.8 @ 1.8 GHz Intel Core i7. I've tried changing the framerate to 15fps and that results

C++ OpenCV 2.4.11: List all cameras

拟墨画扇 提交于 2019-12-01 20:41:33
I want to list all connected webcams (USB-webcams and internal webcams), using C++, OpenCV 2.4.11, Windows 8.1 and Qt Creator 3.4.2. For me it is enough to get the number of accessible webcams in the following way: VideoCapture videoCapture(0); // Will access my internal laptop webcam. VideoCapture videoCapture(1); // Will access the first connected usb webcam. Here is my code: // Following procedure detects, how many webcams are accessible from 0 on upwards. numberOfDevices = 0; bool noError = true; while (noError) { try { // Check if camera is available. VideoCapture videoCapture

WebRTC/WebSocket screen recording

匆匆过客 提交于 2019-12-01 18:34:50
In my use case I would like to record the screen activity and send it to server [not live]. I looked at few blogs/sample demos for this. But I couldn't find anything related to this. I could find lot of live streaming audio/video but not screen recording. I have the following questions related to this, Which one would be efficient WebRTC/Websockets for this use case? Browser support for WebRTC/Websockets? Is there any other methods to achieve this use case? I am fairly new to WebRTC/Websockets, if I am not posting the enough information please comment. I will add. Could someone help me on this

C++ OpenCV 2.4.11: List all cameras

北慕城南 提交于 2019-12-01 17:04:09
问题 I want to list all connected webcams (USB-webcams and internal webcams), using C++, OpenCV 2.4.11, Windows 8.1 and Qt Creator 3.4.2. For me it is enough to get the number of accessible webcams in the following way: VideoCapture videoCapture(0); // Will access my internal laptop webcam. VideoCapture videoCapture(1); // Will access the first connected usb webcam. Here is my code: // Following procedure detects, how many webcams are accessible from 0 on upwards. numberOfDevices = 0; bool noError

How can I add a preview stream to the graph without stopping it?

北城以北 提交于 2019-12-01 13:04:22
The problem is to build a capture graph supported three states: Preview only Capture to AVI-file only Combine I have built the graph like this: This graph corresponds to state 3. Now, if I want to change on state 2 I remove the preview stream and get the graph like this: Imagine I run the graph and start capture. Now I want to back to state 3. How can I do this (add a preview stream) without stopping the graph? (Capture should continue). UPD. Maybe it will be possible to capture to the end of AVI-file? If so, I could stop the graph at state 2, add a preview stream to it (change to state 3) and

How can I add a preview stream to the graph without stopping it?

╄→гoц情女王★ 提交于 2019-12-01 11:37:03
问题 The problem is to build a capture graph supported three states: Preview only Capture to AVI-file only Combine I have built the graph like this: This graph corresponds to state 3. Now, if I want to change on state 2 I remove the preview stream and get the graph like this: Imagine I run the graph and start capture. Now I want to back to state 3. How can I do this (add a preview stream) without stopping the graph? (Capture should continue). UPD. Maybe it will be possible to capture to the end of

Capturing a Multicast UDP Video stream using OpenCV

我怕爱的太早我们不能终老 提交于 2019-12-01 11:25:54
I have a multi-cast UDP Video stream that I need my OPenCV (Emgu ) 2.4.x app to capture and process ("client"). On the client, I can capture the stream using VLC (udp://xx.yy.zz.aaa:1234, However the my app fails to capture this udp stream. My code is quite simple ( Capture cap = new Capture ("udp://@212.1.1.1:1234"); p.s. I have tried with and 2/o the @ also tried rtp on that address. No luck :-/ Does OpenCV directly allow "capture" of UDP streams? or do I need to run VLC on the client to re-stream the video as rtp or http or some other....? Thanks. I finally figured this out and sharing in