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 1A9444B8D3 for ; Tue, 18 Jun 2024 18:34:59 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4E87568D704; Tue, 18 Jun 2024 21:34:56 +0300 (EEST) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 634D968D53F for ; Tue, 18 Jun 2024 21:34:50 +0300 (EEST) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1f9885d5c04so13672585ad.0 for ; Tue, 18 Jun 2024 11:34:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718735688; x=1719340488; darn=ffmpeg.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=BCJ/Gy9G9CMoHurAYKIPyccBgkLsYMkSVkSGeZj4jbY=; b=fv2Xq/bl3igAK1aJbQduYDBcyp/O90tMwsP5C3Z8OfVAxTMiaO3fzWhc+Wdwnm8BUf heLJXR1EDM1hIt849nf8DDK4sVPXczoAdSNvPway/sLml1rILDfkfVTprCKqIs0Vkibw GDIxcyyynF42zQOpWCBCI4BFwEIFjHK+98XEDrWTwBcNDp6IAqEn7qC+Zxlp4I5FHVCM 4RNSuKkdEMDhjFCw6XLkXdEbOVkaI0VEJw/C80MQvHi85soWzsAn/B+MsgFcmdjNbB5q fuf+iko43RLsUMXNBzKmjw47Ldknupnj9dMuXWHbf7R1p1LTp6qkQORc9hSdzoMdTzG4 fJdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718735688; x=1719340488; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BCJ/Gy9G9CMoHurAYKIPyccBgkLsYMkSVkSGeZj4jbY=; b=lheXy0Z+6B0k425oteEMXDtLNebKwDBjoxOgiplqiwK8pD5F8bx4PAWZK6jWIsUe+u vgXtal/wAbsgVTEG3SWktAjfM3aU1E5Vs81zMhomg54Ric0Sz3bpfnZgPHO+KGRlcRW9 WHrR+lCFbb19/qqtI7dsQcFtPYT9BpWYRbn7RfM1wVkt0kcHJODi+SACEa3zj0qRJgan jafjinI/vuCxA+WSMzQ64Y4Tfq31eXbf+h289gu/axiiIYvOpkger9jB7GJaon5DOoCE ENK76TX+FM4q8KfDgKHBwD5QExl1j5Jv5ilZJaq3+CCWeJ2CtYrJiL/pOdThE/PBBvUj szOA== X-Gm-Message-State: AOJu0YwY3F46ny2quBYQxJPRZLfrRBhy9rhJQllIu8m0NCKw8OrGKRTI iPLAwlOTgLxQdo5bjiDJKFy84w77vgtRn0r7uok8OmkvLQakXr2tSEFVLA== X-Google-Smtp-Source: AGHT+IEaEV+1k+MMS7PD71t4TYUt8FKIQpRQwJvwjBwwuKxVhwsG0KJbLDaUi+5zzMhnRSnvLCDnqA== X-Received: by 2002:a17:902:d482:b0:1f7:1ac9:1251 with SMTP id d9443c01a7336-1f9aa3edfbamr5509885ad.31.1718735687846; Tue, 18 Jun 2024 11:34:47 -0700 (PDT) Received: from [192.168.0.16] ([190.194.167.233]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f855e55c80sm100725375ad.21.2024.06.18.11.34.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Jun 2024 11:34:47 -0700 (PDT) Message-ID: <4ca2eab6-3b78-4e31-9a02-adb20eeffbc9@gmail.com> Date: Tue, 18 Jun 2024 15:34:50 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: ffmpeg-devel@ffmpeg.org References: <20240618153144.679923-1-derek.buitenhuis@gmail.com> Content-Language: en-US From: James Almer In-Reply-To: <20240618153144.679923-1-derek.buitenhuis@gmail.com> Subject: Re: [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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 6/18/2024 12:31 PM, Derek Buitenhuis wrote: > 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)); nit: These three could be combined into a single av_log call. > + 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)"); _______________________________________________ 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".