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 36E014319E for ; Fri, 14 Jan 2022 18:04:15 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9382768B5BB; Fri, 14 Jan 2022 20:04:14 +0200 (EET) Received: from shout01.mail.de (shout01.mail.de [62.201.172.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8D80368B310 for ; Fri, 14 Jan 2022 20:04:07 +0200 (EET) Received: from postfix01.mail.de (postfix02.bt.mail.de [10.0.121.126]) by shout01.mail.de (Postfix) with ESMTP id 23069A1DB7 for ; Fri, 14 Jan 2022 19:04:07 +0100 (CET) Received: from smtp02.mail.de (smtp02.bt.mail.de [10.0.121.212]) by postfix01.mail.de (Postfix) with ESMTP id 0ACB6A03C1 for ; Fri, 14 Jan 2022 19:04:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.de; s=mailde202009; t=1642183447; bh=WBqQf5qjfmwIDaQJ+FtX49AICx8QUej8wgYV/hA+sOk=; h=Subject:To:References:From:Date:In-Reply-To:From; b=tBe7N1E8Rp5HFthYSm9doYxLkEW5inkUXJqxhVf6HBv1BLd6ts7eC5ZoXAJlsXnqT 20Glg0hpYFROkw/3MSq546xq1ljauC0on+FGhQQHH+tRlD/27Ui06hG+mvu0+kIplx 85scprONdmKngaa2n0pzrOhGLDgoa64O8+hRQzItTsk1/u4IR8whUrJUDNzOkTW0SL CO74SZguj+bWoVTKi4oO8F6gawXJBRgt3lNLzH3fIG7d9HqUHdEThbBNWiKTSU5cmY AfnasAEIFvU9As73j+BjA1BsMYMvaBmn43XxD6YcZ1a0bL0jQiFgGy/DQRDZYdwOFe /EXqavY5rN3Tw== Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtp02.mail.de (Postfix) with ESMTPSA id C7D2FA065D for ; Fri, 14 Jan 2022 19:04:06 +0100 (CET) To: ffmpeg-devel@ffmpeg.org References: <20211210164657.GF2829255@pb2> <727CF2F6-C834-415A-B771-4F70661F8BE8@mail.de> <3E808BD2-808B-4C53-B1F7-B9DFFE2BF687@mail.de> <72e9521f-b029-8637-c32c-27cf7c5de170@mail.de> <14470aae-c127-7532-a054-b5d878d415dd@mail.de> <52e4f109-41a4-a609-b583-c001c6077638@mail.de> From: Thilo Borgmann Message-ID: Date: Fri, 14 Jan 2022 19:04:06 +0100 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 855 X-purgate-ID: 154282::1642183446-0000429D-CF61998A/0/0 Subject: Re: [FFmpeg-devel] [PATCH v2] lavfi/drawtext: Add localtime_ms for millisecond precision 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Am 14.01.22 um 18:57 schrieb Nicolas George: > Thilo Borgman (12022-01-14): >>>> I think best will be to scan the format string for %S and extend it >>>> there with .ms part before expanding the rest of it, not? Shouldn't >>>> be too expensive for the filter. >>>> >>>> Just need to find time to actually implement it. > > Sorry, I completely missed you reply. > > No, I do not think it is best: your solution requires the user to use a > different function, I find this inelegant and not user friendly. I like > the solution where the option is enabled by the format string itself > much more user friendly. But we can discuss it. Ah and I misunderstood your other remark about it. What about adding an option for ms precision and stick to the existing expansions localtime/gmtime, then add .ms if set by option? Thanks, Thilo _______________________________________________ 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".