termux-api icon indicating copy to clipboard operation
termux-api copied to clipboard

emulate v4l2 devices

Open kde-yyds opened this issue 2 years ago • 1 comments

Feature description

emulate v4l2 devices On many unrooted devices, accessing /dev/video0 is impossible. I want to make v4l2-based camera apps work.

Reference implementation

Have you checked if the feature is accessible through the Android API? Do you know of other open-source apps that has a similar feature as the one you want? (Provide links)

kde-yyds avatar Jun 19 '23 07:06 kde-yyds

It is not possible without root and even on rooted devices it is complicated...

twaik avatar Jun 19 '23 08:06 twaik

It will require compiling kernel modules for creating video-loopback devices. It is out of scope of termux-api.

twaik avatar Mar 12 '24 12:03 twaik