한번 빌드해서 원하는 결과만 덤프하는 용도로 수정이 가능하려나?
[링크 : https://github.com/GStreamer/gstreamer/blob/main/subprojects/gstreamer/tools/gst-inspect.c]
gst-inspect 에서 원하는 정보는 아래의 Pad template 부분
Pad Templates: SINK template: 'sink_%u' Availability: On request Capabilities: video/x-raw format: { (string)AYUV, (string)BGRA, (string)ARGB, (string)RGBA, (string)ABGR, (string)Y444, (string)Y42B, (string)YUY2, (string)UYVY, (string)YVYU, (string)I420, (string)YV12, (string)NV12, (string)NV21, (string)Y41B, (string)RGB, (string)BGR, (string)xRGB, (string)xBGR, (string)RGBx, (string)BGRx } width: [ 1, 2147483647 ] height: [ 1, 2147483647 ] framerate: [ 0/1, 2147483647/1 ] SRC template: 'src' Availability: Always Capabilities: video/x-raw format: { (string)AYUV, (string)BGRA, (string)ARGB, (string)RGBA, (string)ABGR, (string)Y444, (string)Y42B, (string)YUY2, (string)UYVY, (string)YVYU, (string)I420, (string)YV12, (string)NV12, (string)NV21, (string)Y41B, (string)RGB, (string)BGR, (string)xRGB, (string)xBGR, (string)RGBx, (string)BGRx } width: [ 1, 2147483647 ] height: [ 1, 2147483647 ] framerate: [ 0/1, 2147483647/1 ] Element has no clocking capabilities. Element has no URI handling capabilities. |
Pad Templates를 출력하는 함수
static void print_pad_templates_info (GstElement * element, GstElementFactory * factory) |
[링크 : https://github.com/GStreamer/gstreamer/blob/main/subprojects/gstreamer/tools/gst-inspect.c#L816]
Capabilities 부분을 출력하는 함수
static void print_caps (const GstCaps * caps, const gchar * pfx) |
[링크 : https://github.com/GStreamer/gstreamer/blob/main/subprojects/gstreamer/tools/gst-inspect.c#L194]
'프로그램 사용 > gstreamer' 카테고리의 다른 글
gst-device-monitor-1.0 (0) | 2023.12.06 |
---|---|
gstremaer videobox + videomixer (0) | 2023.04.10 |
gstreamer videomixer 반쪽 성공 (0) | 2023.03.27 |
gstreamer videomixer ... 2? (0) | 2023.03.27 |
gstreamer pad - sink 와 src (0) | 2023.03.27 |