video-capture

Media record API alternative for Safari

ⅰ亾dé卋堺 提交于 2020-08-27 21:46:32
问题 I need to record a video from a camera via browser, I've done it for Chrome and Firefox using Media record API. var options = {mimeType: 'video/webm; codecs=vp9'}; mediaRecorder = new MediaRecorder(stream, options); Any alternative way to record a video from Safai browser? Like a flash library but an open source one which can return the video as a blob object? Thanks in advance 来源: https://stackoverflow.com/questions/53040463/media-record-api-alternative-for-safari

Registering a network video stream as a virtual camera

我们两清 提交于 2020-08-26 11:37:06
问题 So I've tried to tackle this problem for the last couple of weeks but come to a bit of a standstill. I'm trying to registering an RTSP stream from an IP address as a virtual webcam for use in another application (could be skype or similar). What I need is for my computer to add a virtual webcam to its device list. This should preferably be done through a C# script as devices could be added dynamically through a .NET program. I have found similar questions on StackOverflow, but many of these

Registering a network video stream as a virtual camera

隐身守侯 提交于 2020-08-26 11:36:19
问题 So I've tried to tackle this problem for the last couple of weeks but come to a bit of a standstill. I'm trying to registering an RTSP stream from an IP address as a virtual webcam for use in another application (could be skype or similar). What I need is for my computer to add a virtual webcam to its device list. This should preferably be done through a C# script as devices could be added dynamically through a .NET program. I have found similar questions on StackOverflow, but many of these

Starting video recording immediately with AVCaptureMovieFileOutput

孤街浪徒 提交于 2020-08-23 21:33:41
问题 I was trying to use AVCaptureMovieFileOutput to record the device camera to a video file when my app starts. To my great frustration, I could not get it to work: I could view the video feed using a AVCaptureVideoPreviewLayer just fine, so my session was wired up properly. The file to which it would output did not already exist, and was in a writable directory. No errors were returned from API calls or via AVCaptureSessionRuntimeError notifications. My AVCaptureFileOutputRecordingDelegate

Can't set frame width and height with [OpenCV] cv2.VideoCapture.set()

谁说我不能喝 提交于 2020-05-29 05:51:15
问题 I am trying to reduce the frame/window size of my video capture to 320x180 but I can't seem to do it. I am using a Windows Kinect for Xbox One and its connected to my pc using an adapter. I have tried setting the cv2.CAP_PROP_FRAME_WIDTH to 320 and cv2.CAP_PROP_FRAME_HEIGHT to 180 but once I try and get the values it returns 1920 and 1080. I have also tried installing and reinstalling the Kinect SDK and drivers. import cv2 import numpy as np vid = cv2.VideoCapture(0) vid.set(cv2.CAP_PROP

Skip frames and seek to end of RTSP stream in OpenCV

末鹿安然 提交于 2020-05-15 02:16:19
问题 I capture and process an IP camera RTSP stream in a OpenCV 3.4.2 on Raspberry Pi. Unfortunately the processing takes quite a lot of time, roughly 0.2s per frame, and the stream quickly gets delayed. I don't mind if I skip some frames so I'm looking for a way to seek to the end of the stream before capturing and processing the next frame. vcap = cv2.VideoCapture("rtsp://{IPcam}/12") while(1): ret, frame = vcap.read() time.sleep(0.2) # <= Simulate processing time cv2.imshow('VIDEO', frame) if

Capture a DVB-T Stream to a movie-file

≯℡__Kan透↙ 提交于 2020-05-09 19:17:10
问题 I have a form with a liveview of the tv-signal (from dvb-t stick). I've the sampleproject "DTViewer" from http://directshownet.sourceforge.net/about.html. Now I try to capture the stream to a movie-file by clicking a button, but how? I use C# and DirectShow.NET. I tried to search in many sampleprojcets but these are made for videoinputs not a dvb-t stick with a BDA (Broadcast Driver Architecture) interface. Help! 回答1: Don’t really know what exactly do you mean by a “movie-file”, but I can