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

Error compiling nginx-vod-module with nginx-1.24.0 #1511

Open
sebastian2012 opened this issue Feb 26, 2024 · 2 comments
Open

Error compiling nginx-vod-module with nginx-1.24.0 #1511

sebastian2012 opened this issue Feb 26, 2024 · 2 comments

Comments

@sebastian2012
Copy link

Hi!
I am compiling the nginx-vod-module with Nginx-1.24.0 on Debian 12 (bookworm). The configure script runs smoothly with the following options:
./configure --with-http_ssl_module --add-module=../nginx-rtmp-module --add-module=../nginx-vod-module --with-file-aio --with-threads --with-cc-opt="-O3" --with-http_stub_status_module --with-http_secure_link_module
However, when I run 'make', I receive the following error message:
../nginx-vod-module/vod/filters/audio_decoder.c: In function ’audio_decoder_init_decoder:
../nginx-vod-module/vod/filters/audio_decoder.c:60:47: error: AVCodecContext has no member named ch_layout; did you mean channel_layout?

Best Regards!

@erankor
Copy link
Contributor

erankor commented Mar 15, 2024

Hi, can you check what is the value of LIBAVUTIL_VERSION_INT in your environment? sounds like the version check may be wrong.

@sebastian2012
Copy link
Author

Hi!
how can I check the variable? Is it a Shell Variable? I didn't found hints in the nginx.source-Files ... (grep -R -i libavutil *
Apt shows that libavutil-dev is installed in Version 7:5.1.4-0+deb1, libavutil56 in Version 7:4.3.6-0+deb1 and libavutil57 in Version 7:5.1.4-0+deb1.
Thanks!
Best regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants