Support default path of ffmpeg and not needing to specify it in the config
This commit is contained in:
@@ -72,7 +72,7 @@ func fireThumbnailGenerator(chunkPath string, variantIndex int) error {
|
||||
mostRecentFile := path.Join(framePath, names[0])
|
||||
|
||||
thumbnailCmdFlags := []string{
|
||||
config.Config.FFMpegPath,
|
||||
config.Config.GetFFMpegPath(),
|
||||
"-y", // Overwrite file
|
||||
"-threads 1", // Low priority processing
|
||||
"-t 1", // Pull from frame 1
|
||||
|
||||
@@ -104,7 +104,7 @@ func (t *Transcoder) getString() string {
|
||||
|
||||
ffmpegFlags := []string{
|
||||
"cat", t.input, "|",
|
||||
config.Config.FFMpegPath,
|
||||
config.Config.GetFFMpegPath(),
|
||||
"-hide_banner",
|
||||
"-i pipe:",
|
||||
t.getVariantsString(),
|
||||
|
||||
Reference in New Issue
Block a user