I fixed it in OS Windows so that the console window would not appear.

This commit is contained in:
Leonid Nikitin 2024-03-07 22:50:00 +05:00
parent 1ece1e443d
commit 68d9c4bb66
Signed by: kor-elf
GPG Key ID: 3C0F720C170F6E1D

View File

@ -201,6 +201,7 @@ func (s Convertor) ChangeFFprobePath(path string) (bool, error) {
func (s Convertor) GetSupportFormats() (encoder.ConvertorFormatsContract, error) {
formats := encoder.NewConvertorFormats()
cmd := exec.Command(s.ffPathUtilities.FFmpeg, "-encoders")
helper.PrepareBackgroundCommand(cmd)
stdOut, err := cmd.StdoutPipe()
if err != nil {