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

Clément Péron peron.clem at gmail.com
Wed Jan 1 16:45:14 EET 2025


Hi Michael,

On Fri, 6 Dec 2024 at 14:54, Clément Péron <peron.clem at gmail.com> wrote:
>
> 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

Do you think it's acceptable to merge this series?

I tried to improve the second patch but didn't find a proper solution.
See discussion on v2:
https://ffmpeg.org/pipermail/ffmpeg-devel/2024-December/337479.html

Thanks and Happy new year!

>
> 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