[Live-devel] Ever-slowing frame-rate =(

Ross Finlayson finlayson at live555.com
Thu Oct 18 23:00:34 PDT 2007


>Sorry, but I'm confused about this. This is what i did:
>I saved my mpeg frames to a file. Then I played the file in VLC and
>QuickTime. Both played fine and at full framerate.

A file doesn't care about the rate at which data is written to it.  A 
media player, on the other hand, does.


>Other than generating the mpeg file, my code was not involved in any of the
>streaming. Are you saying my encoder encoded incorrect pts values into the
>actual MPEG frames (and it only showed when streaming not playing locally)?

No, I'm saying that your code appears to *generate/deliver the 
frames* at an incorrect rate.  (The PTS values in the frames are 
actually likely to be correct, which is why you're able to 
stream/play the data correctly after first writing it to a file.)

Anyway, once again, you're on your own here.  This is likely to be my 
last posting on this subject.
-- 

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


More information about the live-devel mailing list