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 AC17F4B8CD for ; Tue, 18 Jun 2024 15:32:03 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7060B68D3AA; Tue, 18 Jun 2024 18:32:00 +0300 (EEST) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E7FDE68D109 for ; Tue, 18 Jun 2024 18:31:53 +0300 (EEST) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-42281d8cd2dso39696925e9.3 for ; Tue, 18 Jun 2024 08:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718724713; x=1719329513; 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=OFv2GHXRjG48YjwL32GKWpqss8a7NpznZAp/l70WYkE=; b=WOAYC/0ZCNILNyXiInjRrZdtFsLY4gJO7hlBGHU73ep5NCXe4v6xH3q7OwE7A3GrQE XGmzWVdEGKcPzxYr/PyN/vs9Wb/FyB8h7uZab7Bl6xAgIa9RQJkxgk70N5gX2R2zizZf GR12nJ6A28caqByYklEFdTX/bjae1KZra0CAhpemmllj0Kzc+xrctFbUodnipCna77Lv STK09HOrYIMVJmdVHuZBmDGPfyXsRexZzJL22n3w9zlRYmMHnLjhdC83+fYz75gQMVvM ejFJpToCf+b/OTtDNs+cpJeH01nfCK0oMBXQkfXSSAIAyhUiptPb1GoBx1aSGNYrLC66 imwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718724713; x=1719329513; 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=OFv2GHXRjG48YjwL32GKWpqss8a7NpznZAp/l70WYkE=; b=oS55kqt+nnuIjXCGfUOj3kDK831EcZyFmMPsri2Bo2Eo/az6O+ZgrQTunpwETXfOLg lAu7tOjeZJW+GYrIDx4ndHc2FGHQ9Y4TxJioFmugMZo3luVbJeSS6b5c9UgwD/KSUJgj fT0dYZiYSiCV4KW0J2d0vyXsP2TlN5LbUBySJcDBynJCGuKZZhF4qBLMzE2cLBr0Fwzl RwZrAJbGHJCaFIJmMocvb5hqbOiCWGfX4ldaNSSadmpvpgw6F041U8/4abDi7GDOhvzh rU4Qa/zv9BbaCA448mw+8KwJippOwukM8Zp6Qd1+cEhLWIhh2xyAXFGh7EU3RsTS9QFL LxiQ== X-Gm-Message-State: AOJu0YwQEgSvhn/g/wrEZe0hVK3mbmPQiwOfYXQ4oLv6m0R66zbm0I/O U4QwTfs32TWkleNDKbFJdPEBDK+goNnce5Ua02r03wYc7Il04Z0bi2hMgQ== X-Google-Smtp-Source: AGHT+IGBhzXZWFy68nclKO4gUS16Lx/lhrDii2JF95zl31uT50qh97qrAPePNyE4xqD93Igtt2sFdQ== X-Received: by 2002:a05:600c:354e:b0:422:6755:17e3 with SMTP id 5b1f17b1804b1-42304848ad5mr99008595e9.29.1718724712524; Tue, 18 Jun 2024 08:31:52 -0700 (PDT) Received: from localhost.localdomain (0540dce9.skybroadband.com. [5.64.220.233]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36075104b74sm14280806f8f.107.2024.06.18.08.31.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jun 2024 08:31:51 -0700 (PDT) From: Derek Buitenhuis To: ffmpeg-devel@ffmpeg.org Date: Tue, 18 Jun 2024 16:31:44 +0100 Message-ID: <20240618153144.679923-1-derek.buitenhuis@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] 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 --- As requested by James. --- libavformat/dump.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libavformat/dump.c b/libavformat/dump.c index 059fb84522..8e8b9e1959 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -260,6 +260,15 @@ 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, ", view: %s", av_stereo3d_view_name(stereo->view)); + av_log(ctx, log_level, ", primary eye: %s", 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".