Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exec: "ffmpeg": executable file not found in $PATH #2

Closed
kerncoola opened this issue Jan 12, 2021 · 3 comments
Closed

exec: "ffmpeg": executable file not found in $PATH #2

kerncoola opened this issue Jan 12, 2021 · 3 comments

Comments

@kerncoola
Copy link

GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/123/Library/Caches/go-build"
GOENV="/Users/123/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/123/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/123/go"
GOPRIVATE=""
GOPROXY="https://goproxy.cn"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/g9/hclfswm94yg5g7njg7lnk9200000gn/T/go-build637456610=/tmp/go-build -gno-record-gcc-switches -fno-common"

@kerncoola
Copy link
Author

大佬看下Mac环境下ffmpeg是直接放到$PATH即GOPATH="/Users/123/go"目录下吗

@yann0917
Copy link
Owner

yann0917 commented Jan 12, 2021

大佬看下Mac环境下ffmpeg是直接放到$PATH即GOPATH="/Users/123/go"目录下吗

ffmpeg的安装问题,直接 brew 安装就行,brew 已经帮你维护好了 brew install ffmpeg

@kerncoola
Copy link
Author

好的,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants