From: "Clément Péron" <peron.clem@gmail.com> To: Kieran Kunhya <kierank@obe.tv> Cc: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Subject: Re: [FFmpeg-devel] [RFC PATCH 0/3] Propagate PRFT side data Date: Tue, 24 Oct 2023 17:10:50 +0200 Message-ID: <CAJiuCcesyXxZDA3JbcGyh2oLzvyhSUwVmMoYtzJoCJGU9bbhZA@mail.gmail.com> (raw) In-Reply-To: <CAJiuCceafG9fFKvGPA0-D0uDZXRrEqgEeBvJoRw1nwFHztXsAw@mail.gmail.com> Hi, On Sun, 24 Sept 2023 at 11:12, Clément Péron <peron.clem@gmail.com> wrote: > > Hi, > > I plan to resent this series without the latest patch. > > Regarding Patch 1 and 2 do you have any comment? > > One thing is that unlike the decode.c which has a common > ff_decode_frame_props_from_pkt() there is no such thing for the encode > part. Or maybe I missed it ? > > I noticed that the propagation of this data doesn't work when I enable > the hardware Nvidia encoder. > > Does it make sense to introduce a ff_encode_packet_props_from_frame()? So I investigate this and understand that the cuvid packet has its own format and it's not capable of forwarding metadata. So I'm not sure I'm going in the right direction by forwarding the PRFT all along FFMpeg. Does it make sense to have the PTS to be an absolute timestamp? If I look at the RTPdec it seems that everybody expects the ts to be relative. https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/rtpdec.c#L669-L694 Thanks, > > Thanks, > > > On Thu, 21 Sept 2023 at 17:41, Clément Péron <peron.clem@gmail.com> wrote: > > > > Hi Kieran, > > > > On Thu, 21 Sept 2023 at 15:13, Kieran Kunhya <kierank@obe.tv> wrote: > > > > > > On Thu, 21 Sept 2023, 13:17 Clément Péron, <peron.clem@gmail.com> wrote: > > >> > > >> 4I have a project where I need to synchronize multiple RTSP cameras with other > > >> network sensors (sync with NTP or PTP). > > > > > > > > > Just be aware the clock of the vast majority of cameras have no relation to NTP or PTP so you will have drift and need to handle that (e.g by dropping or duplicating frames). > > > > Thanks for pointing this out, and yes I consider each of my sensors > > running on a free clock and I recreate a "virtual frame" that is not > > correlated to the FPS of each sensor. > > > > Thanks, > > Clement > > > > > > > > Kieran _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
prev parent reply other threads:[~2023-10-24 15:11 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-09-21 12:16 Clément Péron 2023-09-21 12:16 ` [FFmpeg-devel] [RFC PATCH 1/3] frame: decode: propagate PRFT side data packet to frame Clément Péron 2023-09-21 12:16 ` [FFmpeg-devel] [RFC PATCH 2/3] avcodec: rawenc: Forward PRFT frame data to packet Clément Péron 2023-09-21 12:17 ` [FFmpeg-devel] [RFC PATCH 3/3] HACK: avformat: rawenc: allow to output a raw PRFT Clément Péron 2023-09-21 20:09 ` Michael Niedermayer 2023-09-21 20:51 ` Andreas Rheinhardt 2023-09-22 7:44 ` Clément Péron 2023-09-22 7:59 ` Andreas Rheinhardt 2023-09-22 8:38 ` Clément Péron 2023-09-22 9:26 ` Paul B Mahol 2023-09-22 10:05 ` Clément Péron 2023-09-22 11:41 ` Paul B Mahol 2023-09-22 12:39 ` Clément Péron 2023-09-22 13:16 ` Paul B Mahol 2023-09-22 14:29 ` Clément Péron 2023-09-22 17:39 ` Paul B Mahol 2023-09-22 10:02 ` Andreas Rheinhardt 2023-09-22 10:10 ` Clément Péron 2023-09-22 11:34 ` Andreas Rheinhardt 2023-09-22 12:31 ` Clément Péron 2023-09-21 13:12 ` [FFmpeg-devel] [RFC PATCH 0/3] Propagate PRFT side data Kieran Kunhya 2023-09-21 15:41 ` Clément Péron 2023-09-24 9:12 ` Clément Péron 2023-10-24 15:10 ` Clément Péron [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CAJiuCcesyXxZDA3JbcGyh2oLzvyhSUwVmMoYtzJoCJGU9bbhZA@mail.gmail.com \ --to=peron.clem@gmail.com \ --cc=ffmpeg-devel@ffmpeg.org \ --cc=kierank@obe.tv \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git