two rtp servers... read on one computer

About encoding, codec settings, muxers and filter usage
pjwhite
Blank Cone
Blank Cone
Posts: 15
Joined: 09 Jan 2007 18:51
Location: canader

two rtp servers... read on one computer

Postby pjwhite » 01 Mar 2007 21:24

hi everyone. I am having a fairly annoying problem that I can't get around, without going to udp streaming, which then makes it annoying cause udp doesn't do exactly what I want...

First off: i am using FC6, and I installed live555 and vlc and the like all from scratch and everything works nicely except this (that i have found).

So, a simple version of what I am trying to do is this: I have two streams, one from each computer, streaming a live camera on my LAN. Both streams would ideally be rtp streams, accessed with the sdp file. The problem is that no matter what i set in the server line (i'll show later), the port it sends the video stream on is always 1232, and the computer I view the streams on, gets confused and the video streams get mixed up (a few frames of one feed, to a few frames of the other).

my command to stream is:

vlc <input codes> --sout '#transcode{mp4v...}:rtp{port=1234,sdp=rtsp://192.168.100.170:8080/stream.sdp}'

on one computer and:

vlc <input codes> --sout '#transcode{mp4v...}:rtp{port=2200,sdp=rtsp://192.168.100.180:8080/stream.sdp}'


I start viewing the stream in vlc or mplayer fine, but when I start the 2nd stream, the first one stalls, and the second one plays about half a second of each camera alternating back and forth...

I set up a packet sniffer on the recieving computer and the UDP packets I get have a destination port of 1232 regardless of which computer it is coming from (170 or 180, both send on 1232, even though i thought i set the port to 2200 on one of them)

anyways, This is really buggin me, and I thought someone here might have a good idea of what i could do...

Thanks!

Patrick

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 2 guests