better trnscode

This commit is contained in:
Olive Vaughn 2026-08-26 01:43:55 -04:00
parent e7255ea8a2
commit 8e7944f688
5 changed files with 75 additions and 14 deletions

View file

@ -9,6 +9,7 @@ RUN git clone https://github.com/m1k1o/go-transcode.git . \
COPY patches/go-transcode-vaapi.patch /tmp/go-transcode-vaapi.patch
RUN git apply /tmp/go-transcode-vaapi.patch \
&& gofmt -w hlsvod/manager.go hlsvod/probe.go hlsvod/transcode.go \
&& CGO_ENABLED=0 go build -o /go-transcode .
# Keep Alpine 3.17: upstream documents an FFmpeg 6 segmenting regression with