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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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/

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to