Log in

View Full Version : How does DTS works?


GEFORCEXTREME
21st February 2011, 11:16
Hi, I'm streaming x264 encoded data with MPEG2-TS as mux over RTP protocol.

I know DTS are used for correct decoding of the video. Let say there is a series of timestap (TS)

TS1, TS2, TS3, TS4 in increasing magnitude.

If the order is not messed up, but I change the timestamp difference between 2 PES packets, what will happen?

If I edit the packets and swapped TS2 and TS3, what will happen? Using wrong packets for decoding resulting in artifact /drift in the video?

I believe this is not necessary H.264 related, but since I'm using x264 I post this question here.

Many thanks! :thanks: