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 D4D62431B2 for ; Fri, 14 Jan 2022 18:20:09 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8F14268B61D; Fri, 14 Jan 2022 20:20:07 +0200 (EET) Received: from shout01.mail.de (shout01.mail.de [62.201.172.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5A91D68B476 for ; Fri, 14 Jan 2022 20:20:01 +0200 (EET) Received: from postfix01.mail.de (postfix02.bt.mail.de [10.0.121.126]) by shout01.mail.de (Postfix) with ESMTP id E1004A2136 for ; Fri, 14 Jan 2022 19:20:00 +0100 (CET) Received: from smtp02.mail.de (smtp02.bt.mail.de [10.0.121.212]) by postfix01.mail.de (Postfix) with ESMTP id C7AFAA03C1 for ; Fri, 14 Jan 2022 19:20:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.de; s=mailde202009; t=1642184400; bh=RYcdbcJnnstWrESLvEVEy8lfe+4Ws28Pl+1kpemiicQ=; h=Subject:To:References:From:Date:In-Reply-To:From; b=ApdgWS9BgA9Kcxt3Pf/kzuNagDbZb5SBY5TGxDkXkNIHy/sYxyfkIlK6+pmuryiTV hSeH90+6byAiIinTjwy8lAgNi+Up+aM+w5RZRBHQlwyw08z5A1+3IdgEDEecYgTgx2 iOHOQYJQGJvCX7nDIUL2LG9acdF3Z3tb9zcw2a3pr5Or8h859xMQRfk/dsOqxTwHDh z7OeooxxEnban5bPQSxURNic905myVawNQsQbwOktOxsH9CdEL6BKwU39mluBOZfgh h6shMN+WkE01r8enfoMrD3yjxh77XUjjf5K75Wml0dttE9GpWEz3lU9eMklkWijWlX 4n8hKK9mOSA1A== 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 967BCA065D for ; Fri, 14 Jan 2022 19:20:00 +0100 (CET) To: ffmpeg-devel@ffmpeg.org References: <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: <350ccc44-07dc-25c6-49a1-4281139d93ac@mail.de> Date: Fri, 14 Jan 2022 19:20:00 +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: 873 X-purgate-ID: 154282::1642184400-0000429D-884A7BA4/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 19:08 schrieb Nicolas George: > Thilo Borgman (12022-01-14): >> 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? > > I am not sure what you are suggesting. > > How does it look like from the point of view of the user? v6 does: $> ffmpeg ... drawtext="fontfile=...:text='%{localtime \:%a %b %d %Y %S}'" (seconds) $> ffmpeg ... drawtext="fontfile=...:text='%{localtime_ms\:%a %b %d %Y %S}'" (milliseconds) I suggest v7 should according to your remark: $> ffmpeg ... drawtext="fontfile=...:text='%{localtime \:%a %b %d %Y %S}'" (seconds) $> ffmpeg ... drawtext="fontfile=...:text='%{localtime \:%a %b %d %Y %S}':show_ms=1" (milliseconds) Good? -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".