Multiple Streams via UDP While Limiting Bandwidth

hoene mrathbun at buffalo.edu
Sat Apr 30 01:58:42 UTC 2016


Thank you for the response. I tried to come up with some pipelines using
MJPEG and then encoding into rtp packets. The following seems to work but I
was wondering if you had any other suggestions on what I can improve in the
pipeline. I will also port everything to gstreamer-1.0 after everything
works as needed.

gst.parse_launch(v4l2src device=/dev/video' + str(self.cam) + ' !
video/x-raw-yuv, framerate=' + str(self.fps) + '/1, width=640, height=480 !
ffmpegcolorspace ! jpegenc ! rtpjpegpay ! udpsink host=' + self.homeIP + '
port=1234 v4l2src device=/dev/video' + str(self.cam + 1) + ' !
video/x-raw-yuv, framerate=' + str(self.fps) + '/1, width=640, height=480 !
ffmpegcolorspace ! jpegenc ! rtpjpegpay ! udpsink host=' + self.homeIP + '
port=1235')

gst.parse_launch('udpsrc port=1234 caps="application/x-rtp, payload=127" !
rtpjpegdepay ! jpegdec ! xvimagesink sync=false udpsrc port=1235
caps="application/x-rtp, payload=127" ! rtpjpegdepay ! jpegdec ! xvimagesink
sync=false')




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Multiple-Streams-via-UDP-While-Limiting-Bandwidth-tp4677216p4677253.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list