[gst-devel] Transmit MPEG2 transport stream via UDP?

Ken Harris kharris at stoic.net
Thu Jan 12 14:48:08 CET 2006


 	I'm trying to make a simple (unicast or multicast) video streaming 
server with gstreamer (such that I can view it with VLC for example).

 	I made a simple script:

gst-launch-0.10 filesrc location=$file blocksize=188 \
         ! udpsink host=$host port=1234

 	This works a bit, but is very choppy.  I assume it's because there 
is no "throttle": the buffer is being overflowed.

 	Is there a simple program that will throttle the data rate?

 	I have a bunch of transport stream data that I recorded off the 
air, and here are the example data rates:

SD programs:

friends, seinfeld : 649634940 / 30 minutes = 360.9 Kbytes/sec
charlie rose : 1646463956 / 60 minutes = 457 Kbytes/sec
fraiser, sex-n-city : 1200696592 / 30 minutes = 666.66 Kbytes/sec

HD programs:

60-minutes : 7135255368 / 60 minutes = 1981 Kbyes/sec
face-the-nation : 7874226968  / 60 minutes = 2187 Kbytes/sec

 	TIA!




More information about the gstreamer-devel mailing list