You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
version: v4l2loopback driver version 0.12.2 loaded
kernel version: Linux ToshibaLaptop 5.2.11-arch1-1-ARCH #1 SMP PREEMPT Thu Aug 29 08:09:36 UTC 2019 x86_64 GNU/Linux
Problem
The example ondemandcam.c is producing frames as fast as possible and does not wait for the other end of the V4L2 pipe to be opened.
Steps to reproduce:
modprobe the driver
add a fprintf(stderr, "."); to sendvid in ondemandcam.c
compile and link ondemandcam.c against pthread and run it
Observed Results:
The ondemandcam is printing dots to the screen at a rapid rate even though the device is not open for reading. Opening the device in ffplay shows that the code is working (cycling through 4 colors, changing every second), but reports an error when trying to set the framerate:
[video4linux2,v4l2 @ 0x7f61b0000b80] The driver does not permit changing the time per frame
Expected Results:
Frames should not be produced unless a program has opened /dev/videoX for reading.
ffplay should be able to control the framerate and consume X FPS
The text was updated successfully, but these errors were encountered:
System configuration
version: v4l2loopback driver version 0.12.2 loaded
kernel version: Linux ToshibaLaptop 5.2.11-arch1-1-ARCH #1 SMP PREEMPT Thu Aug 29 08:09:36 UTC 2019 x86_64 GNU/Linux
Problem
The example ondemandcam.c is producing frames as fast as possible and does not wait for the other end of the V4L2 pipe to be opened.
Steps to reproduce:
fprintf(stderr, ".");
tosendvid
in ondemandcam.cObserved Results:
The ondemandcam is printing dots to the screen at a rapid rate even though the device is not open for reading. Opening the device in ffplay shows that the code is working (cycling through 4 colors, changing every second), but reports an error when trying to set the framerate:
Expected Results:
ffplay
should be able to control the framerate and consume X FPSThe text was updated successfully, but these errors were encountered: