Fix offline stream (#46)

* publish offline stream background image

* add text to offline stream
This commit is contained in:
Jason Dove
2021-03-07 21:18:38 +00:00
committed by GitHub
parent 5998fd2f5f
commit ed592bd0a0
3 changed files with 17 additions and 8 deletions
+1 -4
View File
@@ -98,10 +98,7 @@ namespace ErsatzTV.Core.FFmpeg
.WithLoopedImage("Resources/background.png")
.WithLibavfilter()
.WithInput("anullsrc")
.WithFilterComplex(
$"[0:0]scale={desiredResolution.Width}:{desiredResolution.Height}[video]",
"[video]",
"1:a")
.WithErrorText(desiredResolution, "Channel is Offline")
.WithPixfmt("yuv420p")
.WithPlaybackArgs(playbackSettings)
.WithMetadata(channel)