blob: eeb75a0b9e80ebfdf491b19cc36a0cbf58835739 (
plain) (
blame)
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
|
---
- 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'
|