v4l2

Canon DSLR Video loop back using v4l2loopback and EDSDK Liveview?

こ雲淡風輕ζ 提交于 2021-02-19 02:22:28
问题 I want to use my DSLR camera as video input for let say Skype / Google talk under Linux and Android. Is it possible to create a video loop back using v4l2loopback and Canon EDSDK ? how can I pipe the liveview buffer from the camera to the video loop back ? Thanks 回答1: you will need a "producer" application, that writes frames to the loopback device (and which has previously acquired those frames via the canon esdk) v4l2loopback already comes with a few simple producer examples, and you could

user pointer in python

做~自己de王妃 提交于 2021-02-07 04:19:26
问题 *I am trying to display preview from webcam captured using v4l. Here is an idea of how the code looks like: from ctypes import * from v4l2 import * from Image import fromstring from Tkinter import Tk, Label from ImageTk import PhotoImage from ctypes.util import find_library libc = CDLL(find_library('c')) posix_memalign = libc.posix_memalign getpagesize = libc.getpagesize device_name = '/dev/video0' ps = preview_settings = { 'width': 320, 'height': 240, 'pixformat': 'RGB', } PIX_FMT = V4L2_PIX

user pointer in python

痴心易碎 提交于 2021-02-07 04:18:02
问题 *I am trying to display preview from webcam captured using v4l. Here is an idea of how the code looks like: from ctypes import * from v4l2 import * from Image import fromstring from Tkinter import Tk, Label from ImageTk import PhotoImage from ctypes.util import find_library libc = CDLL(find_library('c')) posix_memalign = libc.posix_memalign getpagesize = libc.getpagesize device_name = '/dev/video0' ps = preview_settings = { 'width': 320, 'height': 240, 'pixformat': 'RGB', } PIX_FMT = V4L2_PIX

user pointer in python

自闭症网瘾萝莉.ら 提交于 2021-02-07 04:17:29
问题 *I am trying to display preview from webcam captured using v4l. Here is an idea of how the code looks like: from ctypes import * from v4l2 import * from Image import fromstring from Tkinter import Tk, Label from ImageTk import PhotoImage from ctypes.util import find_library libc = CDLL(find_library('c')) posix_memalign = libc.posix_memalign getpagesize = libc.getpagesize device_name = '/dev/video0' ps = preview_settings = { 'width': 320, 'height': 240, 'pixformat': 'RGB', } PIX_FMT = V4L2_PIX

v4l2 manual exposure not working compared to Windows 10

ⅰ亾dé卋堺 提交于 2021-01-29 06:20:20
问题 This question is very similar to V4L2 absolute exposure setting has (almost) not effect I have a UVC compliant camera that I am running on a Raspberry Pi CM3+ module. It appears as video0 . Using the tools/drivers v4l2-ctl , qv4l2 or guvcview the absolute exposure cannot be controlled, yet it can be controlled when using Amcap on Windows 10. The camera has two exposure modes manual and aperature controlled . When in aperature controlled the exposure levels in the image change dynamically,

Webcam doesn't read through OpenCV but does with guvcview

杀马特。学长 韩版系。学妹 提交于 2021-01-27 07:40:57
问题 I have a webcam of sorts that is quite old. I've been attempting to get it to work. I started out with guvcview which works, however it only gives me the first frame captured then stops. That's fine for now. I'm trying to recreate this behaviour using OpenCV. I'm on linux and using python. It is my understanding that my best bet here is to have OpenCV use v4l2 which is what guvcview is using. My long term idea is to get the first frame only, but do this in a loop to sort of get "video" but at

Webcam doesn't read through OpenCV but does with guvcview

淺唱寂寞╮ 提交于 2021-01-27 07:38:10
问题 I have a webcam of sorts that is quite old. I've been attempting to get it to work. I started out with guvcview which works, however it only gives me the first frame captured then stops. That's fine for now. I'm trying to recreate this behaviour using OpenCV. I'm on linux and using python. It is my understanding that my best bet here is to have OpenCV use v4l2 which is what guvcview is using. My long term idea is to get the first frame only, but do this in a loop to sort of get "video" but at

Webcam doesn't read through OpenCV but does with guvcview

不羁岁月 提交于 2021-01-27 07:37:33
问题 I have a webcam of sorts that is quite old. I've been attempting to get it to work. I started out with guvcview which works, however it only gives me the first frame captured then stops. That's fine for now. I'm trying to recreate this behaviour using OpenCV. I'm on linux and using python. It is my understanding that my best bet here is to have OpenCV use v4l2 which is what guvcview is using. My long term idea is to get the first frame only, but do this in a loop to sort of get "video" but at

How to use GStreamer to stream from IP RTMP Camera to v4l2loopback Camera?

别说谁变了你拦得住时间么 提交于 2020-06-17 13:04:58
问题 I am trying to use GStreamer to connect RTMP/RTSP stream to a v4l2loopback Virtual Device. Works 1 - RTMP to AutoVideoSink sudo gst-launch-1.0 rtspsrc location=rtsp://192.168.xxx.xxx/live/av0 ! decodebin ! autovideosink sudo gst-launch-1.0 rtmpsrc location=rtmp://192.168.xxx.xxx/live/av0 ! decodebin ! autovideosink Works 2 - TestSrc to Dummy Video5 sudo gst-launch-1.0 videotestsrc ! v4l2sink device=/dev/video5 Does not work - RTMP to Dummy Video5 – No error but does not show the video sudo