I fixed it in OS Windows so that the console window would not appear.
This commit is contained in:
parent
1ece1e443d
commit
68d9c4bb66
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user