yup, SEI contains the timing info - if you have a stream like mine which doesn&#39;t have SEI in it, then all is not lost<br>you have to compute presentation time yourself, which sorta sucks, but&#39;s doable<br>if your encoder is simple enough, if you come across a NAL unit which is a slice unit (type a, b, idr, etc..there&#39;s like 4 types listed in the table of NAL types)
<br>then first you have to figure out how many slices compose the current frame; there is a variable in the slice (or in the PPS, i&#39;m not sure) that tells how many slices make up the current frame<br>if your framerate is constant (it should be), 
e.g 30fps, then your fPresentationTime should += 33ms for each frame (so for e.g 3 slices in one frame, all should get same timestamp)<br><br>this worked for me, but i got problems with drift since i wasn&#39;t synced with my video source...if your playing from a file, all&#39;s good and dandy, but if your streaming from a live source,
<br>then get your &#39;current frame time&#39; for the dequeued frame you got from the source..that way you never lose sync.<br><br><br>