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 62639449F7 for ; Thu, 5 Jan 2023 08:08:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3FA7F68BBF1; Thu, 5 Jan 2023 10:07:57 +0200 (EET) Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5B76B68BAA5 for ; Thu, 5 Jan 2023 10:07:51 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 99D15240499 for ; Thu, 5 Jan 2023 09:07:50 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id VlcFH4IBamnp for ; Thu, 5 Jan 2023 09:07:49 +0100 (CET) Received: from lain.khirnov.net (lain.khirnov.net [IPv6:2001:67c:1138:4306::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "lain.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id D935F2400F5 for ; Thu, 5 Jan 2023 09:07:49 +0100 (CET) Received: by lain.khirnov.net (Postfix, from userid 1000) id B5AC11601B2; Thu, 5 Jan 2023 09:07:49 +0100 (CET) From: Anton Khirnov To: 'FFmpeg development discussions and patches' In-Reply-To: References: <20221207093122.553668-1-quinkblack@foxmail.com> <167282741433.4503.2492097415207155862@lain.khirnov.net> <0f8450334ad0ee906fdb0614572c997fcf3ee252.camel@haerdin.se> <167284533601.4503.16792150834885869128@lain.khirnov.net> Mail-Followup-To: 'FFmpeg development discussions and patches' Date: Thu, 05 Jan 2023 09:07:49 +0100 Message-ID: <167290606971.26119.17865800899906767361@lain.khirnov.net> User-Agent: alot/0.8.1 MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [Internet]Re: [PATCH v2 5/7] avcodec/mediacodecenc: remove the strategy to create DTS 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: Quoting Zhao Zhili (2023-01-04 17:12:56) > > It is currently an API guarantee that all encoders return valid DTS > > values, so this encoder is behaving in an invalid way. > > It's an reasonable requirement, but could you elaborate on where is the doc > explicitly says that? I am not aware of this being explicitly documented, but then our documentation is sadly far from complete. But this was one of the major reasons for adding avcodec_encode_video2() back in 2012 (later replaced by avcodec_send_frame()+receive_packet()). Also see 8de1ee9f725aa3c550f425bd3120bcd95d5b2ea8. -- Anton Khirnov _______________________________________________ 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".