VLC mutlicast TTL issues

About encoding, codec settings, muxers and filter usage
abfu
New Cone
New Cone
Posts: 5
Joined: 26 Feb 2009 23:59

VLC mutlicast TTL issues

Postby abfu » 27 Feb 2009 00:05

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

abfu
New Cone
New Cone
Posts: 5
Joined: 26 Feb 2009 23:59

Re: VLC mutlicast TTL issues

Postby abfu » 02 Mar 2009 01:28

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,

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC mutlicast TTL issues

Postby Rémi Denis-Courmont » 02 Mar 2009 19:10

You're probably not using the right TTL setting or not using the preferences dialog properly.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

abfu
New Cone
New Cone
Posts: 5
Joined: 26 Feb 2009 23:59

Re: VLC mutlicast TTL issues

Postby abfu » 03 Mar 2009 00:59

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC mutlicast TTL issues

Postby Rémi Denis-Courmont » 03 Mar 2009 17:53

This looks like a UI bug.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

abfu
New Cone
New Cone
Posts: 5
Joined: 26 Feb 2009 23:59

Re: VLC mutlicast TTL issues

Postby abfu » 05 Mar 2009 02:18

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!

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC mutlicast TTL issues

Postby Rémi Denis-Courmont » 05 Mar 2009 17:01

Just add ",ttl=xxx" before the last pair of "}}", I guess
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

abfu
New Cone
New Cone
Posts: 5
Joined: 26 Feb 2009 23:59

Re: VLC mutlicast TTL issues

Postby abfu » 05 Mar 2009 18:15

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}}

jherbert
New Cone
New Cone
Posts: 3
Joined: 29 Apr 2009 22:10

Re: VLC mutlicast TTL issues

Postby jherbert » 29 Apr 2009 22:22

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.

gabarrio1234
New Cone
New Cone
Posts: 1
Joined: 08 Feb 2020 16:55

Re: VLC mutlicast TTL issues

Postby gabarrio1234 » 08 Feb 2020 17:01

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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests