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

Incompatible with ffmpeg v7: could not determine kind of name for C.swr_alloc_set_opts #5

Open
xaionaro opened this issue Oct 27, 2024 · 3 comments

Comments

@xaionaro
Copy link

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/[email protected]/audio.go:57:17: could not determine kind of name for C.swr_alloc_set_opts
@andydotxyz
Copy link
Contributor

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
Copy link
Contributor

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.

@xaionaro
Copy link
Author

xaionaro commented Oct 27, 2024

Thanks for the response. I do use ffmpeg v7 and downgrading is not an option for me.

Today I tried to fix reisen for some time, and realized it is too much work. So I decided to write my fyne-ish player from scratch based on astiav (with which I don't have problems). It already displays the picture/video, tomorrow will make audio...

@xaionaro xaionaro changed the title could not determine kind of name for C.swr_alloc_set_opts Incompatible with ffmpeg v7: could not determine kind of name for C.swr_alloc_set_opts Oct 27, 2024
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