jpeg.yml
device-connector-intdashとともにインストールされる /etc/dc_conf/jpeg.yml
は、V4L2(Video for Linux 2)経由で取得したMJPEG形式の動画を送信するためのパイプライン設定ファイルです。
tasks:
- id: 1
element: v4l2-src
conf:
path: $(DC_V4L2_SRC_CONF_PATH)
type: jpeg
width: $(DC_V4L2_SRC_WIDTH)
height: $(DC_V4L2_SRC_HEIGHT)
fps: $(DC_V4L2_SRC_FPS)
- id: 2
element: jpeg-split-filter
from: [ [1] ]
- id: 3
element: iscp-v2-compat-filter
from: [ [2] ]
conf:
timestamp:
stamp:
clock_id: CLOCK_MONOTONIC
convert_rule:
# Starting from v2.2.0, it is required that 'jpeg' be specified as a map.
jpeg:
name: "jpeg"
- id: 4
element: print-log-filter
from: [ [3] ]
conf:
interval_ms: 10000
tag: $(DC_PRINT_LOG_FILTER_CONF_TAG)
output: stderr
- id: 5
element: file-sink
from: [ [4] ]
conf:
flush_size: 100
path: $(DC_FILE_SINK_CONF_PATH)