Authentication-Results: mail-b.sr.ht; dkim=pass header.d=jankundrat.com header.i=@jankundrat.com; dkim=pass header.d=messagingengine.com header.i=@messagingengine.com Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mail-b.sr.ht (Postfix) with ESMTPS id E2CCE11EF01 for <~martijnbraam/openatem@lists.sr.ht>; Thu, 4 Nov 2021 21:28:16 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 1444E3201C92 for <~martijnbraam/openatem@lists.sr.ht>; Thu, 4 Nov 2021 17:28:15 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 04 Nov 2021 17:28:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jankundrat.com; h=resent-date:resent-message-id:resent-from:resent-to :message-id:in-reply-to:references:from:date:subject :mime-version:content-type:content-transfer-encoding:to; s=fm3; bh=g3p5RNc5txBFlQv6upEtex82dD7E0r1LlEjdm8gFInU=; b=f4NEvHsaG7lV 75J4ibRUxHxCO2qO3AMurrG6OGVpsnweyXW+O0hex0h7Df7H/zrpOrSZ7u/6QlqD MEHdDPMe2lirKVI1I31aeLb3TJOExp/KRx+uFySBDiVGAW9kOiwGhaE4kkSQuOCG wIx6Y+jPsZH1c9mwPUZFKbKc/hNROVaRD8Ro+BzINbFOgFkJbi3DcCCnMQtcGwCu Qf2ZN21qf3PEAqxU+zGYT7w52KmfVcbN7XOFdJqoe4ORyfAKlreUU8kYvAUxq9UT xE2Ykt+6NxfOLjp10RCleUYPZCzZuXc8ilFbnUdO6uTeIwY3mO0GwGOhkSZmcYoY XoyWZFNXWw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :resent-date:resent-from:resent-message-id:resent-to:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=g3p5RNc5txBFlQv6upEtex82dD7E0r1LlEjdm8gFInU=; b=NsDFXcEK SdPQV8/MYp9p0S/inozXAWyBL3QHYmZ4qakm+ZWmZHNQn1XMcbljtZJvV7uMkhqX ZHTL8zaZdf31Jq6PZ+yZCPFrKnJJifdfvZWUqrb2X39jk3U5TS5DFlRX515m+X6k veLDLOLgSh+B1w6BGEdv+g+khkTXuzviOuWnjuhZdIBgo1at5nh6k4QJnRiIEeyM mTXQBaHmdyBZT1J4UDI5/QRHxitjdlvVw1MtU7Bny+7WX7DZLeDzMLuYgaQ/jtx3 IlDTfcwoI94MZXCfJMAzaebO3lOLqD8g8sQO+rnizpFRLWBrjJhQoFCBgRTDHAhv ckaNu+ekVUTbJw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtdeggddugeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkjghfhfffufggtgfgvfesthekre dttddtjeenucfhrhhomheplfgrnhcumfhunhgurhojthcuoehjkhhtsehjrghnkhhunhgu rhgrthdrtghomheqnecuggftrfgrthhtvghrnhepjeekvedukeeftdelteegfefhteeuke eutdduffevveegvedttdfhveffteeuudfhnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepjhhkthesjhgrnhhkuhhnughrrghtrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for <~martijnbraam/openatem@lists.sr.ht>; Thu, 4 Nov 2021 17:28:15 -0400 (EDT) Resent-Date: Thu, 04 Nov 2021 22:28:12 +0100 Resent-Message-ID: <50073d64-a4d5-4557-9492-13e704e5b6d3@jankundrat.com> Resent-From: =?iso-8859-1?Q?Jan_Kundr=E1t?= Resent-To: openswitcher ML <~martijnbraam/openatem@lists.sr.ht> Message-Id: <622245ac229344eb97b00b4ceba19ff5026ac81f.1636061134.git.jkt@jankundrat.com> In-Reply-To: References: From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= Date: Thu, 20 May 2021 00:43:04 +0200 Subject: [PATCH 4/5] Some sources are not available on both AUX1 and AUX2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: "openswitcher ML" <~martijnbraam/openatem@lists.sr.ht> The Atem Mini Extreme has got two AUX outputs ("HDMI OUT 1" and "HDMI OUT 2"). Two of the inputs, HDMI1 and HDMI2, support a special "direct mode" where they can be passed through to an HDMI output at a lower latency (perhaps just via a HDMI retimer?). This is similar to the original Atem Mini series where this was only supported for HDMI1. Now, on the Extreme, HDMI1 can be low-latency-put to HDMI OUT 1, and the HDMI2 can be passed through to HDMI OUT 2. This is a problem because the code would not know the difference, and there was apparently just one bit for the "can be sent to AUX" flag. The catch is that on the Atem Mini Pro at least, the "can be sent to HDMI OUT 1" bit is always 0, even on the newest FW. On the Atem Mini Extreme, I have not seen any source with available_aux == 1 and available_aux1 == available_aux2 == 0. The only sources where available_aux1 != available_aux2 are the DIR1 and DIR2 for the direct pass-through. Signed-off-by: Jan Kundrát --- pyatem/field.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyatem/field.py b/pyatem/field.py index 7130cea..67e03af 100644 --- a/pyatem/field.py +++ b/pyatem/field.py @@ -314,6 +314,8 @@ class InputPropertiesField(FieldBase): :ivar available_supersource_art: Source can be routed to supersource :ivar available_supersource_box: Source can be routed to supersource :ivar available_key_source: Source can be used as keyer key source + :ivar available_aux1: Source can be sent to AUX1 (Extreme only) + :ivar available_aux2: Source can be sent to AUX2 (Extreme only) :ivar available_me1: Source can be routed to M/E 1 :ivar available_me2: Source can be routed to M/E 2 """ @@ -347,6 +349,8 @@ class InputPropertiesField(FieldBase): self.available_supersource_art = fields[11] & (1 << 2) != 0 self.available_supersource_box = fields[11] & (1 << 3) != 0 self.available_key_source = fields[11] & (1 << 4) != 0 + self.available_aux1 = fields[11] & (1 << 5) != 0 + self.available_aux2 = fields[11] & (1 << 6) != 0 self.available_me1 = fields[12] & (1 << 0) != 0 self.available_me2 = fields[12] & (1 << 1) != 0 -- 2.33.0