电脑桌面串流为rtp流

vlc screen:// :screen-fps=30 :screen-caching=100 :sout '#transcode{vcodec=mp4v,vb=4096,acodec=mpga,ab=256,scale=1,width=1280,height=800}:rtp{dst=192.168.1.2,port=1234,access=udp,mux=ts}' 另一播放器播放rtp://192.168.1.2:1234 酌情修改为自己的ip地址。

电脑桌面串流为http流

vlc.exe screen:// :screen-fps=30 :screen-caching=100 :sout '#transcode{vcodec=mp4v,vb=4096,acodec=mpga,ab=256,scale=1,width=1280,height=800‌​}:standard{access=http, mux=ts, dst=192.168.0.1:8080}' 另一播放器播放http://192.168.0.1:8080 酌情修改为自己的IP。

或者一条命令搞定2种串流方式

此内容查看价格为1.99智能币立即购买
你的支持是我更新原创的动力,如果有疑问详询qq:16900693
播放地址: http://xxx.xxx.xxx.xxx:8080/http rtsp://xxx.xxx.xxx.xxx:8554/rtsp

让VLC不显示界面,在后台运行,默默串流你的电脑屏幕显示到网络流。

增加 -I dummy 参数即可实现

发表回复