Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get or set format #3

Closed
lucasw opened this issue Oct 11, 2019 · 1 comment
Closed

Can't get or set format #3

lucasw opened this issue Oct 11, 2019 · 1 comment

Comments

@lucasw
Copy link
Owner

lucasw commented Oct 11, 2019

Can't get or set the v4l2_format without getting and invalid argument -22.

umlaeute/v4l2loopback#172

Ubuntu 18.04 has 0.10.0-1ubuntu1.1 installed, try latest in source, though many comments in that thread say it still doesn't work.

sudo rmmod v4l2loopback-dkms
sudo apt remove v4l2loopback-dkms
v4l2loopback$ sudo make install
[sudo] password for lucasw: 
make -C /lib/modules/`uname -r`/build M=/home/lucasw/catkin_ws/src/github/v4l2loopback modules_install
make[1]: Entering directory '/usr/src/linux-headers-5.0.0-31-generic'
  INSTALL /home/lucasw/catkin_ws/src/github/v4l2loopback/v4l2loopback.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
  DEPMOD  5.0.0-31-generic
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-5.0.0-31-generic'
@lucasw lucasw closed this as completed in 5977348 Oct 11, 2019
@lucasw
Copy link
Owner Author

lucasw commented Oct 11, 2019

Have to use the latest v4l2loopback and set the v4l2_format type to V4L2_BUF_TYPE_VIDEO_OUTPUT when querying it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant