> Does the stream have B-frames ?
Yes.
> If you are seeing correct display on screen (i.e video is moving smoothly) but seeing incorrect timestamp
Yes.
> it means issue is with setting the timestamp by the application.
> Check with a stream analyzer and confirm the frame timestamp is same as what you are feeding decoder.
Ok. I'll check it.
Thanks!