From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id F132743511 for ; Tue, 14 Jun 2022 20:26:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EA84E68B6DF; Tue, 14 Jun 2022 23:26:08 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D38D368B64F for ; Tue, 14 Jun 2022 23:26:02 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id E5AE3E72C3 for ; Tue, 14 Jun 2022 22:26:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4alCxv35P70M for ; Tue, 14 Jun 2022 22:26:01 +0200 (CEST) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id 070A6E6FC8 for ; Tue, 14 Jun 2022 22:26:01 +0200 (CEST) Date: Tue, 14 Jun 2022 22:26:00 +0200 (CEST) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: <2085463a-c755-6b87-1cd2-ddc78c1e576b@gyani.pro> Message-ID: References: <20220614080937.5263-1-ffmpeg@gyani.pro> <8eba956c-1462-dbd3-26c5-608688ae3f6@passwd.hu> <2085463a-c755-6b87-1cd2-ddc78c1e576b@gyani.pro> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH] avformat: set start_time_realtime when demuxing X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Tue, 14 Jun 2022, Gyan Doshi wrote: > > > On 2022-06-14 01:51 pm, Marton Balint wrote: >> >> >> On Tue, 14 Jun 2022, Gyan Doshi wrote: >> >>> Add new flag AVFMT_START_REALTIME for the couple of demuxers that set it >>> internally. >> >> I don't think this is the same semantics. >> >> start_time_realtime is the time when the stream was originally captured, >> and not when the stream was received. So you can't simply use av_gettime() >> in the demuxers for that field. > > I saw that in the rtsp read_packet. I thought of adding a new field but think > the semantics are close enough to serve the purpose of a rough sync so I > added the flag for the demuxers that receive origin timestamp. > > I can update the doxy to record this difference. Or should I add a new field? I prefer a new field. Thanks, Marton _______________________________________________ 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".