mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
23 lines
438 B
Go
23 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"
|
|
)
|