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 CB77F4958B for ; Thu, 14 Mar 2024 10:16:28 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D988668D1CA; Thu, 14 Mar 2024 12:16:25 +0200 (EET) Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7CF5068CAF7 for ; Thu, 14 Mar 2024 12:16:19 +0200 (EET) Authentication-Results: mail0.khirnov.net; dkim=pass (2048-bit key; unprotected) header.d=khirnov.net header.i=@khirnov.net header.a=rsa-sha256 header.s=mail header.b=fL6tdw98; dkim-atps=neutral Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 1A4CA240DAC for ; Thu, 14 Mar 2024 11:16:19 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id tIUVhVHP8_nD for ; Thu, 14 Mar 2024 11:16:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1710411378; bh=Y9Vj97+ZL4iHXSUJFWGI15Tecu5fl+1qBvPYs3WeXD0=; h=Subject:From:To:In-Reply-To:References:Date:From; b=fL6tdw98dgPEFQhBX7gmVYJihv0ymmxpkzfou6CwL6BN25JPABj4r38B2EARn+msx SVmGBMLHs4QuNfiWvoXbK+4qIeL94ba0IS55fv0Eu2rAE1MhqLC8QTD83G4tkaAHcR FUK4lisYMURpalB468YNoJN+/kml64jx5/dFTxrZ47VamNVT5nzmITWK0f+gwseSuN vISgKFdL3R/rq0Pu0y06p1+frLYjS9NxpDa9D02h0V8G7oYoHp61dl9s7bdoT4/k16 iQ/LODLv6x8x8TPr0pUyrSKxTihc3McjMpCKihTZtGoPv/3mwNMcbxtbsyfOc7u9+D 6IAVVPtUsKrXg== 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 3DD36240DA9 for ; Thu, 14 Mar 2024 11:16:18 +0100 (CET) Received: by lain.khirnov.net (Postfix, from userid 1000) id 460AD1601B9; Thu, 14 Mar 2024 11:16:11 +0100 (CET) From: Anton Khirnov To: FFmpeg development discussions and patches In-Reply-To: References: <20240313072725.7C7BA412605@natalya.videolan.org> Mail-Followup-To: FFmpeg development discussions and patches Date: Thu, 14 Mar 2024 11:16:11 +0100 Message-ID: <171041137125.7287.13066847473884265473@lain.khirnov.net> User-Agent: alot/0.8.1 MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] fftools/ffmpeg: add loopback decoding 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 Gyan Doshi (2024-03-13 08:49:52) > > > On 2024-03-13 12:57 pm, Anton Khirnov wrote: > > ffmpeg | branch: master | Anton Khirnov | Mon Feb 19 10:27:44 2024 +0100| [a9193f7b7d65aafa326e25571c6672636a8ee3d2] | committer: Anton Khirnov > > > > fftools/ffmpeg: add loopback decoding > ... > > +E.g. the following example: > > + > > +@example > > +ffmpeg -i INPUT \ > > + -map 0:v:0 -c:v libx264 -crf 45 -f null - \ > > + -dec 0:0 -filter_complex '[0:v][dec:0]hstack[stack]' \ > > + -map '[stack]' -c:v ffv1 OUTPUT > > Can you add an example showing the assignment of a specific decoder > along with a lavc generic + private option to a loopbacked stream? Sent a patch with some notes on this. > Are there any limitations to loopback decoding e.g. would a vpx w/alpha > encode be decoded back to a alpha pix fmt? I don't know how vpx alpha works, was it a separate stream in the demuxer or something like that? Loopback decoders work exactly like normal decoders, except their packets arrive from an encoder instead of a demuxer. -- 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".