Create hls directories at transcoder start to account for stream output changes. Fixes #940

This commit is contained in:
Gabe Kangas
2021-04-15 21:34:51 -07:00
parent 05c3c9c7f7
commit 543577c2e0
3 changed files with 37 additions and 26 deletions

View File

@ -87,6 +87,7 @@ func (t *Transcoder) Start() {
command := t.getString()
log.Infof("Video transcoder started using %s with %d stream variants.", t.codec.DisplayName(), len(t.variants))
createVariantDirectories()
if config.EnableDebugFeatures {
log.Println(command)