GstNetBalancer A GStreamer Network Balancer Element - Examples - Basic pipelines



  Index  





This page showcases basic usage examples of the netbalancer element. It uses videotestsrc streaming over different protocols and shows the results of the received

udpsink pipeline

The following pipeline uses the netbalancer

gst-launch-1.0 videotestsrc is-live=true ! 'video/x-raw,width=1280,height=720,framerate=30/1' ! queue ! x264enc key-int-max=30 bitrate=10000 ! queue ! mpegtsmux alignment=7 ! netbalancer bandwidth=12000 distribution-factor=300 min-delay=1000 ! udpsink port=3000 host=127.0.0.1 -v

The following images show the difference between using the netbalancer and not using it.

rtspsink pipeline

gst-launch-1.0 videotestsrc is-live=true ! 'video/x-raw,width=1280,height=720,framerate=30/1' ! queue ! x264enc key-int-max=30 bitrate=10000 ! queue ! mpegtsmux alignment=7 ! netbalancer bandwidth=12000 distribution-factor=300 min-delay=1000 ! video/x-h264, mapping=/stream1 ! rtspsink service=3000 -v

The following images show the difference between using the netbalancer and not using it.


  • Note: The rtspsink element is a RidgeRun product sold separately, more information can be found on its own wiki here: GstRtspSink



  Index