Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Add resizing to video processing
Gabe Kangasd52a120fa6be
diff --git a/Dockerfile b/Dockerfileindex 387bd2c1c0..ca4ba6ddb9 100644--- a/Dockerfile+++ b/Dockerfile@@ -5,6 +5,5 @@ ADD . /appWORKDIR /appRUN apk add --no-cache ffmpeg ffmpeg-libsRUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o owncast .-RUN ls -al owncastWORKDIR /appCMD ["/app/owncast"]\ No newline at end of filediff --git a/README.md b/README.mdindex 40be713ebd..601658343a 100644--- a/README.md+++ b/README.md@@ -173,8 +173,6 @@ The following is a list of things, as long as there's some traction, I'd like to* Add built-in Let's Encrypt support so SSL is enabled out of the box.-* Add a Dockerfile so you can run it from a container.-<!-- LICENSE -->## Licensediff --git a/ffmpeg.go b/ffmpeg.goindex ed0c666c49..f886a02924 100644--- a/ffmpeg.go+++ b/ffmpeg.go@@ -42,7 +42,9 @@ func startFfmpeg(configuration Config) {ffmpegFlags := []string{"-hide_banner","-i pipe:",- strings.Join(videoMaps, " "), // All the different video variants+ "-vf scale=900:-2",+ "-sws_flags fast_bilinear",+ strings.Join(videoMaps, " "), // All the different video variantsstrings.Join(audioMaps, " ") + " -c:a copy", // Audio for all the variants// strings.Join(audioMaps, " ") + " -c:a aac -b:a 192k -ac 2", // Audio for all the variants"-master_pl_name stream.m3u8",