From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id D8EB14BC94 for <ffmpegdev@gitmailbox.com>; Sat, 29 Mar 2025 22:57:30 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4C96D687C9F; Sun, 30 Mar 2025 00:57:26 +0200 (EET) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E5AF1687C54 for <ffmpeg-devel@ffmpeg.org>; Sun, 30 Mar 2025 00:57:19 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 132DE432ED for <ffmpeg-devel@ffmpeg.org>; Sat, 29 Mar 2025 22:57:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1743289039; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ugn2IunQogcspt5v4xjE0nI6L5dk8885vxP4qFsFJR0=; b=LeDGIOWdwjk9+G7CtO0uWb4MZPRCPHIAdbjwA8/NX/Oq2ls/YHusMcKPYYl6Kj3nau79wZ 7R0D5I7dxNcKEhNDozacsmA/UoZtaPttmRJzhI2b163VrhCq8QdAhFJFX/Qd9OwtBo3gMv FvIafsXwkrS4pfPTIHUZWMc+AJn9mc3HFhf4F08DhJp65+5gwzB7KaWMcrW+IwaRC6tkFt PFVcH0eM3McGp3/hV7Wz9M7gRvjL9yYXLllsTosQIQ4Wv7T//08n2QydVdNDB/aNkyifI0 caOmOPUmYQHJ9HytpQhC+LzeIdVx3OXT3o8XyHDcH4MecRzgFL32Fq3YCkYvhg== Date: Sat, 29 Mar 2025 23:57:18 +0100 From: Michael Niedermayer <michael@niedermayer.cc> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Message-ID: <20250329225718.GS4991@pb2> References: <20250312-video-only-kf-recover-v1-1-1e0e340da663@riseup.net> MIME-Version: 1.0 In-Reply-To: <20250312-video-only-kf-recover-v1-1-1e0e340da663@riseup.net> X-GND-State: clean X-GND-Score: -90 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddujeehgeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculddutddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] avformat/fifo: Check for keyframe video type before stop dropping X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Content-Type: multipart/mixed; boundary="===============4181088088627397184==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250329225718.GS4991@pb2/> List-Archive: <https://master.gitmailbox.com/ffmpegdev/> List-Post: <mailto:ffmpegdev@gitmailbox.com> --===============4181088088627397184== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IakYb8yKQKMmMapR" Content-Disposition: inline --IakYb8yKQKMmMapR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Arthur On Wed, Mar 12, 2025 at 03:45:42PM -0300, Arthur Grillo wrote: > The current behavior when using restart_with_keyframe is that it will > recover if it also encounters any audio packet, as they are flagged as a > keyframe. >=20 > The expectation is that packets are dropped until the next _video_ > keyframe. >=20 > Fix that by checking the packet stream codec type, only letting it > recover when it is a video one. >=20 > Fixes ticket: #11467 >=20 > Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net> > --- > Cc: lingjiujianke@gmail.com > --- > libavformat/fifo.c | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) What happens if there is no video stream ? thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB it is not once nor twice but times without number that the same ideas make their appearance in the world. -- Aristotle --IakYb8yKQKMmMapR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ+h6ygAKCRBhHseHBAsP qwt2AKCGUtijRekUOkdvtFuvIIUz34+86gCfUbNDdKGuPQaVpI5GUHxIx6mtHrU= =5c+8 -----END PGP SIGNATURE----- --IakYb8yKQKMmMapR-- --===============4181088088627397184== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============4181088088627397184==--