You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have ffmpeg installed.
I want to test the code in joy4/examples/audio_decode/main.go when the program reported the following error:
# github.com/nareix/joy4/cgo/ffmpeg
In file included from /root/go/pkg/mod/github.com/nareix/[email protected]/cgo/ffmpeg/audio.go:4:0:
./ffmpeg.h:5:10: fatal error: libavresample/avresample.h: No such file or directory
#include <libavresample/avresample.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
when I execute go get github.com/nareix/joy4/cgo/ffmpeg ,the error appears again.
From ffmpeg 5.x, avresample is no longer available, you might need to downgrade. We are working on modifying it to work with later ffmpeg versions. https://github.com/kerberos-io/joy4
I have
ffmpeg
installed.I want to test the code in
joy4/examples/audio_decode/main.go
when the program reported the following error:when I execute
go get github.com/nareix/joy4/cgo/ffmpeg
,the error appears again.Then execute the following commands.
But the program still reports errors, so what can I do?
The text was updated successfully, but these errors were encountered: