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 6DF904833E for ; Wed, 26 Jun 2024 14:10:32 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0C19668D3A6; Wed, 26 Jun 2024 17:10:29 +0300 (EEST) Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2CD9E68D265 for ; Wed, 26 Jun 2024 17:10:23 +0300 (EEST) Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-7178727da84so3524486a12.0 for ; Wed, 26 Jun 2024 07:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719411021; x=1720015821; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=/BhzxdL/IST4K2sy/tPrL0dJn/Kn7DRFK0EdeCNCsVk=; b=C0ZqtjQk4MqJH5wy9lKprUxbvlLorEjW6WQVsGJ6/gMH2C9+1mno/dTxIRLPYVIIy9 jN18OtdBXnw2pCVZ8rt6mBfMY6OR3VsGzQ4HgxJwxlZGzxpgCr3yptSWoKRuzi+WBA+8 C9jQDRRrjuO/sLpEkO1qjZ1T/5RR4z2LAv38tptX3doKD/Ef9GWzcDh296I0LmdkxTNV qCAQqsiXHlQiIFcSAidQ2V1Fhu/a6jTSZdfO+YlG763wqVl2A0EhvQFLjMLe5mkWedbu G3wAu8tjMFu8RwiJzVYeSOrEs5wgGzm6mTNMe8g/Xu6uTJBT3ekb9EPcJgVyFaWku2Mt ruNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719411021; x=1720015821; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/BhzxdL/IST4K2sy/tPrL0dJn/Kn7DRFK0EdeCNCsVk=; b=FYvBrrDiUaKM5mdo1BvAHcsma/EsGNCV9AYGE7omekKAwGtD1HezjyJYo4BxVkTNzF v3gp9QJBg9viXEmGGElDIST7RqD8L5dDswYC42AnYjSN3/0yaHUrEOiCj1hoCR70Nqb/ ehVBg5ZDa5vT+Tiww93wzqK/bQZjUyXGCqU2x1zN7royMjA/oszy2NxYJSvp9DoKdt4E 7YT89r9vbnZi5Yf3jTmmXu6aR0kzkzr072QgEPp7iKWF2QoFkYlRZtxPKmwxgvDyTl14 AX8iFnuhcXPfDctKPCClagMn0v6g5lP3OvyoUEwq9rrFrxD8/e9FufJ9W+2m4Xk25x7Y tdHw== X-Gm-Message-State: AOJu0YxhlLserMyOwi9UuC34u6/Wn/gNbSVbUMgul049+4pJPzTHc2wE Sz8l8KIv9E9CY+ARBgDkZ+iZ9BJ1jEmFBcSAcmCVygHGI9wgXMa2pxh9yw== X-Google-Smtp-Source: AGHT+IFZUXTbBaBOO0L6yiI91VAbJalyf+FfTgMQuemr9BdzJiSwsnVo/5z9sCpzs/2U6b0nKpbLQw== X-Received: by 2002:a17:90a:9af:b0:2c7:e24d:f688 with SMTP id 98e67ed59e1d1-2c8504c7bc5mr8911734a91.7.1719411020350; Wed, 26 Jun 2024 07:10:20 -0700 (PDT) Received: from localhost.localdomain ([190.194.167.233]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c8d80609aesm1692308a91.31.2024.06.26.07.10.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 07:10:19 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 26 Jun 2024 11:10:10 -0300 Message-ID: <20240626141014.6442-1-jamrial@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/5] avfilter/vf_showinfo: print more Stereo 3D fields 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: Signed-off-by: James Almer --- libavfilter/vf_showinfo.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 28d8ea76e9..9790c202f5 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -121,6 +121,16 @@ static void dump_stereo3d(AVFilterContext *ctx, const AVFrameSideData *sd) if (stereo->flags & AV_STEREO3D_FLAG_INVERT) av_log(ctx, AV_LOG_INFO, " (inverted)"); + + av_log(ctx, AV_LOG_INFO, ", view - %s, primary_eye - %s", av_stereo3d_view_name(stereo->view), + av_stereo3d_primary_eye_name(stereo->primary_eye)); + if (stereo->baseline) + av_log(ctx, AV_LOG_INFO, ", baseline: %"PRIu32"", stereo->baseline); + if (stereo->horizontal_disparity_adjustment.num && stereo->horizontal_disparity_adjustment.den) + av_log(ctx, AV_LOG_INFO, ", horizontal_disparity_adjustment: %0.4f", + av_q2d(stereo->horizontal_disparity_adjustment)); + if (stereo->horizontal_field_of_view.num && stereo->horizontal_field_of_view.den) + av_log(ctx, AV_LOG_INFO, ", horizontal_field_of_view: %0.3f", av_q2d(stereo->horizontal_field_of_view)); } static void dump_s12m_timecode(AVFilterContext *ctx, AVRational frame_rate, const AVFrameSideData *sd) -- 2.45.2 _______________________________________________ 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".