Page 1 of 1

VLC mutlicast TTL issues

Posted: 27 Feb 2009 00:05
by abfu
I have been trying to use vlc to stream multicast through a cisco 2800. I can't seem to get this to work unless everything is on the same network. Once it has to take one hop even if its local on the router the packets die. I have done a packet capture and all the multicast traffic leaving has a ttl of 1. I have set it the software to 6 and higher but, it always leaves as 1. If someone could help it would be great!!

Also this is being run on windows xp

Re: VLC mutlicast TTL issues

Posted: 02 Mar 2009 01:28
by abfu
It works fine if I do this through command line. If you set the ttl with the GUI no luck it sets the ttl as one always. Is this a known bug? Thanks,

Re: VLC mutlicast TTL issues

Posted: 02 Mar 2009 19:10
by Rémi Denis-Courmont
You're probably not using the right TTL setting or not using the preferences dialog properly.

Re: VLC mutlicast TTL issues

Posted: 03 Mar 2009 00:59
by abfu
I'm changing the ttl in the gui but, when its streamed the multicast ttl when packet captured remains one. Am I doing something wrong? ATTatched is a screenshot



Image

Re: VLC mutlicast TTL issues

Posted: 03 Mar 2009 17:53
by Rémi Denis-Courmont
This looks like a UI bug.

Re: VLC mutlicast TTL issues

Posted: 05 Mar 2009 02:18
by abfu
Could you or someone please provide me the proper string I should use through command line to stream to this multicast group with these gui settings?


Thanks!

Re: VLC mutlicast TTL issues

Posted: 05 Mar 2009 17:01
by Rémi Denis-Courmont
Just add ",ttl=xxx" before the last pair of "}}", I guess

Re: VLC mutlicast TTL issues

Posted: 05 Mar 2009 18:15
by abfu
I tried adding the ttl to the output in the gui but, still has a ttl of 1 when doing the packet capture.
For the people who are actually using vlc to stream multicast across multiple hops how have you done it? I can't get pass the local router because of the TTL issue. Any help would be greatly appreciated.

Thanks again.

This is what I added via the gui
:sout=#duplicate{dst=display,dst=std{access=udp,dst=239.1.1.1:1234,ttl=12}}

Re: VLC mutlicast TTL issues

Posted: 29 Apr 2009 22:22
by jherbert
Here is what worked for me. You have to manually change the below. Using the GUI for TTL doesn't work apparently. TTL is an option for udp so it goes in {} after udp. no expert here but it worked for me.
:sout=#duplicate{dst=display,dst=std{access=udp{ttl=10},dst=239.1.1.1:1234}}

My issue now is that the destination mac is incorrect. I guess I will need to post on a separate thread but curious what your destination mac is? It should be a mulitcast mac but its not. It is just the ip arp of the next hop.

Re: VLC mutlicast TTL issues

Posted: 08 Feb 2020 17:01
by gabarrio1234
I manage to send multicast traffic with TTL = 10 using the global parameter:
:sout=#udp{dst=239.255.0.1:5004} :sout-all :sout-keep --ttl=10

VLC v3.0.8
Hope this helps somebdy