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 0023843892 for ; Sat, 2 Jul 2022 12:44:34 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0EAE468B8F6; Sat, 2 Jul 2022 15:44:32 +0300 (EEST) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1001D68B8F2 for ; Sat, 2 Jul 2022 15:44:24 +0300 (EEST) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 587EC1BF207 for ; Sat, 2 Jul 2022 12:44:24 +0000 (UTC) Date: Sat, 2 Jul 2022 14:44:23 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220702124423.GB396728@pb2> References: <20220630152206.15366-1-timo@rothenpieler.org> <20220702085452.GZ396728@pb2> MIME-Version: 1.0 In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH] avdevice/lavfi: output wrapped AVFrames 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: multipart/mixed; boundary="===============6551679806603422271==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============6551679806603422271== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3fX2G+AJpfl5sqva" Content-Disposition: inline --3fX2G+AJpfl5sqva Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 02, 2022 at 02:34:17PM +0200, Paul B Mahol wrote: > On Sat, Jul 2, 2022 at 10:55 AM Michael Niedermayer > wrote: >=20 > > On Thu, Jun 30, 2022 at 05:22:06PM +0200, Timo Rothenpieler wrote: > > > This avoids an extra copy of potentially quite big video frames. > > > Instead of copying the entire frames data into a rawvideo packet it > > > packs the frame into a wrapped avframe packet and passes it through > > > as-is. > > > Unfortunately, wrapped avframes are set up to be video frames, so the > > > audio frames unfortunately continue to be copied. > > > > > > Additionally, this enabled passing through video frames that previous= ly > > > were impossible to process, like hardware frames or other special > > > formats that couldn't be packed into a rawvideo packet. > > > --- > > > libavdevice/lavfi.c | 87 +++++++++------------= -- > > > tests/ref/fate/filter-metadata-cropdetect | 3 +- > > > 2 files changed, 36 insertions(+), 54 deletions(-) > > > > seems to get this stuck: > > ./ffmpeg -f lavfi -i > > 'amovie=3Dfate-suite/wavpack/num_channels/eva_2.22_6.1_16bit-partial.wv= ,asplit=3D3[out1][a][b]; > > [a]showwaves=3Ds=3D340x240,pad=3Diw:ih*2[waves]; > > [b]showspectrum=3Ds=3D340x240[spectrum]; [waves][spectrum] overlay=3D0:= h [out0]' > > file-waves.avi > > > > (stuck as in OOM killed) > > >=20 > OOM killed or its is slow just because of showspectrum filter not > supporting arbitrary sizes in realt time?. OOM killed on system with 25gb available it took a few seconds to get killed, i assume it needed some time to alloca= te enough. that system has swap disabled thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB While the State exists there can be no freedom; when there is freedom there will be no State. -- Vladimir Lenin --3fX2G+AJpfl5sqva Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYsA9owAKCRBhHseHBAsP q8vFAJ0XbNQIs5ujSAQpL1/62rSwv2T3BgCfahHqCFceUvxlLts2P4gV9PyMYRY= =09Ph -----END PGP SIGNATURE----- --3fX2G+AJpfl5sqva-- --===============6551679806603422271== 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". --===============6551679806603422271==--