ngx_http_estreaming_module
ngx_http_estreaming_module copied to clipboard
Module is not getting built
I have compiled ffmpeg like this PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --pkg-config-flags="--static" --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
$HOME is /root and estreaming config file has
CORE_LIBS="$CORE_LIBS -I /root/ffmpeg_build/include -lswresample -lavformat -lavcodec -lavutil -lavcodec -lavfilter -lrt -lswscale -lz -lm -lbz2 -lfdk-aac -lx264" ngx_addon_name=ngx_http_estreaming_module HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_estreaming_module" CFLAGS="$CFLAGS -ggdb -D_DEBUG -D_LARGEFILE_SOURCE" NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/src/ngx_http_estreaming_module.c"
but still getting following error while compiling source libavutil/old_pix_fmts.h: No such file or directory
I think. You have libavutil package on your system (OS). Try to remove libav* from your system.
Include file maybe found on /usr/include/libavutil before $HOME/ffmpeg_build/include.