diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-04-12 22:56:49 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-04-12 22:56:49 +0200 |
commit | f8bfa0fc702bc65bfe1552dec58de36d36a7f29e (patch) | |
tree | 94d96ef39308464fce2005c68c77c9cbf33a3a9a /chaos-at-home/ch-zimablade.yml | |
parent | sk-cloudio: (diff) |
ch-zimablade as video player
Diffstat (limited to 'chaos-at-home/ch-zimablade.yml')
-rw-r--r-- | chaos-at-home/ch-zimablade.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/chaos-at-home/ch-zimablade.yml b/chaos-at-home/ch-zimablade.yml new file mode 100644 index 00000000..eeb75a0b --- /dev/null +++ b/chaos-at-home/ch-zimablade.yml @@ -0,0 +1,25 @@ +--- +- name: Basic Setup + hosts: ch-zimablade + roles: + - role: apt-repo/base + - role: core/base + - role: core/sshd/base + - role: core/zsh + - role: core/ntp + - role: core/cpu-microcode + +- name: Payload Setup + hosts: ch-zimablade + roles: + - role: apt-repo/spreadspace + - role: streaming/blackmagic/desktopvideo + - role: streaming/mpv-headless + post_tasks: + - name: install script to play videos via decklink card + copy: + dest: /usr/local/bin/play-video.sh + mode: 0755 + content: | + #!/bin/bash + exec ffmpeg -i "$1" -ac 2 -pix_fmt uyvy422 -s 1920x1080 -r 25 -f decklink 'DeckLink Mini Monitor 4K' |