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 5264649A25 for ; Mon, 26 Feb 2024 15:54:42 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D473868C7EA; Mon, 26 Feb 2024 17:54:39 +0200 (EET) Received: from shout01.mail.de (shout01.mail.de [62.201.172.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EB8CB68BD47 for ; Mon, 26 Feb 2024 17:54:32 +0200 (EET) Received: from postfix01.mail.de (postfix01.bt.mail.de [10.0.121.125]) by shout01.mail.de (Postfix) with ESMTP id 71A672405E8 for ; Mon, 26 Feb 2024 16:54:32 +0100 (CET) Received: from smtp01.mail.de (smtp01.bt.mail.de [10.0.121.211]) by postfix01.mail.de (Postfix) with ESMTP id 5920780151 for ; Mon, 26 Feb 2024 16:54:32 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp01.mail.de (Postfix) with ESMTPSA id 2CE79240CF0 for ; Mon, 26 Feb 2024 16:54:31 +0100 (CET) Message-ID: Date: Mon, 26 Feb 2024 16:54:31 +0100 MIME-Version: 1.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20240205194142.37049-1-thilo.borgmann@mail.de> <20240205194142.37049-3-thilo.borgmann@mail.de> In-Reply-To: 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: 1752 X-purgate-ID: 154282::1708962872-CADB0670-46E4D4CD/0/0 Subject: Re: [FFmpeg-devel] [PATCH v10 2/5] libavcodec/webp: add support for animated WebP 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: , From: Thilo Borgmann via ffmpeg-devel Reply-To: FFmpeg development discussions and patches Cc: Thilo Borgmann 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: Am 19.02.24 um 19:01 schrieb Andreas Rheinhardt: > James Almer: >> On 2/19/2024 1:50 PM, Andreas Rheinhardt wrote: >>> a) Use the receive frame callback for this decoder. This will >>> necessitate changes to pthread_frame.c (which currently can't handle >>> receive_frame decoders) >> >> There's a patch for this that i think Anton wrote and then Timo >> improved. It was posted sometime ago. >> >>> Notice that the BSF I have in mind would not be a public BSF, but a >>> private one (given that the output of the BSF would be spec-incompliant >>> due to the wrong ordering it should not be public), i.e. one not >>> accessible via av_bsf_get_by_name() or av_bsf_iterate(). >> >> How do you propose to do this? And would you be willing to write the >> framework for it? >> It certainly sounds useful, as existing bsfs like vp9_superframe_split >> already generate spec non-compliant packets, and they ideally should not >> be publicly available. > > The way I envision is by using a const FFBitStreamFilter* instead of the > name of the bsf in FFCodec.bsfs. (Of course, one can keep the > open-by-string method (which also works for filterchains as long as they > only use static arguments), too; it is also possible (by currently > unneeded) to add bsfs during init with non-static arguments (based upon > codec options etc.).) > I'd be willing to write the code for this. If that is useful for other codecs as well, let's do that. Generating one packet per animation containing all frames+meta should be easy enough in the demuxer. What do you expect the bsf to do exactly? IIUC generate packets with one frame + meta for all frames in the animation from the big packet coming from the demuxer? 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".