blob: 92f6ce360c1fa47d2ea8098470ee667d8f12e653 (
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
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
|
containers:
- name: record
image: registry.gitlab.com/spreadspace/docker/ffmpeg:{{ recorder_ffmpeg_image_version }}
imagePullPolicy: Always
command:
- /usr/bin/ffmpeg
args:
- -f
- decklink
- -format_code
- '{{ recorder_decklink_format_code }}'
- -ac
- '{{ recorder_audio_channels }}'
- -i
- '{{ recorder_decklink_card }}'
- -c:a
- aac
- -b:a
- '{{ recorder_audio_bitrate }}'
- -g
- '1'
- -c:v
- libx264
- -crf
- '{{ recorder_video_crf }}'
- -x264-params
- 'colorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=off'
- -f
- segment
- -segment_atclocktime
- '1'
- -segment_time
- '{{ recorder_segment_time }}'
- -segment_clocktime_offset
- '{{ recorder_segment_clocktime_offset }}'
- -strftime
- '1'
- -reset_timestamps
- '1'
- '%Y-%m-%d_%H-%M-%S.mkv'
workingDir: /srv
securityContext:
privileged: true
volumeMounts:
- name: home
mountPath: /srv
- name: decklink-device
mountPath: /dev/blackmagic
- name: decklink-libs
subPath: libDeckLinkAPI.so
mountPath: /usr/lib/libDeckLinkAPI.so
readOnly: true
- name: decklink-libs
subPath: libDeckLinkPreviewAPI.so
mountPath: /usr/lib/libDeckLinkPreviewAPI.so
readOnly: true
- name: decklink-libs
subPath: blackmagic
mountPath: /usr/lib/blackmagic
readOnly: true
volumes:
- name: home
hostPath:
path: "{{ recorder_base_path }}/{{ recorder_inst_name }}"
- name: decklink-device
hostPath:
path: /dev/blackmagic
- name: decklink-libs
hostPath:
type: Directory
path: /usr/lib/
|