帮助:UDP 广播 vlc 流怪异!
您好,我正在尝试使用 vlc 在 LAN 内广播 UDP 流,使其像电视频道一样。
我使用命令行启动 VLC,然后 vlc 可以运行 =
cvlc --repeat filename.avi --sout '#standard{access=udp,mux=ts,dst=239.255.12.42:8001}
问题是它可以在某些网络上运行,并且我在没有路由器的网络上接收它时遇到问题!
问:“239.255.xx”地址有什么神奇之处?除了交换机和电缆之外,UDP 广播还需要哪些网络硬件?无线可以接受UDP广播吗?
感谢您的回答!
Hi I'm trying using vlc to broadcast UDP stream within a LAN, Making it like a TV channel.
I used command line to launch VLC which then vlc is ok to run =
cvlc --repeat filename.avi --sout '#standard{access=udp,mux=ts,dst=239.255.12.42:8001}
problem is it works on some network, and I have problem receiving it on a network without router!
Question: what is some magical about the address "239.255.x.x" ? what network hardware is require for UDP broadcast besides switches and cables? Does wireless can accept UDP broadcast?
Thanks for your answers!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
239.255.xx 地址是多播地址空间的一部分,范围从 224.0.0.0 到 239.255.255.255(其中有一些特定用途的区域)。
您已经正确地注意到,没有路由器它就无法工作。这是因为基本 IP 堆栈仍然想知道如何路由这些地址以确定将它们发送到哪个接口。您可以添加多播静态路由(该地址或所有多播地址),也可以设置默认网关。
The 239.255.x.x addresses are part of the multicast address space, ranging from 224.0.0.0 to 239.255.255.255 (and there are some specific-use areas in there).
You've correctly noted that it doesn't work without a router. This is because the basic IP stack still wants to know how to route those addresses to determine which interface to send them on. You can either add a static route for multicast (that address or all multicast addresses), or put in a default gateway.
在此处阅读有关使用命令行选项的信息。
更具体的答案:
Read about using command line options here.
More specific answer: