video-capture

ffmpeg DirectShow capture 2 pins

和自甴很熟 提交于 2019-12-11 09:48:20
问题 Here is ffmpeg DirectShow options DirectShow video device options Pin "Capture" pixel_format=yuyv422 min s=720x480 fps=59.9402 max s=720x480 fps=59.9402 pixel_format=yuyv422 min s=720x480 fps=29.97 max s=720x480 fps=29.97 pixel_format=yuyv422 min s=720x576 fps=50 max s=720x576 fps=50 pixel_format=yuyv422 min s=720x576 fps=25 max s=720x576 fps=25 pixel_format=yuyv422 min s=640x480 fps=59.9402 max s=640x480 fps=59.9402 pixel_format=yuyv422 min s=1920x1080 fps=29.97 max s=1920x1080 fps=29.97

DirectShow filter is not shown as input capture device

巧了我就是萌 提交于 2019-12-11 09:43:55
问题 Starting from the great example of Capture Source Filter here I wrote my own input capture device that works fine in Graph Studio Next, but it's not shown as a capture device (i.e. webcam) in application like Skype or similar. Because I want to understand what's happening I ask you to help me to find out what those application need to show such a device. Some relevant code: dll.cpp DEFINE_GUID(CLSID_VirtualCam, 0x8e14549a, 0xdb61, 0x4309, 0xaf, 0xa1, 0x35, 0x78, 0xe9, 0x27, 0xe9, 0x33); const

Error while recording video on iphone using AVFoundation

∥☆過路亽.° 提交于 2019-12-11 08:34:40
问题 Im trying to record video using AVFoundation I can save images but not video. When trying to save a video, I got an error saying: [AVCaptureMovieFileOutput startRecordingToOutputFileURL:recordingDelegate:] - no active/enabled connections.' And here is my code: session = [[AVCaptureSession alloc] init]; //session is global object. session.sessionPreset = AVCaptureSessionPresetMedium; AVCaptureVideoPreviewLayer *captureVideoPreviewLayer = [[AVCaptureVideoPreviewLayer alloc] initWithSession

What is the best practice for storing and processing images and videos?

耗尽温柔 提交于 2019-12-11 08:27:27
问题 My application (written in WPF/C#) will monitor a live video source and will need to store small video segments and image stills. I'm hesitant to use a user defined "temp" directory since this would potentially allow a user to modify or delete these files causing major issues with my application. Alternatively, I have attempted to store these items in memory (BitmapSource object for the images) but cannot find an equivalent object for video. Should I byte the bullet and use a temp directory

how to record video of my ongoing screen on kitkat 4.4

隐身守侯 提交于 2019-12-11 08:18:18
问题 I want to know that how can i record video of my ongoing screen in android using Kitkat 4.4. With lot's of search on Google and SO i did not get anything. I already saw so many link which tell's to record video by connecting device with system using USB and then writing some command in command window, but i want to record video using device only simple like when user's press record button it starts recording and when it press stop button it should stop recording. I saw some same kind of apps

Capurting Frames from a video file without playing it on screen

让人想犯罪 __ 提交于 2019-12-11 07:35:48
问题 I am a beginner in java programming language, Recently I have got a work to capture frames from a video file, I have also developed a program that does so, but it does that when the video is played on screen with the help of any player. I have developed following program to do so. public class Beginning implements Runnable { private Thread thread; private static long counter = 0; private final int FRAME_CAPTURE_RATE = 124; private Robot robot; public Beginning() throws Exception { robot = new

How to configure DCMI peripheral on STM32H7

不问归期 提交于 2019-12-11 06:35:13
问题 How to configure DCMI peripheral for getting active field image\video? How to get only Y-part (gray-scale video) from digitized stream? How to setup the external decoder? How to determine the resolution of a camera? 回答1: Configure DCMI peripheral for getting active field image\video: (it's better looking on this code with documentation on what this registers do in a split window) // enable DCIM peripheral clock RCC->AHB2ENR |= RCC_AHB2ENR_DCMIEN; // disable DCIM DCMI->CR = 0; // NOTE:

OpenCV-Python VideoCapture.read() does not return False when rtsp connection is interrupted

核能气质少年 提交于 2019-12-11 05:18:40
问题 I have the following class for streaming video through rtsp using OpenCV 3.1 with Python 3.4.3. Everything works fine, but if the camera is suddenly disconnected while running (ie. unplug camera), the program would hang at self.capture.read() and never returns the False value (or any value for that matter) to handle closing the connection. That's my understanding of handling sudden disconnections for VideoCapture in OpenCV. Is there a better way? """Classes for video processing""" import cv2

FRAPS alternative: Where to look and what for? [closed]

你说的曾经没有我的故事 提交于 2019-12-11 04:37:12
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . later this year I'm going to have a lot of time on my hands, and I thought I'd start a "small" project for myself and release it as open source. I'd like to code my own Fraps alternative. (or continue with Taksi http://taksi.sourceforge.net ). Fraps is a video & sound recording programm, which captures the

OpenCV crashes trying to read a video with RELEASE build

老子叫甜甜 提交于 2019-12-11 04:03:08
问题 Using VideoCapture vcc("someDir/someFile.avi"); as the first line in my code (OpenCV 2.x, Win7, VS2010), the execution for RELEASE crashes but the DEBUG works fine .. as slow as expected though. It only crashes when trying to read a video file which means passing a string to the constructor. The error looks like this: Unhandled exception at 0x00905a4d in someName.exe: 0xC0000005: Access violation. What I've tried so far: Multiple OpenCV2.x versions from SVN Different computer Different video