# How to interpret PTS values logged by encoder

**URL:** <https://community.wowza.com/t/how-to-interpret-pts-values-logged-by-encoder/40286>\
**Category:** Wowza Streaming Engine\
**Created:** [April 14, 2013, 4:43pm UTC](https://community.wowza.com/t/how-to-interpret-pts-values-logged-by-encoder/40286 "2013-04-14T16:43:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew\_Green](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@Matthew\_Green](https://community.wowza.com/u/Matthew_Green)\
**Post date:** [April 14, 2013, 4:43pm UTC](https://community.wowza.com/t/how-to-interpret-pts-values-logged-by-encoder/40286/1 "2013-04-14T16:43:30Z")

</div>

I’m trying to match up presentation time stamp (PTS) values in an incoming MPEG TS UDP stream (being output by VLC or FFMPEG) to those logged by the Wowza encoder.

I’ve followed the post [https://www.wowza.com/docs/how-to-debug-encoder-multi-bitrate-keyframe-alignment](https://www.wowza.com/docs/how-to-debug-encoder-multi-bitrate-keyframe-alignment) to enable debugKeyFrameTimecodes and can see PTS/DTS values being logged for the key frames but they don’t appear to match those of the original MPEG TS UDP input, however they do seem to be somehow based on the input because when restarting the input the same PTS/DTS are logged.

How should the PTS/DTS values logged by Wowza be interpreted? Can I expect them to match the values in the input stream?

Thanks,

Matt
