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 AACEA4388F for ; Sat, 2 Jul 2022 12:31:41 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D1F0868B8E9; Sat, 2 Jul 2022 15:31:39 +0300 (EEST) Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D01B968B6AC for ; Sat, 2 Jul 2022 15:31:33 +0300 (EEST) Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-318889e6a2cso45963437b3.1 for ; Sat, 02 Jul 2022 05:31:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ijTrjkLnuubzaKKK1Vi0uHqA74mCNA4l94//DDAwR7Y=; b=kg9IymjF0mUbPktpzCf/BeobtKB49daI7t1hWiVjSBVx0qv1Tjw8v79L8e48NrzkMs IBkpvErxux3Y9ox/nxRSD+kj2xRE5ELyghz0J1HYAwPWq5XQYt53L1yeAytmAjcYMgI7 Dd9Yj5zxmJ6Use4nfbxGEi1Me0wl9Pmwu5ZlR527Y2iyGdJhkFnOuuVnPU2FAleWRAX5 AEeBAAIKQgmG6HanEbF4XfdgK7VyJQ255ISQNwGSl+O00N6AiOvlmxNbK1qSlsipBAza YEKbhtQtJAwbFronotSYLKlriyCIKEZtTRzfrv9uDfTUBSsNp0JgHsFRwVxx1Vms55M9 G9NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ijTrjkLnuubzaKKK1Vi0uHqA74mCNA4l94//DDAwR7Y=; b=MBFYIT7C/7p6GwnGShxjy0DyMI1DcEAzWyi/yRGp6njnbimtRbfW8Ue9mholTkveM5 JdAQMq3pPLLgtSWqac3btIvC+qkMMadTV+xc1HgJfT0MyX+wg9RJmzzPQrUUhY5MjLbE 6aE43gfkKGqV7ExqVYFRj9XzxtkAlTGb6Hp0IQDalgpnW6gqAKILYMGhfDWx09U75gMW wy9dpwWe5HD5EmnCotSTv7/k2rgdEc1do7tWAA9lsf6mCr+AHc9JWYxQr8B0AxZ/vNls hNux3zVtw6jcpmSUPws84HzB0zC96Os780CSMa0OoMijo8sYHTIartZVfZMELR0IMFrL 0IVg== X-Gm-Message-State: AJIora9Hubl4OuneQQYAtjUWcTZwOszPT9ZcqQsrYvNrWkjIrg2M1c8l kRmHK6anI+kY3nMKOJmsBENtLqve8Rl2/zPNI2RuUwyx X-Google-Smtp-Source: AGRyM1v/mMavvgGmOzLZKfeAuZ+eI6cOxwEJVfKw4QBIHv14fgKf/0DexKRRN5wObo34gtqOKB0OeIN2l2fg7TBiBjg= X-Received: by 2002:a0d:ff81:0:b0:317:bfca:bb33 with SMTP id p123-20020a0dff81000000b00317bfcabb33mr22063188ywf.516.1656765092480; Sat, 02 Jul 2022 05:31:32 -0700 (PDT) MIME-Version: 1.0 References: <20220630152206.15366-1-timo@rothenpieler.org> <20220702085452.GZ396728@pb2> In-Reply-To: <20220702085452.GZ396728@pb2> From: Paul B Mahol Date: Sat, 2 Jul 2022 14:34:17 +0200 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: 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: On Sat, Jul 2, 2022 at 10:55 AM Michael Niedermayer wrote: > 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 previously > > 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=fate-suite/wavpack/num_channels/eva_2.22_6.1_16bit-partial.wv,asplit=3[out1][a][b]; > [a]showwaves=s=340x240,pad=iw:ih*2[waves]; > [b]showspectrum=s=340x240[spectrum]; [waves][spectrum] overlay=0:h [out0]' > file-waves.avi > > (stuck as in OOM killed) > OOM killed or its is slow just because of showspectrum filter not supporting arbitrary sizes in realt time?. > > thx > > [...] > -- > Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB > > Nations do behave wisely once they have exhausted all other alternatives. > -- Abba Eban > _______________________________________________ > 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". > _______________________________________________ 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".