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 67EAA4B8D7 for ; Tue, 18 Jun 2024 18:55:28 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CB10768D6F0; Tue, 18 Jun 2024 21:55:25 +0300 (EEST) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D7C5B68D42E for ; Tue, 18 Jun 2024 21:55:18 +0300 (EEST) Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-36279cf6414so626973f8f.3 for ; Tue, 18 Jun 2024 11:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718736918; x=1719341718; 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=dVvkJcYvRruyvSgpiiLIeKYv2Ml02BbDUeV9mLdzXv0=; b=feI27jDZsG629auaGhJqv1zWhSBwepdS2Cnmi6qc0TuLdsXmXdNxteiP9c3JPCOpVd lYvsqlIsKKPQ7qiAshFYalyuCRgi48pUoqP/wQGWBKJm8/rU2uARG4ibfc1sBgkNPGst /Yg9WIzfkDoaLUuS1Dr6gbFWuQfdufih0cocave0Nk8pyEdVm8QpgpWKEY1+/vZVtZBG gDuzvwVIT2K+lelMGMj4W4g3ORurwmdj3DG6W4lbRAsxlO2LlnOqJu+MVtR4d8zwkYYX qNIE7sUvWa9LsE6lLnRLtNQi1Et21BaQYaLMo566ebrescj/B2P25FbszF04SuUsfTHM iDaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718736918; x=1719341718; 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=dVvkJcYvRruyvSgpiiLIeKYv2Ml02BbDUeV9mLdzXv0=; b=LXFaCrH/6AcMp4hG9eJJ269jYT4fG0mj02ennlyrY70G98NCg3O+JbhOSi1Qew7xBd k5SgMisbYHuiuB1D+f+uuZI7RYJLNjfWd+qXkoRb6iWHCHh1QqzBrpqOCiVMrEj2SoP6 Vii0Mir3w7SWs/SVNoLbcHXv0O6WTcG4oD/naKAh7SbWrWQYXif5nje7k0+UDEzHBrOc ZmR/B87hss+SIbORst9E3ktmpe8mra6EzopVjHxYZgrxCoqc8nj3LQqRbl82GFjUtO8j 22b5dE4atbcuRzR6o8Txj2oYDjIW00QtFL2OAclYC/xKgr9X9dwdU24rrE3uQhRzUoSw vC6w== X-Gm-Message-State: AOJu0YyfPanzACwwioCKSM1ymcorCKOIrwS1ULZX8gs86Kj/QrvhU72m /xnNepDZa0HajCrVGZKmZWuPgzVaj3UazSEs+zuIKI3byk0JkG5UbUZ8+w== X-Google-Smtp-Source: AGHT+IHsc4GmRP1o4E/NOujI44W9lZQU64o3OfKFYOTccI7KK/uv/2OXykoDGu1BsjnLPikNX6IR3Q== X-Received: by 2002:adf:e78a:0:b0:360:88bc:644b with SMTP id ffacd0b85a97d-3631998f374mr270382f8f.58.1718736917569; Tue, 18 Jun 2024 11:55:17 -0700 (PDT) Received: from localhost.localdomain (0540dce9.skybroadband.com. [5.64.220.233]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36075093499sm15065706f8f.8.2024.06.18.11.55.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jun 2024 11:55:17 -0700 (PDT) From: Derek Buitenhuis To: ffmpeg-devel@ffmpeg.org Date: Tue, 18 Jun 2024 19:55:02 +0100 Message-ID: <20240618185502.680197-1-derek.buitenhuis@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2] avformat/dump: Print all possible Stereo3D info 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: Derek Buitenhuis --- libavformat/dump.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libavformat/dump.c b/libavformat/dump.c index 059fb84522..61a2c6a29f 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -259,7 +259,16 @@ static void dump_stereo3d(void *ctx, const AVPacketSideData *sd, int log_level) stereo = (const AVStereo3D *)sd->data; - av_log(ctx, log_level, "%s", av_stereo3d_type_name(stereo->type)); + av_log(ctx, log_level, "%s, view: %s, primary eye: %s", + av_stereo3d_type_name(stereo->type), av_stereo3d_view_name(stereo->view), + av_stereo3d_primary_eye_name(stereo->primary_eye)); + if (stereo->baseline) + av_log(ctx, log_level, ", baseline: %"PRIu32"", stereo->baseline); + if (stereo->horizontal_disparity_adjustment.num && stereo->horizontal_disparity_adjustment.den) + av_log(ctx, log_level, ", horizontal_disparity_adjustment: %d/%d", + stereo->horizontal_disparity_adjustment.num, stereo->horizontal_disparity_adjustment.den); + if (stereo->horizontal_field_of_view) + av_log(ctx, log_level, ", horizontal_field_of_view: %"PRIu32"", stereo->horizontal_field_of_view); if (stereo->flags & AV_STEREO3D_FLAG_INVERT) av_log(ctx, log_level, " (inverted)"); -- 2.43.0 _______________________________________________ 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".