summaryrefslogtreecommitdiff
path: root/configs/kvmd/v1-hdmi.conf
blob: 9c2e48a0ba561dd56debdc8c331f33df124b4a1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
kvmd:
    server:
        host: 127.0.0.1
        port: 8081
        heartbeat: 3.0

    log:
        services:
            - kvmd.service
            - kvmd-tc358743.service

    hid:
        pinout:
            reset: 4

        device: /dev/ttyAMA0
        speed: 115200
        reset_delay: 0.1

    atx:
        pinout:
            power_led: 24
            hdd_led: 22
            power_switch: 23
            reset_switch: 27

        click_delay: 0.1
        long_click_delay: 5.5

        state_poll: 0.1

    msd:
        pinout:
            target: 12
            reset: 13

        device: "/dev/kvmd-msd"
        init_delay: 2.0
        reset_delay: 1.0
        write_meta: true
        chunk_size: 65536

    streamer:
        pinout:
            cap: -1
            conv: -1

        sync_delay: 0.0
        init_delay: 1.0
        init_restart_after: 0.0
        shutdown_delay: 10.0

        quality: 20
        desired_fps: 0

        host: 127.0.0.1
        port: 8082
        timeout: 2.0

        cmd:
            - "/usr/bin/ustreamer"
            - "--device=/dev/kvmd-streamer"
            - "--device-persistent"
            - "--format=uyvy"
            - "--encoder=omx"
            - "--workers=3"
            - "--quality={quality}"
            - "--desired-fps={desired_fps}"
            - "--dv-timings"
            - "--host={host}"
            - "--port={port}"
            - "--drop-same-frames=30"

        state_poll: 1.0

logging:
    version: 1
    disable_existing_loggers: false

    formatters:
        console:
            (): logging.Formatter
            style: "{"
            format: "{name:20.20} {levelname:>7} --- {message}"

    handlers:
        console:
            level: DEBUG
            class: logging.StreamHandler
            stream: ext://sys.stdout
            formatter: console

    root:
        level: INFO
        handlers:
            - console

# vim: syntax=yaml filetype=yaml