Initial commit: sheepflix media streaming API

Go API for browsing/searching media files with ffprobe metadata,
token auth, and go-transcode integration for HLS streaming.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Olive Vaughn 2026-08-26 00:08:01 -04:00
commit 31cd97e267
11 changed files with 631 additions and 0 deletions

33
config.example.yaml Normal file
View file

@ -0,0 +1,33 @@
# go-transcode configuration for VAAPI hardware encoding
# Copy this to go-transcode/config.yaml and adjust as needed
vod:
media-dir: /media
transcode-dir: /tmp/go-transcode
# Cache transcoded segments
cache: true
profiles:
480p:
height: 480
videoBitrate: 1500k
audioBitrate: 128k
hwaccel: vaapi
vaapi-device: /dev/dri/renderD128
codec: h264_vaapi
720p:
height: 720
videoBitrate: 3000k
audioBitrate: 192k
hwaccel: vaapi
vaapi-device: /dev/dri/renderD128
codec: h264_vaapi
1080p:
height: 1080
videoBitrate: 6000k
audioBitrate: 256k
hwaccel: vaapi
vaapi-device: /dev/dri/renderD128
codec: h264_vaapi