photoprism/internal/ffmpeg/encode/const.go
Michael Mayer 2e2ebab433 Videos: Improve downloading, remuxing, and transcoding #4982 #4892 #5040
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-06-09 15:31:23 +02:00

22 lines
438 B
Go

package encode
// FFmpegBin defines the default ffmpeg binary name.
const (
FFmpegBin = "ffmpeg"
FFprobeBin = "ffprobe"
)
// Bitrate limit min, max, and default settings in MBps.
const (
NoBitrateLimit = -1
MinBitrateLimit = 1
DefaultBitrateLimit = 60
MaxBitrateLimit = 960
)
// Default video and audio track mapping.
const (
DefaultMapVideo = "0:v:0"
DefaultMapAudio = "0:a:0?"
DefaultMapMetadata = "0"
)