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 9535A438E4 for ; Sat, 3 Sep 2022 09:12:30 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1EDD468BA0C; Sat, 3 Sep 2022 12:12:27 +0300 (EEST) Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 97B6C68B680 for ; Sat, 3 Sep 2022 12:12:20 +0300 (EEST) Received: by mail-yb1-f175.google.com with SMTP id c9so6269336ybf.5 for ; Sat, 03 Sep 2022 02:12:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=wBhp9yC+XGOT280q9U9RZZqUPdZb4zGgRBx6OiggmXI=; b=SzGdjRwDKdq4Zbrpc7FR/P57VxuM2oyQ6/DezO9XHjBElyZPTKZtcCzT7lMANwB4ZB u/q6JIa5B597N0+vm4pmB1P4zZT5D3ntPqXZOG5w+4ckjDS7JPCsoLq8W1seXapIp5wH GIXpCrrvW+/cA1J+gFzR1cX69yWOGkwMr/ubXmHv0yZglqVB+Kkwri+OxiaQ6CqmiwPV KnHnHj77uEIfoFmMhHflkoLDdS/pT+DTziGKIJ+3xF77EB7HlE8Cd3wVfT/kcFSitGg9 7kxXhIB/4N4x9o5lmknLr6o9iCRJAuybyxifjUGM5g/+0wOVadGvaNLZG/oTCF27KwD0 MA9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=wBhp9yC+XGOT280q9U9RZZqUPdZb4zGgRBx6OiggmXI=; b=0Aq/iabGwKKHgmdFw5KLv1pU1JKeG21HPCr/YThk/+OMPcbCoAjVb/U4Uo2QRJE66M Tp6Fmvk0A6JvF7Ct+OyfOvU+erEkDb+CV7Gg5ZsNWYIEA4PM4d2GHLzgJgAq4h1pSesX T4DvtFPL6e0v5DXXZy8FBd2QOKlA4IMTC4OgqI0g9mRFseiUjbgCEhev2ooY45Xu+f77 jY0aPgeUjAZOwqHUwINwK+iDIsO3adruJonBg/eI5TAUrx5lQ7Gwv0gS0SCUTs+m4T7m R0AfkDEygOFxMbZWCnj6sUp4m0bm+Di70oxhnI26vRMSUgpIIMtt0xyBPfr0Vk6bWoR0 knEA== X-Gm-Message-State: ACgBeo1ZtAr75Uforytqh5fkacHXXG9Yuq7NQ2F3YhMVFfE0pNbM9pi+ fSF/BMoDGo4DWJpnetb0LfYVtjJhQI8UMVdNFxudh7Se X-Google-Smtp-Source: AA6agR7wKhh0Ir4yvcG3RIBmSywu2MY2iQMVd08E6T2mDlIB34aw5wJC614VMyf30bxadkhQ3IJNGAjR+JvPJ26jT7w= X-Received: by 2002:a05:6902:10c3:b0:69a:ae8:1600 with SMTP id w3-20020a05690210c300b0069a0ae81600mr23159566ybu.227.1662196339172; Sat, 03 Sep 2022 02:12:19 -0700 (PDT) MIME-Version: 1.0 References: <20220831230918.1736362-1-chemag@gmail.com> <20220831230918.1736362-2-chemag@gmail.com> In-Reply-To: From: Paul B Mahol Date: Sat, 3 Sep 2022 11:15:29 +0200 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH 1/1] avcodec/mpegutils: add motion_vec debug mode 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 Cc: "Ronald S. Bultje" 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, Sep 3, 2022 at 2:46 AM Chema Gonzalez wrote: > Hi again, > > On Fri, Sep 2, 2022 at 2:05 PM Paul B Mahol wrote: > > > > > So is there a filter that already dumps this information? > > > > Not in text but in visual, note that you can write own code that uses > > > > library to dump MV as text, because MV are exported when certain > flag is > > > > enabled. > > > Not sure if I follow this. Is the suggestion to use external code that > > > just uses the ffmpeg libraries (libavcodec in this case)? > > Yes, no point to add bunch of printfs if code already exports MV > > alternative way. > > Hmm... IIUC, your suggestion is not to provide the MV vector list > using an ffmpeg debug sub-mode. Instead, have the user write her own > code using one of the ffmpeg libraries. What you mean by "visual" is > something similar to > [this](https://www.ffmpeg.org/doxygen/0.6/api-example_8c-source.html), > right? > > Couple of questions: > * is there a (sane) way to have this code included in ffmpeg? > Something like a series of C files/scripts where this type of > functionality would live. FWIW some companies charge thousands of > dollars for h264 stream parsers, where some of the functionality > allows you to access these values using a GUI. > And why is this related at all with this clumsy printfs patch? There is already functionality in FFmpeg libs to give you MVs. Nobody blocks you to write sane GUI tool that will import MVs from ffmpeg API and sell it for millions to customers. > * is there any reason why we have the other ffmpeg debug sub-modes > (mb_type, qp, skip)? > They should be ultimately removed and in better way exported. > > Thanks, > -Chema > _______________________________________________ > 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".