🔥 V4L2 Camera on Android
Scan QR code or Download |
If your app can't access /dev/video* on Android device,you need grant read and write permission.
adb shell
su
chmod 666 /dev/video*
- 1.FPS 30 of Dual cameras.
- 1.Package Android camera based on V4L2 protocol.
- 2.Support setting resolution and original format of image acquisition: MJPEG, YUYV
- 3.Use NdkMediaCodec for MJPEG decoding. If the device does not support hard decoding, it is recommended to use libjpeg-turbo instead of HwDecoder.
- 4.Support OpenGL ES rendering YUYV, NV12, NV21, DEPTH and other image formats.
- 1.Add opengl filter for beauty by face color
- CMake: 3.10.2
- Android Studio 4.0
- Author: shengjunhu
- Date : 2021/05/12
- E-Mail: shengjunhu@foxmail.com
- GitHub: https://github.com/shengjunhu
Copyright (c) 2020 shengjunhu
Please comply with the relevant third party libraries license