ingest server can't start after program init
This commit is contained in:
parent
7babb1aff8
commit
4c695d0a20
@ -241,9 +241,6 @@ def load_config():
|
|||||||
lower_third.style = cfg['text']['style']
|
lower_third.style = cfg['text']['style']
|
||||||
lower_third.regex = cfg['text']['regex']
|
lower_third.regex = cfg['text']['regex']
|
||||||
|
|
||||||
ingest.enable = cfg['ingest']['enable']
|
|
||||||
ingest.stream_input = shlex.split(cfg['ingest']['stream_input'])
|
|
||||||
|
|
||||||
return cfg
|
return cfg
|
||||||
|
|
||||||
|
|
||||||
@ -296,6 +293,9 @@ def pre_audio_codec():
|
|||||||
return ['-c:a', 's302m', '-strict', '-2', '-ar', '48000', '-ac', '2']
|
return ['-c:a', 's302m', '-strict', '-2', '-ar', '48000', '-ac', '2']
|
||||||
|
|
||||||
|
|
||||||
|
ingest.enable = _cfg['ingest']['enable']
|
||||||
|
ingest.stream_input = shlex.split(_cfg['ingest']['stream_input'])
|
||||||
|
|
||||||
pre.w = _cfg['processing']['width']
|
pre.w = _cfg['processing']['width']
|
||||||
pre.h = _cfg['processing']['height']
|
pre.h = _cfg['processing']['height']
|
||||||
pre.aspect = _cfg['processing']['aspect']
|
pre.aspect = _cfg['processing']['aspect']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user