flavioribeiro / nginx-audio-track-for-hls-module

:sound: Nginx module that generates audio track for HTTP Live Streaming (HLS) streams on the fly.
GNU General Public License v3.0
137 stars 17 forks source link

Error when add-module #29

Closed juanm4 closed 7 years ago

juanm4 commented 7 years ago

Hi, I have tried to compile this module but return an error during compile. I also add lua module and I have installed ffmpeg on Ubuntu Server 16.04.02

When I execute this:

./configure --add-module=/path/to/nginx-audio-track-for-hls-module --add-module=/path/to/lua-nginx-module

I get the next error:

../nginx-audio-track-for-hls-module-master/ngx_http_aac_module.h:5:32: fatal error: libavcodec/avcodec.h: No existe el archivo o el directorio

I would know more details about how to add this module. Thanks!

juanm4 commented 7 years ago

The problem was that I haven't installed libavformat, libavcodec, libavutil in ubuntu.