From: Paul B Mahol <onemda@gmail.com> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Subject: Re: [FFmpeg-devel] [PATCH v3] ffmpeg: add option -isync Date: Sat, 9 Jul 2022 21:43:21 +0200 Message-ID: <CAPYw7P6NMzONFh=1xNOTpR-qfGVAno2jq3Bm3rqwRR3cjePqJQ@mail.gmail.com> (raw) In-Reply-To: <4695e134-a83f-fdb3-3c04-ed3b724a82c9@gyani.pro> On Sat, Jul 9, 2022 at 8:28 PM Gyan Doshi <ffmpeg@gyani.pro> wrote: > > > On 2022-07-08 09:26 am, Gyan Doshi wrote: > > > > > > On 2022-07-07 03:11 pm, Anton Khirnov wrote: > >> Quoting Gyan Doshi (2022-07-04 18:29:12) > >>> This is a per-file input option that adjusts an input's timestamps > >>> with reference to another input, so that emitted packet timestamps > >>> account for the difference between the start times of the two inputs. > >>> > >>> Typical use case is to sync two or more live inputs such as from > >>> capture > >>> devices. Both the target and reference input source timestamps > >>> should be > >>> based on the same clock source. > >>> > >>> If not all inputs have timestamps, the wallclock times at the time of > >>> reception of inputs shall be used. FFmpeg must have been compiled with > >>> thread support for this last case. > >> I'm wondering if simply using the other input's InputFile.ts_offset > >> wouldn't achieve the same effect with much less complexity. > > > > That's what I initially did. But since the code can also use two other > > sources for start times (start_time_realtime, first_pkt_wallclock), > > those intervals may not exactly match the difference between > > fmctx->start_times so I use a generic calculation. > > Plan to push on Monday, if no further changes. 5.1 is to be cut soon. > > Why big rush, its not so critical. Regards, > Gyan > _______________________________________________ > 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". > _______________________________________________ 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".
next prev parent reply other threads:[~2022-07-09 19:40 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-04 16:29 Gyan Doshi 2022-07-07 9:41 ` Anton Khirnov 2022-07-08 3:56 ` Gyan Doshi 2022-07-09 18:27 ` Gyan Doshi 2022-07-09 19:43 ` Paul B Mahol [this message] 2022-07-09 19:56 ` Gyan Doshi 2022-07-09 20:49 ` Hendrik Leppkes 2022-07-10 17:13 ` Anton Khirnov 2022-07-10 17:16 ` Anton Khirnov 2022-07-10 18:02 ` Gyan Doshi 2022-07-10 18:51 ` Anton Khirnov 2022-07-11 6:46 ` Gyan Doshi 2022-07-13 12:30 ` Anton Khirnov 2022-07-13 12:53 ` Gyan Doshi 2022-07-14 6:46 ` Anton Khirnov 2022-07-14 7:47 ` Gyan Doshi 2022-07-14 8:15 ` Anton Khirnov 2022-07-14 8:18 ` Gyan Doshi
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='CAPYw7P6NMzONFh=1xNOTpR-qfGVAno2jq3Bm3rqwRR3cjePqJQ@mail.gmail.com' \ --to=onemda@gmail.com \ --cc=ffmpeg-devel@ffmpeg.org \ /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