如何将web RTSP参数传递给VLC

如何将web RTSP参数传递给VLC,web,vlc,Web,Vlc,嗨,我买了一台便宜的DVR录像机,我想把视频从网页传送到VLC。我试过很多次,但VLC说MRL不好 在网页中,一切正常 <embed src="back.GIF" name="movie1" qtsrc="rtsp://192.168.0.22:554/user=admin&amp;password=&amp;channel=1&amp;stream=1.sdp?real_stream--rtp-caching=100" controller="false" loo

嗨,我买了一台便宜的DVR录像机,我想把视频从网页传送到VLC。我试过很多次,但VLC说MRL不好

在网页中,一切正常

<embed src="back.GIF" name="movie1" qtsrc="rtsp://192.168.0.22:554/user=admin&amp;password=&amp;channel=1&amp;stream=1.sdp?real_stream--rtp-caching=100" controller="false" loop="false" scale="tofit" wmode="Transparent" autoplay="true" kioskmode="true" enablejavasript="true" href="javaScript:void(0)" target="Myself" allowfullscreen="true" bgcolor="black" plugin="quicktimeplugin" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/" height="100%" width="100%">


考虑查看超级用户网站上发布的答案。请参阅“”上的,它指的是与您所说的完全相同的URL设置。

谢谢Wireshark的帮助。 这是一个很好的参数


vlc“rtsp://192.168.0.22:554/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp caching=100“

您能详细说明一下您的尝试吗。如果我理解正确,您想在VLC中打开带有特定参数的rtsp流吗?如果只是复制
rtsp://192.168.0.22:554/
rtsp://192.168.0.22:554/user=admin&密码=&;通道=1&;stream=1.sdp?real_stream——rtp缓存=100
到VLC?您的DVR录像机是否说明用于观看流的rtsp URL模式(可能在手册中)…我的DVR是www.genway.pl/DVR-004h-ii-vidiline-rejestrator-hybrydowy-ahd-4ch。手册中没有任何关于RSTP或extrenal streamin的行。它拥有自己的云服务器。但我想在我的本地网络中获得本地流。好的,手册上的语言是什么:波兰语?它没有明确的RTSP地址。你可以用wireshark截取数据流,看看发生了什么?然而,我刚刚在这里发现了这篇文章,它的答案与rtsp地址组件/格式完全相同: