FyshOS / movies

Fyne based movie file player
Other
26 stars 7 forks source link

could not determine kind of name for C.swr_alloc_set_opts #5

Open xaionaro opened 2 hours ago

xaionaro commented 2 hours ago

Just a humble bugreport. I've tried to run the player, but got an error:

$ git clone https://github.com/FyshOS/movies
[...]
$ cd movies/
$ go run ./
# github.com/zergon321/reisen
../../../../../.gvm/pkgsets/go1.23.2/global/pkg/mod/github.com/zergon321/reisen@v0.1.7/audio.go:57:17: could not determine kind of name for C.swr_alloc_set_opts
andydotxyz commented 1 hour ago

Thanks, it seems that the API of one of the dependencies has moved on and the reisen library is not updated. We will need to figure out the break and fix the usage upstream.

andydotxyz commented 1 hour ago

It looks like you need to be using ffmpeg v6 and recently systems have gone to 7. I don't think any forks of the reisen project have moved to 7 yet. If you can downgrade let us know how you get on. Updating looks like it could be a lot of work.