Page 1 of 1

DTS for Elementary streams during RTP streaming

Posted: 22 Jul 2013 07:24
by kushakyal
I am doing live streaming of h.264 and AAC elementary streams to VLC on Windows/MAC through RTP/RTSP protocol.

The buffers sent from the server side are assigned timestamp values depending on the frame rate/sampling rate. This timestamp is nothing but the PTS values. And I am not assigning specifically any DTS values to these buffers.

My question is, that if VLC player does not get these DTS values(for elementary streams) will it be a problem.
Also I have read in ffmpeg tutorial that if DTS values are not present then VLC will use instead PTS values for synching.

Re: DTS for Elementary streams during RTP streaming

Posted: 22 Jul 2013 11:48
by Jean-Baptiste Kempf
It should be fine, indeed.

Re: DTS for Elementary streams during RTP streaming

Posted: 22 Jul 2013 18:06
by RĂ©mi Denis-Courmont
VLC, or rather liblive555, should follow the relevant RTP payload format specifications (RFC) from IETF. Please make sure you generate the RTP header and payload as specified.