forked from voc/voctomix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default-config.ini
98 lines (79 loc) · 2.74 KB
/
default-config.ini
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
[mix]
videocaps=video/x-raw,format=I420,width=1920,height=1080,framerate=25/1,pixel-aspect-ratio=1/1
audiocaps=audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000
; tcp-ports will be 10000,10001,10002
sources=cam1,cam2,grabber
; set the initial audio source
;audiosource=cam1
;[source.cam1]
;kind=decklink
;devicenumber=0
;video_connection=SDI
;video_mode=1080i50
;audio_connection=embedded
;[source.background]
;kind=img
;imguri=file:///opt/voc/share/background.png
[output-buffers]
; voctocore has a buffer on all video-outputs, that store video-frames for your
; sink when it can't handle them all in real-time. so if your sink takes 2 seconds
; to process a really hard to precess frame, voctomix needs to store 50 frames
; for you, hoping that your sink will catch up soon.
; if the sink doesn ot catch up in time, voctomix will drop it and remove it
; from the output. it's your task to restart it in such a situation.
; by default, voctomix will store up to 500 frames for your sink (20 seconds)
; you might want to up that even more for your recording-sink, so that it never
; gets disconnected. for this reason, the following configuration raises the
; default limit for the mix_out sink to a whopping 10'000 frames (400 seconds)
;cam1_mirror=500
;cam2_mirror=500
;grabber_mirror=500
mix_out=10000
;streamblanker_out=500
[fullscreen]
; if configured, switching to fullscreen will automatically select this
; source. if not configured, it will not change the last set source
;default-a=cam1
[side-by-side-equal]
; defaults to 1% of the video width
;gutter=12
;atop=50
;btop=200
; if configured, switching to the sbs-equal mode will automatically select these
; sources. if not configured, it will not change the last set sources
;default-a=cam1
;default-b=cam2
[side-by-side-preview]
;asize=1024x576
;apos=12/12
;bsize=320x180
;bpos=948/528
; automatically select these sources when switching to sbs-preview
;default-a=grabber
;default-b=cam1
[picture-in-picture]
;pipsize=320x180
;pippos=948/528
; automatically select these sources when switching to pip
;default-a=grabber
;default-b=cam1
[previews]
; disable if ui & server run on the same computer and can exchange uncompressed video frames
enabled=false
deinterlace=false
; use vaapi to encode the previews, can be h264, mpeg2 or jpeg (BUT ONLY h264 IS TESTED)
; not all encoders are available on all CPUs
;vaapi=h264
; default to mix-videocaps, only applicable if enabled=true
; you can change the framerate and the width/height, but nothing else
;videocaps=video/x-raw,width=1024,height=576,framerate=25/1
[stream-blanker]
enabled=true
sources=pause,nostream
volume=1.0
;[source.stream-blanker-pause]
;kind=img
;imguri=file:///home/peter/VOC/voctomix/bgloop.jpg
[mirrors]
; disable if not needed
enabled=true