[gst-devel] MPEG2TS streaming performance
ochaba at maindata.sk
Thu Jun 25 21:30:02 CEST 2009
we have problem with CPU load when want to split MPEG2 Transport Stream
First pipepline (only trasport raw TS stream):
gst-launch -v dvbsrc adapter=0 frequency=12565000 polarity="h"
symbol-rate=27500 ! udpsink host=184.108.40.206 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=220.127.116.11 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,
//\ Marek Ochaba, e-mail: ochaba at maindata.sk //\
More information about the gstreamer-devel