From: Sweidan Omar Date: Mon, 6 Dec 2021 11:14:33 +0000 (+0000) Subject: git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube... X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=58e1460df41740ec4d5406acaa886260a1ff4385;p=mediacube.git git-tfs-id: [tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32444 --- diff --git a/server/user.jobengine.osgi.commons/src/user/commons/nexio/server/protocol/GetExtendedFieldCommand.java b/server/user.jobengine.osgi.commons/src/user/commons/nexio/server/protocol/GetExtendedFieldCommand.java index 41efde69..1a120162 100644 --- a/server/user.jobengine.osgi.commons/src/user/commons/nexio/server/protocol/GetExtendedFieldCommand.java +++ b/server/user.jobengine.osgi.commons/src/user/commons/nexio/server/protocol/GetExtendedFieldCommand.java @@ -1,10 +1,6 @@ package user.commons.nexio.server.protocol; import java.io.IOException; -import java.nio.ByteBuffer; -import java.nio.ByteOrder; -import java.util.Calendar; - /* Number Field Description Max Size @@ -13,7 +9,7 @@ Number Field Description Max Size of when the media was recorded 8 1 Codec Where Recorded The video server name and channel where the media was recorded 19 2 Legacy Field Used only in Nexio Browse 1.0 and older low-res systems to link - a low-res clip to its matching high-res clip’s 8-byte ID handle. 8 + a low-res clip to its matching high-res clip�s 8-byte ID handle. 8 3 UMID Unique Media Identifier 64 4 Video Info Extended video format and frame rate in a bit-wise algorithm of 128 bits 16 @@ -39,11 +35,11 @@ Number Field Description Max Size 17 User-definable Field #4 UNICODE-stored 25-character user entry field 50 18 External Controller UID A field reserved for external controllers needing a place to store their own unique identifiers 16 -19 Video ARC A series of seven 2-byte values defining a clip’s video +19 Video ARC A series of seven 2-byte values defining a clip�s video aspect ratio conversion when loaded into a channel of opposite resolution. This field also sets whether to override existing AFD data and whether - to override an SD clip’s native aspect ratio. 14 + to override an SD clip�s native aspect ratio. 14 20 Modified Timestamp A FILETIME structure representing the time and date stamp when the media was last modified. See below for list of protocol commands which trigger this timestamp. 8 @@ -51,46 +47,45 @@ Number Field Description Max Size the QuiC software application 2 22 User Segments In Use Used for managing the information stored in user data segments, part of the DTA modes. - The 2 bytes represent a bitmask of “in use” user data slots 2 + The 2 bytes represent a bitmask of �in use� user data slots 2 23 Audio Track Compression Info A series of 1-byte data per audio track (up to 32 tracks) to indicate - each track’s compression type and channel count 32 + each track�s compression type and channel count 32 24 Audio Track Tag Info A series of 1-byte data per audio track (up to 32 tracks) to identify the content of each track using special audio tags 32*/ public class GetExtendedFieldCommand extends Command { private final static byte[] GET_EXTENDED_FIELD = { (byte) 0xc9, (byte) 0xc3 }; - public final static byte[] FN_RECORD_DATETIME = {(byte)0}; - public final static byte[] FN_CODEC_WHERE_RECORDED = {(byte)1}; - public final static byte[] FN_LEGACY_FIELD = {(byte)2}; - public final static byte[] FN_UMID = {(byte)3}; - public final static byte[] FN_VIDEO_INFO = {(byte)4}; - public final static byte[] FN_VIDEO_CODEC_FOURCC_VALUE = {(byte)5}; - public final static byte[] FN_LEGACY_FIELD128BIT = {(byte)6}; - public final static byte[] FN_USER_NAME = {(byte)7}; - public final static byte[] FN_DEPARTMENT = {(byte)8}; - public final static byte[] FN_TITLE = {(byte)9}; - public final static byte[] FN_LINK = {(byte)11}; - public final static byte[] FN_DESCRIPTION = {(byte)12}; - public final static byte[] FN_AGENCY = {(byte)13}; - public final static byte[] FN_USER_DEFINABLE_FIELD_1 = {(byte)14}; - public final static byte[] FN_USER_DEFINABLE_FIELD_2 = {(byte)15}; - public final static byte[] FN_USER_DEFINABLE_FIELD_3 = {(byte)16}; - public final static byte[] FN_USER_DEFINABLE_FIELD_4 = {(byte)17}; - public final static byte[] FN_EXTERNAL_CONTROLLER_UID = {(byte)18}; - public final static byte[] FN_VIDEO_ARC = {(byte)19}; - public final static byte[] FN_MODIFIED_TIMESTAMP = {(byte)20}; - public final static byte[] FN_VIDEO_QA_STATUS = {(byte)21}; - public final static byte[] FN_USER_SEGMENTS_IN_USE = {(byte)22}; - public final static byte[] FN_AUDIO_TRACK_COMPRESSION_INFO = {(byte)23}; - public final static byte[] FN_AUDIO_TRACK_TAG_INFO = {(byte)24}; - + public final static byte[] FN_RECORD_DATETIME = { (byte) 0 }; + public final static byte[] FN_CODEC_WHERE_RECORDED = { (byte) 1 }; + public final static byte[] FN_LEGACY_FIELD = { (byte) 2 }; + public final static byte[] FN_UMID = { (byte) 3 }; + public final static byte[] FN_VIDEO_INFO = { (byte) 4 }; + public final static byte[] FN_VIDEO_CODEC_FOURCC_VALUE = { (byte) 5 }; + public final static byte[] FN_LEGACY_FIELD128BIT = { (byte) 6 }; + public final static byte[] FN_USER_NAME = { (byte) 7 }; + public final static byte[] FN_DEPARTMENT = { (byte) 8 }; + public final static byte[] FN_TITLE = { (byte) 9 }; + public final static byte[] FN_LINK = { (byte) 11 }; + public final static byte[] FN_DESCRIPTION = { (byte) 12 }; + public final static byte[] FN_AGENCY = { (byte) 13 }; + public final static byte[] FN_USER_DEFINABLE_FIELD_1 = { (byte) 14 }; + public final static byte[] FN_USER_DEFINABLE_FIELD_2 = { (byte) 15 }; + public final static byte[] FN_USER_DEFINABLE_FIELD_3 = { (byte) 16 }; + public final static byte[] FN_USER_DEFINABLE_FIELD_4 = { (byte) 17 }; + public final static byte[] FN_EXTERNAL_CONTROLLER_UID = { (byte) 18 }; + public final static byte[] FN_VIDEO_ARC = { (byte) 19 }; + public final static byte[] FN_MODIFIED_TIMESTAMP = { (byte) 20 }; + public final static byte[] FN_VIDEO_QA_STATUS = { (byte) 21 }; + public final static byte[] FN_USER_SEGMENTS_IN_USE = { (byte) 22 }; + public final static byte[] FN_AUDIO_TRACK_COMPRESSION_INFO = { (byte) 23 }; + public final static byte[] FN_AUDIO_TRACK_TAG_INFO = { (byte) 24 }; + private byte[] buffer; - + public GetExtendedFieldCommand(Connection connection) { super(connection); } - public byte[] execute(Id id, byte[] fieldNumber) throws IOException, ProtocolException { byte[] ret = null; @@ -122,4 +117,3 @@ public class GetExtendedFieldCommand extends Command { return ret; } } -