Questions tagged [uvcvideo]

7 questions
2
votes
0 answers

v4l2-ctl - set video length in seconds

How I can set video length? In my example v4l2-ctl --verbose -d 0 --set-fmt-video=width=1280,height=720,pixelformat=MJPG --stream-mmap --set-parm 25 --stream-to=video.yuvj422p --stream-count=100 I can set max framerate --set-parm 25 I can set…
1
vote
1 answer

v4l2-ctl won't respond if device disconnect

I can capture video v4l2-ctl -d 0 --set-fmt-video=width=1280,height=720,pixelformat=MJPG --stream-mmap --set-parm 25 --stream-to=video.yuvj422p --stream-count=1000 While capturing I disconnect camera from PC. In my Ubuntu v4l2-ctl process do won't…
1
vote
0 answers

Error negotiating V4L2 H264 output over UVC USB webcam

I'm trying to connect a DJI Osmo Action 3 in USB webcam mode to a Linux video pipeline. The camera supports both MJPG and H264: $ v4l2-ctl -d /dev/video1 --list-formats-ext ioctl: VIDIOC_ENUM_FMT Type: Video Capture [0]: 'MJPG'…
kevmo314
  • 4,223
  • 4
  • 32
  • 43
1
vote
1 answer

How to limit FPS for UVC gadget?

I'm developing an application based on g_webcam kind of template code available at git://git.ideasonboard.org/uvc-gadget.git. I've noticed the FPS setting supplied in the USB device config structures is not respected. In fact, gadget attempts the…
Dmitry Mikushin
  • 1,478
  • 15
  • 16
0
votes
1 answer

how to connect uvc camera with agora video call

i am tried to stream video from uvc camera with agora video call api. but it doesn't work . but the uvc camera preview show proferly on '''''' . public class VideoChatViewActivity extends AppCompatActivity implements…
ayeshchanaka
  • 134
  • 2
  • 12
0
votes
1 answer

Opencv reverts back to a higher resolution than what I set

I am having an issue with saving images. I want to start with I do not want to resize the image after I receive it, I want the webcam to start with a native lower resolution which my camera supports. I am on Raspberry Pi OS. The supported…
0
votes
0 answers

Flickering and failing video streaming with uvc-gadget and g_webcam

Am using this commit of uvc-gadget together with g_webcam as of 4.4.143 for Rockchip. This version of uvc-gadget only transmits a static mjpeg image (and is much better written than earlier sources of uvc-gadget). Observing interesting behavior on…
Dmitry Mikushin
  • 1,478
  • 15
  • 16