laowo 4 år sedan
förälder
incheckning
9fcab2a040
1 ändrade filer med 9 tillägg och 1 borttagningar
  1. 9 1
      操作命令

+ 9 - 1
操作命令

@@ -82,6 +82,10 @@ ln -s /var/lib/mysql /opt/vdb/mysql //创建软连接
 
 /opt/vdb/mysql
 
+*********设置权限*********
+chmod 777 文件
+
+
 
 ln -s /opt/vdb/mysql /var/lib/mysql
 
@@ -105,4 +109,8 @@ FLUSH PRIVILEGES ;权限刷新
        location ~ /static/.*\.(js|css|png)$ { 
      proxy_pass http://121.40.217.77:8084;
      rewrite ^/AF/static/(.*)$ /static/$1 last;
-}
+}
+
+**********************FFMPEG rtsp转hls 命令********************************
+
+nohup ffmpeg -i rtsp://admin:Admin123@172.16.120.190/Streaming/Channels/1 -fflags flush_packets -max_delay 1 -an -flags -global_header -hls_time 1 -hls_list_size 3 -hls_wrap 3 -vcodec copy -y /Users/ze/Downloads/EasyDarwinGoM3u8/test/test.m3u8 >/dev/null 2>&1 &