v4l2src 관련해서 기존에 웹캠에서 지원하는 모드들 찾는다고 고생했는데 간단한 유틸리티를 알게 됨 -_-
$ man gst-device-monitor-1.0 SYNOPSIS gst-device-monitor-1.0 [DEVICE_CLASSES[:FILTER_CAPS]] [DEVICE_CLASSES[:FILTER_CAPS]] |
$ gst-device-monitor-1.0 Video/Source Probing devices... Device found: name : 720p HD Camera class : Video/Source caps : image/jpeg, width=1280, height=720, framerate=30/1 image/jpeg, width=640, height=480, framerate=30/1 image/jpeg, width=640, height=360, framerate=30/1 image/jpeg, width=352, height=288, framerate=30/1 image/jpeg, width=320, height=240, framerate=30/1 image/jpeg, width=160, height=120, framerate=30/1 video/x-raw, format=YUY2, width=1280, height=720, framerate=10/1 video/x-raw, format=YUY2, width=640, height=480, framerate=30/1 video/x-raw, format=YUY2, width=640, height=360, framerate=30/1 video/x-raw, format=YUY2, width=352, height=288, framerate=30/1 video/x-raw, format=YUY2, width=320, height=240, framerate=30/1 video/x-raw, format=YUY2, width=160, height=120, framerate=30/1 properties: object.path = v4l2:/dev/video0 device.api = v4l2 media.class = Video/Source device.product.id = 308 device.vendor.id = 11134 api.v4l2.path = /dev/video0 api.v4l2.cap.driver = uvcvideo api.v4l2.cap.card = "720p\ HD\ Camera:\ 720p\ HD\ Camera" api.v4l2.cap.bus_info = usb-0000:00:14.0-6 api.v4l2.cap.version = 6.2.16 api.v4l2.cap.capabilities = 84a00001 api.v4l2.cap.device-caps = 04200001 device.id = 33 node.name = v4l2_input.pci-0000_00_14.0-usb-0_6_1.0 node.description = "720p\ HD\ Camera" factory.name = api.v4l2.source node.pause-on-idle = false factory.id = 10 client.id = 32 clock.quantum-limit = 8192 media.role = Camera node.driver = true object.id = 35 object.serial = 35 gst-launch-1.0 pipewiresrc path=35 ! ... |
'프로그램 사용 > gstreamer' 카테고리의 다른 글
gstreamer parse_launch (0) | 2024.01.11 |
---|---|
nnstreamer (0) | 2023.12.20 |
gstremaer videobox + videomixer (0) | 2023.04.10 |
gst-inspector.c (0) | 2023.04.06 |
gstreamer videomixer 반쪽 성공 (0) | 2023.03.27 |