Hello! I’m trying to create a duplicate of my USB video capture device so that I can stream and record it at the same time. Recording works fine with
streamer, and streaming works find with
mplayer. I have seen people using
v4l2loopback to create additional nodes for their video devices. When I try installing with
sudo apt-get install v4l2loopback-dkms
it produces the following output:
Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libgconf2-4 Use 'apt-get autoremove' to remove it. The following extra packages will be installed: dkms Suggested packages: v4l2loopback-utils The following NEW packages will be installed: dkms v4l2loopback-dkms 0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded. Need to get 89.4 kB of archives. After this operation, 469 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main dkms all 126.96.36.199-1.1ubuntu5.14.04.9 [65.7 kB] Get:2 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe v4l2loopback-dkms all 0.8.0-1 [23.6 kB] Fetched 89.4 kB in 1min 4s (1,392 B/s) Selecting previously unselected package dkms. (Reading database ... 149251 files and directories currently installed.) Preparing to unpack .../dkms_188.8.131.52-1.1ubuntu5.14.04.9_all.deb ... Unpacking dkms (184.108.40.206-1.1ubuntu5.14.04.9) ... Selecting previously unselected package v4l2loopback-dkms. Preparing to unpack .../v4l2loopback-dkms_0.8.0-1_all.deb ... Unpacking v4l2loopback-dkms (0.8.0-1) ... Processing triggers for man-db (220.127.116.11-1ubuntu1) ... Setting up dkms (18.104.22.168-1.1ubuntu5.14.04.9) ... Setting up v4l2loopback-dkms (0.8.0-1) ... Loading new v4l2loopback-0.8.0 DKMS files... First Installation: checking all kernels... dpkg: warning: version '*-*' has bad syntax: version number does not start with digit It is likely that 3.10.67-g458d45c belongs to a chroot's host Building initial module for 3.10.67-g458d45c ERROR (dkms apport): kernel package linux-headers-3.10.67-g458d45c is not supported Error! Bad return status for module build on kernel: 3.10.67-g458d45c (aarch64) Consult /var/lib/dkms/v4l2loopback/0.8.0/build/make.log for more information.
What should I do? Kernel headers are beyond the scope of my linux experience…