mirror of
https://github.com/IllusionMan1212/ffui.git
synced 2026-10-24 02:12:35 +00:00
fix: don't quote file paths
This commit is contained in:
@@ -79,11 +79,8 @@ func encode(fullFilePath string, fileName string, teaP *tea.Program, cfg ParsedC
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
quotedFilePath := fmt.Sprintf("\"%s\"", fullFilePath)
|
err = ffmpeg.Input(fullFilePath).
|
||||||
quotedNewFilePath := fmt.Sprintf("\"%s\"", newFileFullPath)
|
Output(newFileFullPath, ffmpeg.KwArgs{
|
||||||
|
|
||||||
err = ffmpeg.Input(quotedFilePath).
|
|
||||||
Output(quotedNewFilePath, ffmpeg.KwArgs{
|
|
||||||
"c:v": cfg.VideoEncoder,
|
"c:v": cfg.VideoEncoder,
|
||||||
"crf": cfg.CRF,
|
"crf": cfg.CRF,
|
||||||
"preset": cfg.Preset,
|
"preset": cfg.Preset,
|
||||||
|
|||||||
Reference in New Issue
Block a user