vlc rtsp 服务器脚本
set VLC="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" set VIDEO="D:\BaiduYunDownload\123.avi" %VLC% -vvv %VIDEO% --loop --sout "#transcode{vcodec=h264,vb=0,scale=0,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://:554/test}"
前两句相当于变量,后面一句不变;生成.bat文件即可