RtpMux and RtpDemux

Biloute l_coquerel at yahoo.co.uk
Sat Dec 10 00:50:53 PST 2011


Hi Olivier.

Is there a way to mux 2 video streams and send over rtp on the server side
and on the client to receive them with VLC. I know that it works if I dump
into a ts file but when I send it over rtp, it's a different story.

Here is the client command running on Ubuntu 11.04

vlc udp://@:5000


Here is my server pipeline:

gst-launch --gst-debug=2 videotestsrc name ="alpha" pattern="snow" \
  ! 'video/x-raw-yuv, format=(fourcc)I420, width=240, height=120,
framerate=(fraction)25/1' \
  ! x264enc bitrate=512 ! muxer. \
    videotestsrc name ="beta" \
  ! 'video/x-raw-yuv, format=(fourcc)I420, width=640, height=480,
framerate=(fraction)25/1' \
  ! textoverlay text="Hello and welcome to GStreamer!" valignment=3 \
  ! x264enc bitrate=512 ! muxer. flutsmux name="muxer" ! rtpmp2tpay ! \
    udpsink host=192.168.100.2 port=5000 ts-offset=0

I am getting some warnings saying that the latency cannot be set and in VLC
nothing opens.
I've also tried to replace flutsmux by mpegtsmux, but no luck either.

I'm pretty sure it's coming from the mux. If anyone could help with this
one, I'd be very grateful as I've already spent a good while on it.

Thanks a lot
Biloute

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RtpMux-and-RtpDemux-tp968452p4179633.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list