[FFmpeg-devel] [PATCH v3 0/2] Propagate PRFT side data

Clément Péron peron.clem at gmail.com
Fri Dec 6 15:49:16 EET 2024


Hi,

This is in the continuity of the v1 that was sent in September 2023.

The idea is to be able to access the Producer Timestamp aka PRFT
of a RTSP stream in the encoder to be able to write it in the final
file.

In my case, the PRFT is a timestamp that is produced by the camera
to give the precise time when the image has been captured.

The V2 included a ringBuffer to support CUVID hardware decoder, but
CUVID is almost deprecated and the Side data is properly supported in
NVDEC so it's no more required.

Thanks for your comment,
Regards

Changes since v2:
 - Drop cuvid ringbuffer

Changes since v1:
 - Rebase on master
 - Add cuvid ringbuffer

Clément Péron (2):
  libavutil/frame: Introduce a new AV_FRAME_DATA_PRFT
  avcodec/rawenc: propagate the Producer Reference time

 libavcodec/decode.c      |  1 +
 libavcodec/rawenc.c      | 12 ++++++++++++
 libavfilter/f_sidedata.c |  1 +
 libavutil/frame.c        |  1 +
 libavutil/frame.h        |  5 +++++
 5 files changed, 20 insertions(+)

-- 
2.47.1



More information about the ffmpeg-devel mailing list