[Live-devel] RTP to Transport Stream

Boris Rekhtman rekhtman at verizon.net
Tue Mar 4 10:24:11 PST 2008


No, the network is clean. It appears that there is a problem in timestamp
conversion from RTP packets to PES packets.

I had to modify MPEG2TransportStreamFromESSource.cpp, exclude PTS from the
PES header by assigning

            fInputBuffer[7] = 0x00;   // instead of 0x80

            fInputBuffer[8] = 0;        // instead of 5

and adjusting 

            #define SIMPLE_PES_HEADER_SIZE 9 // instead of 14

in order to make it work.

 

Boris Rekhtman

 

  _____  

From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Tuesday, March 04, 2008 12:48 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] RTP to Transport Stream

 

I tried this and the result file stutters a lot in VLC.

I also tried to stream this TS using BasicUDPSink and it also stutters in
VLC and if played on Amino set-top box.

What can be a reason for this?

 

Packet loss, perhaps?  (You can check for packet loss using the "-Q" option
to "openRTSP".)

-- 


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/20080304/6ed528d8/attachment.html 


More information about the live-devel mailing list