Questions related to computer oriented video capture and the programming tools and solutions for dealing with captured frames from a video.
Questions tagged [video-capture]
2460 questions
9
votes
4 answers
Record a html5 animation to video - without human interaction
I have one big question: HOW TO RECORD A HTML5 ANIMATION TO VIDEO without human interaction?
We're looking for a open/source or even proprietary solution.
The use-case:
We want to start a project where we will create Html5 animations. The…

klodoma
- 4,181
- 1
- 31
- 42
9
votes
1 answer
Change OpenCV video file resolution
I'm creating a program in OpenCV (2.4.8) which should read video files and do some calculations on them. For these calculations I don't need the high-res frames, I'm perfectly fine with 640*360 as resolution.
In early tests I had my webcam attached…

heisa
- 834
- 1
- 9
- 17
9
votes
3 answers
setOutputFormat called in an invalid state: 4 (where and why)
I have the following code:
Log.i("xx","A");
media_recorder = new MediaRecorder();
Log.i("xx","B");
media_recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
Log.i("xx","C");
…

Mick
- 8,284
- 22
- 81
- 173
9
votes
2 answers
Pause/Resume MediaCodec
I'm trying to implement pause/resume feature for my app that records display capture using MediaCodec.
I've tried doing mEncoder.stop() and then mEncoder.start() without calling mEncoder.release() but that didn't work. I get IllegalStateException…

Alexey
- 287
- 1
- 4
- 9
9
votes
2 answers
OpenCV VideoCapture can't read from my webcam at all
I'm using OpenCV 2.4.6 on Ubuntu 13.04 (on an Acer C7 Chromebook), and I'm using a simple test program to see if my webcam will work with OpenCV. It works fine with Cheese and Skype, so I know that the webcam itself isn't the issue.
Here is my code…

Jragon
- 93
- 1
- 1
- 4
9
votes
1 answer
OpenCV slowing down WebCam capture
I'm capturing frames from a Webcam using OpenCV in a C++ app both on my Windows machine as well as on a RaspberryPi (ARM, Debian Wheezy). The problem is the CPU usage. I only need to process frames like every 2 seconds - so no real time live view.…

Matthias
- 5,574
- 8
- 61
- 121
9
votes
3 answers
How can I capture low resolution video on Android reliably across a range of devices?
Hello Android video experts :)
I am developing an Android application which allows the user to capture video and upload it to a remote server (it's more involved than that but the rest of the app is not important). Because of the upload requirement,…

MisterMat
- 197
- 1
- 9
9
votes
2 answers
Memory leak in webcam code
Ok, I've been trying to do something specific with video feed from a webcam. I have a Lumenera Infinity 2 microscope that I am trying to pull feed from, and want to be able to modify the feed as it comes in. Since I couldn't find a way to do that…

C Smith
- 778
- 2
- 14
- 31
9
votes
1 answer
How to convert a kCVPixelFormatType_420YpCbCr8BiPlanarFullRange buffer to UIImage in iOS
I tried to answer this in the original thread however SO would not let me. Hopefully someone with more authority can merge this into the original question.
OK here is a more complete answer. First, setup the capture:
// Create capture…

MichaelG
- 103
- 1
- 8
9
votes
2 answers
C#, Emgu webcam - choose capture size
I'm using the Emgu library for integrating the open CV webcam features in C#.
I use this code for choosing the capture device and setting its size:
camera = new Capture(0);
camera.SetCaptureProperty(CAP_PROP.CV_CAP_PROP_FRAME_WIDTH,…

jimutt
- 667
- 2
- 13
- 29
9
votes
2 answers
How to find object on video using OpenCV
To track object on video frame, first of all I extract image frames from video and save those images to a folder. Then I am supposed to process those images to find an object. Actually I do not know if this is a practical thing, because all the…

Thar1988
- 511
- 3
- 9
- 21
8
votes
1 answer
DirectShow - Getting video frames
I'm creating a Windows video capture application and am using DirectShow for capture. As each frame comes in, I want to grab it as a raw RGB bitmap into a buffer, at which point my code will do whatever processing I need.
I've been searching for…

Matt Kline
- 10,149
- 7
- 50
- 87
8
votes
3 answers
Merging two web cameras streaming into a single live streaming - Programmatically
I have two web cameras and I want to merge their streams into a single live streaming preview and display it to the screen.
I am skilled in C#/Java programming, could you please help me to find a framework that helps me to achieve this ?
Thanks,

Ahmad Alkhawaja
- 529
- 2
- 12
- 29
8
votes
1 answer
Video Recording using AVFoundation
I am trying to record video using AVFoundation. When I add video input only to the session, everything works fine but when I add an audio input to it, it stops recording the video.(Delegate method is called immediately after recording starts). Here…

shujaat
- 383
- 4
- 19
8
votes
4 answers
Android preview processing while video recording
I am using Android development (SDK 2.2) and I would like to make a video recording with mediaRecorder and, at the same time, do some process on each preview frame.
I record video with MediaRecorder in a project, in an other I use the…

Bob Strak
- 109
- 1
- 1
- 4