[Live-devel] To read H264 file and stream MPEG2TS

Ross Finlayson finlayson at live555.com
Thu Nov 8 15:24:08 PST 2012


I suspect that the problem here is that by feeding a "MPEG2TransportStreamFromESSource" directly into a "SimpleRTPSink", you end up sending very small RTP packets - each containing just one (188-byte) Transport Packet.

For greater efficiency, you should insert - between the "MPEG2TransportStreamFromESSource" and the "SimpleRTPSink" - a new 'filter', that you would write, that accumulates incoming MPEG Transport Stream packets into groups of 7 (i.e., 7*188 = 1316 bytes), before feeding it into the "SimpleRTPSink". 


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20121108/f9ef1543/attachment.html>


More information about the live-devel mailing list