./Configure--prefix=/usr/local/Nginx--sbin-path=/usr/local/nginx/sbin/Nginx--conf-path=/usr/local/nginx/conf/nginx.conf--error-Log-path=/usr/local/nginx/Log/error.Log --http-Log-path=/usr/local/nginx/Log/access.Log --pid-path=/usr/local/nginx/var/nginx.PID--lock-path=/usr/local/nginx/var/nginx.Lock--http-client-body-temp-path=/tmp/Clientbody--http-proxy-temp-path=/tmp/Proxy--http-fastcgi-temp-path=/tmp/fastcgi--http-uwsgi-temp-path=/tmp/Uwsgi--http-scgi-temp-path=/tmp/scgi--user=www--group=www--with-file-AIO--with-Http_realip_module--with-Http_ssl_module--with-openssl=/usr/local/src/OpenSSL--with-Http_gzip_static_module--with-zlib=/usr/local/src/zlib--with-Http_stub_status_module--with-pcre=/usr/local/src/Pcre--without-Select_module--without-Poll_module--without-Http_ssi_module--without-Http_userid_module--without-Http_geo_module--without-Http_empty_gif_module--without-Http_map_module--without-Mail_pop3_module--without-Mail_imap_module--without-Mail_smtp_module--with-Http_flv_module--with-Http_mp4_module--add-module=/usr/local/src/nginx_mod_h264_streaming-2.2.7 \ --add-module=/usr/local/src/nginx-rtmp-module-master
Note that the third-party module uses the absolute path specified by the Add-module
Yamdi
Tar xzvf yamdi-1.4.tar.gz
CD yamdi-1.4
Make && make install
How to use: Yamdi-i input.flv-o out.flv
/usr/local/src all the files are in this directory
Tar xzvf nginx_mod_h264_streaming-2.2.7
Tar xzvf nginx-rtmp-module-master
You can specify the path when compiling
--with-http_flv_module--with-http_mp4_module--add-module=/usr/local/src/nginx_mod_h264_streaming-2.2.7 \--add-module=/usr/local/src/nginx-rtmp-module-master
Nginx supports FLV MP4 extension nginx_mod_h264_streaming,nginx-rtmp-module-master,yamdi