Re: [FFmpeg-user] RTP/H264 Decoding - DTS is not set

2017-09-28 Thread Lou Logan
On Thu, Sep 28, 2017, at 07:29 AM, Sergio Basurco wrote: [...] > I do have timestamps for each of the packets I send to > avcodec_decode_video2, but they are not increasingly monotonic > (B-frames) and I don't know which one to use for the decoded frame. Wrong mailing list. ffmpeg-user is

[FFmpeg-user] RTP/H264 Decoding - DTS is not set

2017-09-28 Thread Sergio Basurco
Hi there, (Context: RTSP H264 decoding for IP cameras) After some reading I found in the RTP Payload format for H.264 that: "The RTP timestamp is set to the sampling timestamp of the content. A 90 kHz clock rate MUST be used." From which I assume that if a camera does not send timing info