jjzjj

Golang + Avconv 错误(退出状态 254)

我在第二行收到“panic:退出状态254”。你能发现我在这里犯的错误吗:command:=exec.Command("avprobe","inputfile.mp4-loglevelquiet-show_streams-frame_size-print_format-show_format-ofjson")output,err:=command.StdoutPipe();iferr!=nil{log.Panic(err)}iferr:=command.Run();err!=nil{log.Panic(err)}json.NewDecoder(output).Decode(&struc