[gst-devel] MPEG2TS streaming performance

Marek Ochaba ochaba at maindata.sk
Thu Jun 25 21:30:02 CEST 2009


Hello,

we have problem with CPU load when want to split MPEG2 Transport Stream
with GStreamer.

First pipepline (only trasport raw TS stream):
gst-launch -v dvbsrc adapter=0 frequency=12565000 polarity="h"
symbol-rate=27500 ! udpsink host=224.0.0.8 port=1234
consume 1.3 % of CPU (Xeon 2.66)

Second pipeline (split stream, but put all to same sink):
gst-launch dvbsrc adapter=0 frequency=12565000 polarity="h"
symbol-rate=27500 ! mpegtsparse program-numbers=8001:8002:8003:8004:8005
.src0 ! udpsink host=224.0.0.8 port=1234
which consume 21 % of CPU

IMHO main problem is in transport buffers between gst elements. Both
pipeline have same bitrate, but first use biger buffer (kB unlike 188B in
second). Is there any efective way to construct-configure second pipeline,
so the CPU load will be less ?

Thank for any advice,
-- 
(o_                                              _o)
//\   Marek Ochaba, e-mail: ochaba at maindata.sk   //\
V_/_                                             U_/_




More information about the gstreamer-devel mailing list