memories/config.go

20 lines
412 B
Go
Raw Normal View History

2022-11-10 12:27:29 +00:00
package main
type Config struct {
2022-11-11 02:01:33 +00:00
// FFmpeg binary
ffmpeg string
// FFprobe binary
ffprobe string
2022-11-11 03:40:53 +00:00
// Temp files directory
tempdir string
2022-11-11 02:01:33 +00:00
// Size of each chunk in seconds
2022-11-10 17:39:09 +00:00
chunkSize int
2022-11-11 02:01:33 +00:00
// How many *chunks* to look behind before restarting transcoding
lookBehind int
2022-11-11 02:20:47 +00:00
// Number of chunks in goal to restart encoding
goalBufferMin int
// Number of chunks in goal to stop encoding
goalBufferMax int
2022-11-10 12:27:29 +00:00
}