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>
33 lines
688 B
YAML
33 lines
688 B
YAML
# 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
|