Swapped default aac encoder with libfdk_aac in transcoded audio tracks.
This commit is contained in:
@@ -23,7 +23,11 @@ RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -ldflags "-extldflag
|
||||
|
||||
# Create the image by copying the result of the build into a new alpine image
|
||||
FROM alpine:3.20.3
|
||||
RUN apk update && apk add --no-cache ffmpeg ffmpeg-libs ca-certificates && update-ca-certificates
|
||||
RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates
|
||||
|
||||
# Import a copy of ffmpeg with libfdk_aac included from a separate image
|
||||
COPY --from=my-ffmpeg-static:latest /ffmpeg /usr/bin/
|
||||
COPY --from=my-ffmpeg-static:latest /ffprobe /usr/bin/
|
||||
|
||||
RUN addgroup -g 101 -S owncast && adduser -u 101 -S owncast -G owncast
|
||||
|
||||
|
||||
Reference in New Issue
Block a user