-
Notifications
You must be signed in to change notification settings - Fork 318
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
Build Error on Slackware64 14.2 #118
Comments
We do nightly builds against FFmpeg git master. So, I think your ffmpeg build config has something to remove a deprecated API that we are still using. Run |
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers |
You are not using MLT 6.2.0 because we no longer use AVCodecContext.request_channels. This was fixed a while ago: |
Oh. I had two source archives and may have got them mixed up when I copied the error. Sorry about that. I have attached an error.log so perhaps you can tell me the problem? Configure options: ./configure \ Thanks for your help. |
All your build errors are in vdpau.c. To get it to compile, you could add this to your MLT configuration: P.S. https://www.mltframework.org/bin/view/MLT/OnlineSupport |
The vdpau option defaults false for a long time now (since Mar 27, 2011) and requires an explicit option to enable it, which is not specified in the configure line above. In fact, that option is no longer supported and was removed from the configure --help output for the latest release. Are you still using really old sources: 0.6.2 instead of 6.2.0? If not, then how did that get turned on? Did you simply extract new sources over the top of old sources and run make? |
Sorry, it was a PEBKAC. Works fine now. |
I get this error building 6.2.0:
producer_avformat.c: In function ‘producer_get_audio’:
producer_avformat.c:2224:17: error: ‘AVCodecContext {aka struct AVCodecContext}’ has no member named ‘request_channels’
codec_context->request_channels = self->audio_index == INT_MAX ? codec_context->channels : *channels;
Would this be connected with ffmpeg version by any chance? I have 3.1.1
The text was updated successfully, but these errors were encountered: