kaltura / nginx-vod-module

NGINX-based MP4 Repackager
GNU Affero General Public License v3.0
2k stars 439 forks source link

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

Open sebastian2012 opened 9 months ago

sebastian2012 commented 9 months ago

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 commented 8 months ago

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

sebastian2012 commented 8 months ago

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!