Could someone briefly explain what the acronym PTS means in reference to video encoding?
Presentation timestamp (PTS) is a number indicating the moment when an elementary stream unit (video/audio/DVB subtitles) should be played. It is one of the most important parameters that determines if the video plays correctly.
The DTS decides when a frame has to be decoded, while the PTS describes when a frame has to be presented. This difference becomes important when using B-frames, which are frames that can have references to frames in the past, but also to frames in the future.
The PTS (Presentation Time Stamp) or DTS (Decode Time Stamp) is the time stamp of the packet being received and these will be different for each packet in the stream so will not be a fixed value.
Presentation Time Stamp. I couldn't say it any better than the wiki page, found here: http://en.wikipedia.org/wiki/Presentation_time_stamp
You may also find this relative link here on SO useful: Can the ffmpeg av libs return an accurate PTS?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With