Vlc Command line port assignments RTSP in

About encoding, codec settings, muxers and filter usage
radnix
Blank Cone
Blank Cone
Posts: 12
Joined: 31 May 2008 16:05
VLC version: o.8.6f
Operating System: Windows
Location: Nirvana
Contact:

Vlc Command line port assignments RTSP in

Postby radnix » 14 Aug 2017 16:15

Hi , I'm connecting to a remote RTSP camera and streaming out multicast udp. I want to know is I can tell the RTSP camera what ports to send to VLC. I've studied SDP for client and server port assignments but do not see a way to construct arguments via command line for VLC to request specific ports or a port range. Any help appreciated.

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

Re: Vlc Command line port assignments RTSP in

Postby Rémi Denis-Courmont » 14 Aug 2017 19:08

If you use multicast, the sender decides on the port. Just pass --rtcp-mcast option to the VLC client to enable multicast reception.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

radnix
Blank Cone
Blank Cone
Posts: 12
Joined: 31 May 2008 16:05
VLC version: o.8.6f
Operating System: Windows
Location: Nirvana
Contact:

Re: Vlc Command line port assignments RTSP in

Postby radnix » 19 Aug 2017 23:15

Thanks for the suggestion "--rtsp-mcast". That led me to "--rtp-client-port=<integer>" and that's precisely what I need. Works for me :)

Thank you Rémi Denis-Courmont ! :D

NewtownGuy
Blank Cone
Blank Cone
Posts: 50
Joined: 11 Feb 2014 19:01

Re: Vlc Command line port assignments RTSP in

Postby NewtownGuy » 16 Nov 2017 21:39

Can you give a complete CVLC command line to show how to do this on the sending end ? I thought one would want to control which pair of adjacent ports the sender uses so one knows what pair of ports to open through a router for access to these streams from the Internet.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests