[Live-devel] New LIVE555 version, now supports 'trick play' on H.264 Transport Stream files

Ross Finlayson finlayson at live555.com
Thu Jan 6 08:00:25 PST 2011


>We had a similar problem with MPEG2 files that are hardware
>encoded with a Hauppauge PVR-150 card (CBR file).  The PCR
>timestamps increase regularly but infrequently.
>
>I fully understand that the liveMedia code should not be modified
>but in case it's helpful to anyone, our workaround was to change
>MPEG2TransportStreamFramer.cpp so that:
>
>#define NEW_DURATION_WEIGHT 0.05
>
>also due to the size of the jitter buffer on the receiver we have:
>
>#define MAX_PLAYOUT_BUFFER_DURATION 0.25

Yes, setting values for those 4 parameters in 
"MPEG2TransportStreamFramer.cpp" is, unfortunately, somewhat of a 
'black art'; it's going to be hard - if not impossible - to find 
values that will work well for everybody.

Note, though, that each of these definitions is enclosed by

#if !defined( ... )
#endif

So it's possible to change these values without changing the file 
"MPEG2TransportStreamFramer.cpp" itself.  (E.g., you could define 
your new values on the command line when you compile the file.)
-- 

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


More information about the live-devel mailing list