How to specify ipv6 source address in output stream

About encoding, codec settings, muxers and filter usage
Hstocki
New Cone
New Cone
Posts: 3
Joined: 23 Sep 2019 00:46

How to specify ipv6 source address in output stream

Postby Hstocki » 23 Sep 2019 00:55

I am in need of specifying the source ipv6 address on a output stream. Right now vlc is using the link local address but in my application I need the source ip to be the global address.
Is there a way to do this from the command line or GUI?
Using freeBSD and vlc 3.0.8.

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

Re: How to specify ipv6 source address in output stream

Postby Rémi Denis-Courmont » 23 Sep 2019 18:58

Typically between square brackets, but you're not being very specific here.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Hstocki
New Cone
New Cone
Posts: 3
Joined: 23 Sep 2019 00:46

Re: How to specify ipv6 source address in output stream

Postby Hstocki » 23 Sep 2019 22:30

Hi,

What is the option to use for specifying the source address for the stream?
Here is the cli that I am currently using:
vlc <FILENAME> --sout "#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100,scodec=none}" --sout "rtp{dst=[ff30:1:1:1:1:1:1:1],port5004,mux=ts}" --sout-all --sout-keep --loop

When I use the above and look at the output from the server with wireshark, vlc is using the local link address (ff80:xx:xx....) for the source address of the stream. I need the source address of the stream to be the global address (2001:666::666) of the interface.

Hstocki
New Cone
New Cone
Posts: 3
Joined: 23 Sep 2019 00:46

Re: How to specify ipv6 source address in output stream

Postby Hstocki » 23 Sep 2019 22:32

Hi,

Sorry local link address should be fe80:xx:xx... not ff80:xx:xx...


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests