- 积分
- 302
- 威望
-
- 金钱
-
- 注册时间
- 2017-7-5
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
本帖最后由 蛋蛋的蛋 于 2022-12-19 21:22 编辑
- [root@localhost lnmp1.6-full]# nginx -V | grep adbcc
- nginx version: nginx/1.22.1
- built by gcc 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC)
- built with OpenSSL 1.1.1d 10 Sep 2019
- TLS SNI support enabled
- configure arguments: --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-http_sub_module --with-stream --with-stream_ssl_module --with-openssl=/root/lnmp1.6-full/src/openssl-1.1.1d --with-openssl-opt='enable-weak-ssl-ciphers' --with-ld-opt=-Wl,-rpath,/usr/local/luajit/lib --add-module=/root/lnmp1.6-full/src/lua-nginx-module-0.10.14 --add-module=/root/lnmp1.6-full/src/ngx_devel_kit-0.3.1rc1 --with-http_mp4_module --with-http_flv_module
复制代码 军哥mp4模块安装了还是播放黑屏,模块跟没装一样
nginx 访问配置里面
- listen 80;
- server_name www.xx.com ;
- index index.html index.htm index.php default.html default.htm default.php;
- root /home/wwwroot/xx/web;
- include rewrite/yii2.conf;
- include enable-php-pathinfo.conf;
- location ~ \.mp4$
- {
- mp4;
- mp4_buffer_size 1m;
- mp4_max_buffer_size 5m;
- }
复制代码 http://xxx/assets/46fed66c/image/flash01.mp4 黑屏
能麻烦军哥指点下吗,配置参数参考:http://nginx.org/en/docs/http/ngx_http_mp4_module.html
这里都是英文的 完全看不懂
|
|