[Live-devel] How to control Frame rate for MPEG2 TS stream from server side

Ross Finlayson finlayson at live555.com
Thu Dec 21 07:31:19 PST 2006


>  We are using testMPEG1or2VideoStreamer.cpp as a server for 
>streaming MPEG2 ES, PS and TS stream and 
>testMPEG1or2VideoReceiver.cpp as a receiver program. We could able 
>to control frame rate for MPEG2 ES and PS stream from server side by 
>changing the default frame rate (fFrameRate) in 
>MPEGVideoStreamFramer.cpp to change fDurationInMicroseconds

You shouldn't do this.  Each frame's duration, and thus the frame 
rate, is calculated automatically by parsing the timestamp 
information in the MPEG ES or TS stream.  You should not want or need 
to change this.
-- 

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/20061221/9169b18c/attachment.html 


More information about the live-devel mailing list