Streaming UDP audio/video

About encoding, codec settings, muxers and filter usage
Beginner1
Blank Cone
Blank Cone
Posts: 13
Joined: 01 Sep 2008 06:44

Streaming UDP audio/video

Postby Beginner1 » 11 Nov 2008 09:59

How many ports do I have to allocate to a UDP video/audio stream?
Regards
Naty

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

Re: Streaming UDP audio/video

Postby Rémi Denis-Courmont » 11 Nov 2008 17:48

2 ports per elementary stream, or 2 ports as a whole if using TS.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Beginner1
Blank Cone
Blank Cone
Posts: 13
Joined: 01 Sep 2008 06:44

Re: Streaming UDP audio/video

Postby Beginner1 » 12 Nov 2008 09:22

Thanks for the rapid reply.
Can you please refer to some documentation where I can read alittle on that?
Regards
Nati

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

Re: Streaming UDP audio/video

Postby Rémi Denis-Courmont » 12 Nov 2008 17:15

The RTP AVP profile is defined in RFC3550.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Beginner1
Blank Cone
Blank Cone
Posts: 13
Joined: 01 Sep 2008 06:44

Re: Streaming UDP audio/video

Postby Beginner1 » 12 Nov 2008 20:07

Thanks,
Following your advise I could see the answer to my question and more...
On the other hand I made some experiments myself to trace it.
I streamed (VLC ver. 0.8.2) video and audio from one PC to another in my private LAn and ran a sniffer (Wireshark, if you know, without any filtering) and tried to trace the packets.
The packets were all with just one source port and one target port(though the packets type were MPEG PES, MPEG-1, represinting VIDEO and AUDIO respectively)
Can you please explain where does the other port hide?
Regards
Naty

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

Re: Streaming UDP audio/video

Postby Rémi Denis-Courmont » 12 Nov 2008 21:06

VLC 0.8.2 is antiquated. I don't even remember how it works.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 21 guests