nginx_rtmp_module exec ffmpeg中exec 怎么执行啊?
rtmp {
20 server {
21 listen 1935;
22 chunk_size 4096;
23
24 application live {
25 live on;
26 record off;
27 allow publish all;
28 deny publish all;
29 allow play all;
30 exec_static /home/liuhanwen/bin/ffmpeg -i rtmp://live.hkstv.hk.lxdns.com/live/hks -threads 1 -c:v libx264 -profile :v baseline -b:v 350K -s 640x360 -f flv -c:a aac -ac 1 -strict -2 -b:a 56k rtmp://192.168.1.171:1935/mylive/lhw;
31 #exec_options on;
32 }
33
34 application mylive {
35 live on;
36 record off;
37 allow publish all;
38 deny publish all;
39 allow play all;
40 }
41
42 application hls {
43 live on;
44 hls on;
45 hls_path /tmp/hls;
46 hls_fragment 15s;
47 }
48 }
49 }
启动Nginx后无法在VLC中播放,但是我手动在linux下执行ffmpeg推出来却可以在VLC中播放。求大神!