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

Compilation error: could not determine kind of name for C.AV_FRAME_DATA_FILM_GRAIN_PARAMS #158

Open
ssadok opened this issue Apr 23, 2023 · 3 comments

Comments

@ssadok
Copy link

ssadok commented Apr 23, 2023

Hello gmf maintainers,

I encountered a compilation error while using the gmf library with FFmpeg version 4.4.2 on Ubuntu 22.04. The error message is as follows:
frame_go112.go:302:2: could not determine kind of name for C.AV_FRAME_DATA_FILM_GRAIN_PARAMS
My FFmpeg version details are:
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers

It seems that the gmf library references a feature that is not available in this FFmpeg version. Could you please help me resolve this issue or update the library to be compatible with this version of FFmpeg?

Thank you for your assistance!

@3d0c
Copy link
Owner

3d0c commented Apr 23, 2023

Hello, @ssadok

Try to build it from ffmpeg-4 branch.

@ssadok
Copy link
Author

ssadok commented Apr 27, 2023

Hello @3d0c,

Thank you for your suggestion to use the ffmpeg-4 branch. I have tried using the latest commit on this branch (5646e6e), but I am still encountering the following error:

/opt/gopath/pkg/mod/github.com/3d0c/[email protected]/frame_go112.go:302:2: could not determine kind of name for C.AV_FRAME_DATA_FILM_GRAIN_PARAMS

Here are the versions of Go and FFmpeg I am using:

Go version: go1.17.13 linux/amd64
FFmpeg version: ffmpeg version 4.4.2-0ubuntu0.22.04.1
I would appreciate any further guidance or suggestions on how to resolve this issue.

Thank you in advance.

@ayushanurag2002
Copy link

did you get any solution ? I am facing the same issue.

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

3 participants