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:
commit
6625e5927e
11 changed files with 603 additions and 0 deletions
33
config.example.yaml
Normal file
33
config.example.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue