v4lh264.yml
device-connector-intdashとともにインストールされる /etc/dc_conf/v4lh264.yml
は、V4L2(Video for Linux 2)経由で取得したH.264の動画を送信するためのパイプライン設定ファイルです。
tasks:
- id: 1
element: v4l2-src
conf:
path: $(DC_V4L2_SRC_CONF_PATH)
type: h264
width: $(DC_V4L2_SRC_CONF_WIDTH)
height: $(DC_V4L2_SRC_CONF_HEIGHT)
fps: $(DC_V4L2_SRC_CONF_FPS)
- id: 2
element: h264-split-filter
from: [ [1] ]
conf:
clock_id: CLOCK_MONOTONIC
- id: 3
element: print-log-filter
from: [ [2] ]
conf:
interval_ms: 10000
tag: $(DC_PRINT_LOG_FILTER_CONF_TAG)
output: stderr
- id: 4
element: file-sink
from: [ [3] ]
conf:
flush_size: 100
path: $(DC_FILE_SINK_CONF_PATH)