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

Getting "CloseInputAndRelease undefined, packet.Frames undefined" error when trying to run Transcode example #127

Open
cyantarek opened this issue Apr 9, 2020 · 4 comments

Comments

@cyantarek
Copy link

HI,

I'm trying to run transcode.go example by following the installation guide. But I'm getting this error:

# audio-extract-resample
./main.go:95:16: inputCtx.CloseInputAndRelease undefined (type *gmf.FmtCtx has no field or method CloseInputAndRelease)
./main.go:98:17: outputCtx.CloseOutputAndRelease undefined (type *gmf.FmtCtx has no field or method CloseOutputAndRelease)
./main.go:131:23: packet.Frames undefined (type *gmf.Packet has no field or method Frames)
./main.go:137:15: cannot use packet (type *gmf.Packet) as type gmf.CgoMemoryManager in argument to gmf.Release:
	*gmf.Packet does not implement gmf.CgoMemoryManager (missing Release method)
@3d0c
Copy link
Owner

3d0c commented Apr 9, 2020

Hi.
Yeah, unfortunately this is right — current version of transcode.go is obsolete. I'll write a new one soon.
Thanks.

@3d0c 3d0c closed this as completed Apr 9, 2020
@3d0c 3d0c reopened this Apr 9, 2020
@cyantarek
Copy link
Author

Hi @3d0c, I'm waiting :)

@Xantios
Copy link

Xantios commented Jan 12, 2021

Running into the same issue. an update would help a lot here :-)

@iamacarpet
Copy link

Had the same problem, eventually got something working:

https://github.com/a1comms/go-mp3-transcode-api

Stripped all the video stuff out though, as we only wanted audio transcoding.

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

4 participants