camera命令有改动

This commit is contained in:
hehaoyang 2024-02-24 18:44:58 +00:00
parent d28fa4062c
commit 1ebb152221

View File

@ -3,9 +3,9 @@
//extern int tiles_count;
#define FCAMERA_PREVIEW_CMD "export XDG_RUNTIME_DIR=/run/user/root && gst-launch-1.0 -e v4l2src device=/dev/video15 ! video/x-raw, width=640, height=480, format=NV12, framerate=30/1 ! decodebin ! videoconvert ! autovideosink"
#define BCAMERA_PREVIEW_CMD "export XDG_RUNTIME_DIR=/run/user/root && gst-launch-1.0 -e v4l2src device=/dev/video6 ! video/x-raw, width=640, height=480, format=NV12, framerate=30/1 ! decodebin ! videoconvert ! autovideosink"
#define FCAMERA_PREVIEW_CMD "export XDG_RUNTIME_DIR=/run/user/root && gst-launch-1.0 v4l2src device=/dev/video15 ! 'video/x-raw,width=640,height=480' ! videoconvert ! waylandsink"
#define BCAMERA_PREVIEW_CMD "export XDG_RUNTIME_DIR=/run/user/root && gst-launch-1.0 v4l2src device=/dev/video5 ! 'video/x-raw,width=640,height=480' ! videoconvert ! waylandsink"
//void cameraTest_key_detect(unsigned int code);
void * camera_test(void *argc);
void *camera_back_test(void *argv);