14 lines
225 B
Go
14 lines
225 B
Go
package config
|
|
|
|
import "github.com/spf13/viper"
|
|
|
|
type FfmpegConfig struct {
|
|
Framerate int
|
|
}
|
|
|
|
func NewFfmpegConfig() *FfmpegConfig {
|
|
return &FfmpegConfig{
|
|
Framerate: viper.GetInt("ffmpeg.video.generation.framerate"),
|
|
}
|
|
}
|