Hi,
The information is not in h264/h265 stream so the decoder does not handle it. You would need to check how to get the information from rtp packets. Each frame should have one timestamp and please refer to the option to set timestamps to the frames:
--copy-timestamp <st> <fps> Enable copy timestamp with start timestamp(st) in seconds for decode fps(fps) (for input-nalu mode)