[FFmpeg-devel] [PATCH v2 0/3] Propagate PRFT side data

Clément Péron peron.clem at gmail.com
Fri Nov 1 19:21:21 EET 2024


Hi,

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

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.

There is also a patch to be able to forward any side data when the
decoder used is cuvid.

Thanks for your comment,
Regards

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

Troy Benson (1):
  avcodec/cuvid: introduce a ringbuffer to reattach additional data

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

-- 
2.46.2



More information about the ffmpeg-devel mailing list