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
0
votes
0 answers
How to get a video path in java android
I am working on an App that will upload videos to firebase, the issue is that I followed a certain tutorial to achieve that but the app cannot pick a video from my Android App even after giving all the necessary permissions. The videos file is open…

Ukeme Elijah
- 157
- 3
- 13
0
votes
0 answers
If cameraX's videoCapture and ImageAnlaysis are used together, the preview becomes strange. What should I do? & How can I draw on a video frame?
When cameraX's videoCapture and ImageAnlaysis are used together, the preview is rotated 90 degrees, and the recorded video in the gallery is longer than the actual length. why is this happening?
private fun bindUseCase() {
if…

eun_n
- 1
0
votes
2 answers
black and white video stream using html5 video and javascript
Is there a solution to stream a video ( live webcam ) in black and white continuously using javascript,
I want to test every single pixel if the average of rgb [(red + green + blue)/3] is higher than x turn it to white ( 255 ) else turn it to black…
0
votes
0 answers
Add Effect for video recording in CameraX with CameraEffect
In CameraX version 1.3-beta01 there is the posibility of adding effects in video recording. Does anyone know how to add effects (using openGL I guess) using the 'CameraEffect' class?
I've trying to find tutorials or examples but I couldn't find any…

Buntupana
- 984
- 1
- 15
- 33
0
votes
1 answer
Problems using OpenCvSharp library to capture images
I'm trying to use the OpenCvSharp library to capture images from a camera, but what happens is that I only get colored stripes that move on the screen (as shown in the images).
colored stripe
The code I'm using is as follows:
csharp
Copy code
using…
0
votes
0 answers
Can we preview live cam output on Watch App that is paired with an iPhone App using Swift UI?
I am trying to show live cam preview on watch app also but didn't found a suitable solution. To show camera preview on iPhone, I am using AVfoundation. But also want to show live cam output on watch app. Don't is it possible or not. If possible then…
0
votes
0 answers
OpenCV VideoWriter writes a problematic video
My simplified codes:
fource = cv2.VideoWriter_fourcc(*'XVID')
resulte = cv2.VideoWriter('vidname.avi', fourcc, 200, (720, 540))
while record:
image = retrieve frame from camera with pypylon
resulte.write(image)
resulte.release()
I met the…

QuantumRiver
- 1
- 1
0
votes
0 answers
Capturing picam2 video stream to a properly formatted file
I am using picamera2 Python library on Raspberry Pi 3B+. My goal is to simultaneously record and stream video on the network. Since this library doesn't provide this simultaneous ability out of the box, I wrote the following code to achieve…

J R
- 227
- 3
- 8
0
votes
0 answers
Formatting BufferedWriter output as an MP4 video file
I am writing a Python application in which I want to record an MP4 video from a Raspberry Pi camera. I created a variable rec_stream of type BufferedWriter and initialized video file creation:
rec_stream = open(f"rec.mp4", 'wb')
Later, another…

J R
- 227
- 3
- 8
0
votes
1 answer
Getting some errors when trying to recorde a video using CameraX VideoCapture API
i am implementing an android application and i am trying to record a video using CameraX VideoCapture Api but i am getting some errors and i would like to know to figure them out . Here is the video recording code :
private fun recordVideo() {
…

Patrick Renaud
- 75
- 7
0
votes
1 answer
Is it possible to record audio with OpenCV
I am trying to record a video in OpenCV from a stream such as a webcam with audio. I am currently writing the application to use DirectShow to grab data from the stream and to pass that data into an IplImage*. This is great for creating the video…

Seb
- 3,414
- 10
- 73
- 106
0
votes
0 answers
How to convert image into DIB bitmap using dotnet cross platform libraries
I got a webcam that records Video and i wanna write it to a file.
While there are many libraries (mostly based on ffmpeg) that allow you to combine frames, i need a library that can be used to continously write frames to file.
I found such a library…

juffma
- 39
- 5
0
votes
1 answer
How to read out a certain display screen area using Python/Tkinter?
Suppose that you are getting a live feed from a camera to your computer using a proprietary program, which is displaying e.g. a 1024x1024 pixel video to your screen. Would it be possible to write a small GUI program using Python/Tkinter, featuring a…

srhslvmn
- 133
- 1
- 9
0
votes
0 answers
How do I use gstreamer to listen to AVTP packets and decode H264 data?
I am trying to use gstreamer to listen to AVTP packets from an interface and decode H264 data from it.
I have packets coming through an interface eno1, I ran this command0
gst-launch-1.0 avtpsrc ifname=eno1 ! avtpcvfdepay ! avdec_h264 !…
0
votes
1 answer
TCaptureDeviceManager getting video capture devices for multiple web cams
I have an application written in C++Builder 11.1.5, where I am trying to capture live video from 2 web cams.
There is an excellent tutorial which describes how to do this with 1 web cam at the following URL, and I have it working perfectly: Video…

Drewski7280
- 33
- 4