mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
Use UL database for all metadata ULs
This commit is contained in:
parent
d5216a1a66
commit
83324d6788
3 changed files with 635 additions and 595 deletions
File diff suppressed because it is too large
Load diff
384
gst/mxf/mxful.c
384
gst/mxf/mxful.c
|
@ -66,7 +66,389 @@ const MXFUL _mxf_ul_table[] = {
|
|||
0x4b, 0x46, 0x41, 0x41, 0x00, 0x0d, 0x4d, 0x4f}},
|
||||
/* OPERATIONAL_PATTERN_IDENTIFICATION */
|
||||
{{0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01,
|
||||
0x0d, 0x01, 0x02, 0x01, 0x00,}}
|
||||
0x0d, 0x01, 0x02, 0x01, 0x00,}},
|
||||
/* TRACK_TIMECODE_12M_INACTIVE */
|
||||
{{0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01,
|
||||
0x01, 0x03, 0x02, 0x01, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* TRACK_TIMECODE_12M_ACTIVE */
|
||||
{{0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01,
|
||||
0x01, 0x03, 0x02, 0x01, 0x02, 0x00, 0x00, 0x00}},
|
||||
/* TRACK_TIMECODE_309M */
|
||||
{{0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01,
|
||||
0x01, 0x03, 0x02, 0x01, 0x03, 0x00, 0x00, 0x00}},
|
||||
/* TRACK_METADATA */
|
||||
{{0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01,
|
||||
0x01, 0x03, 0x02, 0x01, 0x10, 0x00, 0x00, 0x00}},
|
||||
/* TRACK_PICTURE_ESSENCE */
|
||||
{{0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01,
|
||||
0x01, 0x03, 0x02, 0x02, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* TRACK_SOUND_ESSENCE */
|
||||
{{0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01,
|
||||
0x01, 0x03, 0x02, 0x02, 0x02, 0x00, 0x00, 0x00}},
|
||||
/* TRACK_DATA_ESSENCE */
|
||||
{{0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01,
|
||||
0x01, 0x03, 0x02, 0x02, 0x03, 0x00, 0x00, 0x00}},
|
||||
/* TRACK_AUXILIARY_DATA */
|
||||
{{0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01,
|
||||
0x01, 0x03, 0x02, 0x03, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* TRACK_PARSED_TEXT */
|
||||
{{0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x01,
|
||||
0x01, 0x03, 0x02, 0x03, 0x02, 0x00, 0x00, 0x00}},
|
||||
/* TRACK_AVID_PICTURE_ESSENCE */
|
||||
{{0x80, 0x7d, 0x00, 0x60, 0x08, 0x14, 0x3e, 0x6f,
|
||||
0x6f, 0x3c, 0x8c, 0xe1, 0x6c, 0xef, 0x11, 0xd2}},
|
||||
/** MXF Structural Metadata */
|
||||
/* INSTANCE_UID */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x15, 0x02, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* GENERATION_UID */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x05, 0x20, 0x07, 0x01, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* Preface */
|
||||
/* LAST_MODIFIED_DATE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x07, 0x02, 0x01, 0x10, 0x02, 0x04, 0x00, 0x00}},
|
||||
/* VERSION */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x03, 0x01, 0x02, 0x01, 0x05, 0x00, 0x00, 0x00}},
|
||||
/* OBJECT_MODEL_VERSION */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x03, 0x01, 0x02, 0x01, 0x04, 0x00, 0x00, 0x00}},
|
||||
/* PRIMARY_PACKAGE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x04,
|
||||
0x06, 0x01, 0x01, 0x04, 0x01, 0x08, 0x00, 0x00}},
|
||||
/* IDENTIFICATIONS */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x06, 0x01, 0x01, 0x04, 0x06, 0x04, 0x00, 0x00}},
|
||||
/* CONTENT_STORAGE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x01, 0x02, 0x02, 0x03, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* ESSENCE_CONTAINERS */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x01, 0x02, 0x02, 0x10, 0x02, 0x01, 0x00, 0x00}},
|
||||
/* DM_SCHEMES */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x01, 0x02, 0x02, 0x10, 0x02, 0x02, 0x00, 0x00}},
|
||||
/* Identification */
|
||||
/* COMPANY_NAME */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x05, 0x20, 0x07, 0x01, 0x02, 0x01, 0x00, 0x00}},
|
||||
/* PRODUCT_NAME */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x05, 0x20, 0x07, 0x01, 0x03, 0x01, 0x00, 0x00}},
|
||||
/* PRODUCT_VERSION */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x05, 0x20, 0x07, 0x01, 0x04, 0x00, 0x00, 0x00}},
|
||||
/* VERSION_STRING */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x05, 0x20, 0x07, 0x01, 0x05, 0x01, 0x00, 0x00}},
|
||||
/* PRODUCT_UID */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x05, 0x20, 0x07, 0x01, 0x07, 0x00, 0x00, 0x00}},
|
||||
/* MODIFICATION_DATE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x07, 0x02, 0x01, 0x10, 0x02, 0x03, 0x00, 0x00}},
|
||||
/* TOOLKIT_VERSION */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x05, 0x20, 0x07, 0x01, 0x0A, 0x00, 0x00, 0x00}},
|
||||
/* PLATFORM */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x05, 0x20, 0x07, 0x01, 0x06, 0x01, 0x00, 0x00}},
|
||||
/* Content storage */
|
||||
/* PACKAGES */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x06, 0x01, 0x01, 0x04, 0x05, 0x01, 0x00, 0x00}},
|
||||
/* ESSENCE_CONTAINER_DATA */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x06, 0x01, 0x01, 0x04, 0x05, 0x02, 0x00, 0x00}},
|
||||
/* Essence container data */
|
||||
/* LINKED_PACKAGE_UID */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x06, 0x01, 0x01, 0x06, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* BODY_SID */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x04,
|
||||
0x01, 0x03, 0x04, 0x04, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* INDEX_SID */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x04,
|
||||
0x01, 0x03, 0x04, 0x05, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* Generic package */
|
||||
/* PACKAGE_UID */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x01, 0x15, 0x10, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* PACKAGE_NAME */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x03, 0x03, 0x02, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* PACKAGE_CREATION_DATE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x07, 0x02, 0x01, 0x10, 0x01, 0x03, 0x00, 0x00}},
|
||||
/* PACKAGE_MODIFIED_DATE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x07, 0x02, 0x01, 0x10, 0x02, 0x05, 0x00, 0x00}},
|
||||
/* TRACKS */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x06, 0x01, 0x01, 0x04, 0x06, 0x05, 0x00, 0x00}},
|
||||
/* Source package */
|
||||
/* DESCRIPTOR */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x06, 0x01, 0x01, 0x04, 0x02, 0x03, 0x00, 0x00}},
|
||||
/* Track */
|
||||
/* TRACK_ID */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x01, 0x07, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* TRACK_NUMBER */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x01, 0x04, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* TRACK_NAME */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x01, 0x07, 0x01, 0x02, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* SEQUENCE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x06, 0x01, 0x01, 0x04, 0x02, 0x04, 0x00, 0x00}},
|
||||
/* Timeline track */
|
||||
/* EDIT_RATE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x05, 0x30, 0x04, 0x05, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* ORIGIN */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x07, 0x02, 0x01, 0x03, 0x01, 0x03, 0x00, 0x00}},
|
||||
/* Event track */
|
||||
/* EVENT_EDIT_RATE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x05, 0x30, 0x04, 0x02, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* EVENT_ORIGIN */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x07, 0x02, 0x01, 0x03, 0x01, 0x0B, 0x00, 0x00}},
|
||||
/* Sequence & structural component */
|
||||
/* DATA_DEFINITION */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* DURATION */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x07, 0x02, 0x02, 0x01, 0x01, 0x03, 0x00, 0x00}},
|
||||
/* STRUCTURAL_COMPONENTS */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x06, 0x01, 0x01, 0x04, 0x06, 0x09, 0x00, 0x00}},
|
||||
/* Timecode component */
|
||||
/* ROUNDED_TIMECODE_BASE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x04, 0x01, 0x01, 0x02, 0x06, 0x00, 0x00}},
|
||||
/* START_TIMECODE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x07, 0x02, 0x01, 0x03, 0x01, 0x05, 0x00, 0x00}},
|
||||
/* DROP_FRAME */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x04, 0x01, 0x01, 0x05, 0x00, 0x00, 0x00}},
|
||||
/* Source clip */
|
||||
/* START_POSITION */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x07, 0x02, 0x01, 0x03, 0x01, 0x04, 0x00, 0x00}},
|
||||
/* SOURCE_PACKAGE_ID */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x06, 0x01, 0x01, 0x03, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* SOURCE_TRACK_ID */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x06, 0x01, 0x01, 0x03, 0x02, 0x00, 0x00, 0x0}},
|
||||
/* DM Source clip */
|
||||
/* DM_SOURCELIP_TRACK_IDS */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x01, 0x07, 0x01, 0x06, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* DM Segment */
|
||||
/* EVENT_START_POSITION */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x07, 0x02, 0x01, 0x03, 0x03, 0x03, 0x00, 0x00}},
|
||||
/* EVENT_COMMENT */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x05, 0x30, 0x04, 0x04, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* DM_SEGMENT_TRACK_IDS */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x04,
|
||||
0x01, 0x07, 0x01, 0x05, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* DM_FRAMEWORK */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x06, 0x01, 0x01, 0x04, 0x02, 0x0C, 0x00, 0x00}},
|
||||
/* Generic descriptor */
|
||||
/* LOCATORS */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x06, 0x01, 0x01, 0x04, 0x06, 0x03, 0x00, 0x00}},
|
||||
/* File descriptor */
|
||||
/* LINKED_TRACK_ID */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x06, 0x01, 0x01, 0x03, 0x05, 0x00, 0x00, 0x00}},
|
||||
/* SAMPLE_RATE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x06, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* CONTAINER_DURATION */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x06, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* ESSENCE_CONTAINER */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x06, 0x01, 0x01, 0x04, 0x01, 0x02, 0x00, 0x00}},
|
||||
/* CODEC */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x06, 0x01, 0x01, 0x04, 0x01, 0x03, 0x00, 0x00}},
|
||||
/* Generic picture essence descriptor */
|
||||
/* SIGNAL_STANDARD */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x04, 0x05, 0x01, 0x13, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* FRAME_LAYOUT */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x03, 0x01, 0x04, 0x00, 0x00, 0x00}},
|
||||
/* STORED_WIDTH */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x02, 0x02, 0x00, 0x00, 0x00}},
|
||||
/* STORED_HEIGHT */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x02, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* STORED_F2_OFFSET */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x04, 0x01, 0x03, 0x02, 0x08, 0x00, 0x00, 0x00}},
|
||||
/* SAMPLED_WIDTH */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x01, 0x08, 0x00, 0x00, 0x00}},
|
||||
/* SAMPLED_HEIGHT */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x01, 0x07, 0x00, 0x00, 0x00}},
|
||||
/* SAMPLED_X_OFFSET */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x01, 0x09, 0x00, 0x00, 0x00}},
|
||||
/* SAMPLED_Y_OFFSET */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x01, 0x0A, 0x00, 0x00, 0x00}},
|
||||
/* DISPLAY_HEIGHT */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x01, 0x0B, 0x00, 0x00, 0x00}},
|
||||
/* DISPLAY_WIDTH */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x01, 0x0C, 0x00, 0x00, 0x00}},
|
||||
/* DISPLAY_X_OFFSET */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x01, 0x0D, 0x00, 0x00, 0x00}},
|
||||
/* DISPLAY_Y_OFFSET */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x01, 0x0E, 0x00, 0x00, 0x00}},
|
||||
/* DISPLAY_F2_OFFSET */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x04, 0x01, 0x03, 0x02, 0x07, 0x00, 0x00, 0x00}},
|
||||
/* ASPECT_RATIO */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* ACTIVE_FORMAT_DESCRIPTOR */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x04, 0x01, 0x03, 0x02, 0x09, 0x00, 0x00, 0x00}},
|
||||
/* VIDEO_LINE_MAP */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x01, 0x03, 0x02, 0x05, 0x00, 0x00, 0x00}},
|
||||
/* ALPHA_TRANSPARENCY */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x05, 0x20, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* CAPTURE_GAMMA */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x01, 0x02, 0x01, 0x01, 0x01, 0x02, 0x00}},
|
||||
/* IMAGE_ALIGNMENT_OFFSET */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x18, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* IMAGE_START_OFFSET */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x18, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* IMAGE_END_OFFSET */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x18, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* FIELD_DOMINANCE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x01, 0x03, 0x01, 0x06, 0x00, 0x00, 0x00}},
|
||||
/* PICTURE_ESSENCE_CODING */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x01, 0x06, 0x01, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* Generic audio essence descriptor */
|
||||
/* AUDIO_SAMPLING_RATE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x04, 0x02, 0x03, 0x01, 0x01, 0x01, 0x00, 0x00}},
|
||||
/* LOCKED */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x04,
|
||||
0x04, 0x02, 0x03, 0x01, 0x04, 0x00, 0x00, 0x00}},
|
||||
/* AUDIO_REF_LEVEL */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x02, 0x01, 0x01, 0x03, 0x00, 0x00, 0x00}},
|
||||
/* ELECTRO_SPATIAL_FORMULATION */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x02, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* CHANNEL_COUNT */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x04, 0x02, 0x01, 0x01, 0x04, 0x00, 0x00, 0x00}},
|
||||
/* QUANTIZATION_BITS */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x04,
|
||||
0x04, 0x02, 0x03, 0x03, 0x04, 0x00, 0x00, 0x00}},
|
||||
/* DIAL_NORM */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x04, 0x02, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* SOUND_ESSENCE_COMPRESSION */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x02, 0x04, 0x02, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* CDCI Picture essence descriptor */
|
||||
/* COMPONENT_DEPTH */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x01, 0x05, 0x03, 0x0A, 0x00, 0x00, 0x00}},
|
||||
/* HORIZONTAL_SUBSAMPLING */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x01, 0x05, 0x00, 0x00, 0x00}},
|
||||
/* VERTICAL_SUBSAMPLING */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x01, 0x05, 0x01, 0x10, 0x00, 0x00, 0x00}},
|
||||
/* COLOR_SITING */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x01, 0x06, 0x00, 0x00, 0x00}},
|
||||
/* REVERSED_BYTE_ORDER */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x03, 0x01, 0x02, 0x01, 0x0A, 0x00, 0x00, 0x00}},
|
||||
/* PADDING_BITS */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x18, 0x01, 0x04, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* ALPHA_SAMPLE_DEPTH */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x01, 0x05, 0x03, 0x07, 0x00, 0x00, 0x00}},
|
||||
/* BLACK_REF_LEVEL */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x03, 0x03, 0x00, 0x00, 0x00}},
|
||||
/* WHITE_REF_LEVEL */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x04, 0x01, 0x05, 0x03, 0x04, 0x00, 0x00, 0x00}},
|
||||
/* COLOR_RANGE */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x01, 0x05, 0x03, 0x05, 0x00, 0x00, 0x00}},
|
||||
/* RGBA picture essence descriptor */
|
||||
/* COMPONENT_MAX_REF */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x04, 0x01, 0x05, 0x03, 0x0B, 0x00, 0x00, 0x00}},
|
||||
/* COMPONENT_MIN_REF */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x04, 0x01, 0x05, 0x03, 0x0C, 0x00, 0x00, 0x00}},
|
||||
/* ALPHA_MAX_REF */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x04, 0x01, 0x05, 0x03, 0x0D, 0x00, 0x00, 0x00}},
|
||||
/* ALPHA_MIN_REF */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x04, 0x01, 0x05, 0x03, 0x0E, 0x00, 0x00, 0x00}},
|
||||
/* SCANNING_DIRECTION */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x05,
|
||||
0x04, 0x01, 0x04, 0x04, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* PIXEL_LAYOUT */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x04, 0x01, 0x05, 0x03, 0x06, 0x00, 0x00, 0x00}},
|
||||
/* Generic data essence descriptor */
|
||||
/* DATA_ESSENCE_CODING */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x03,
|
||||
0x04, 0x03, 0x03, 0x02, 0x00, 0x00, 0x00, 0x00}},
|
||||
/* Multiple descriptor */
|
||||
/* SUB_DESCRIPTORS */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x04,
|
||||
0x06, 0x01, 0x01, 0x04, 0x06, 0x0B, 0x00, 0x00}},
|
||||
/* Text locator */
|
||||
/* LOCATOR_NAME */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x02,
|
||||
0x01, 0x04, 0x01, 0x02, 0x01, 0x00, 0x00, 0x00}},
|
||||
/* Network locator */
|
||||
/* URL_STRING */
|
||||
{{0x06, 0x0E, 0x2B, 0x34, 0x01, 0x01, 0x01, 0x01,
|
||||
0x01, 0x02, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00}},
|
||||
};
|
||||
|
||||
gboolean
|
||||
|
|
122
gst/mxf/mxful.h
122
gst/mxf/mxful.h
|
@ -28,7 +28,7 @@ typedef struct {
|
|||
} MXFUL;
|
||||
|
||||
typedef enum {
|
||||
MXF_UL_SMPTE = 0,
|
||||
MXF_UL_SMPTE,
|
||||
MXF_UL_FILL,
|
||||
MXF_UL_PARTITION_PACK,
|
||||
MXF_UL_PRIMER_PACK,
|
||||
|
@ -42,6 +42,126 @@ typedef enum {
|
|||
MXF_UL_AVID_ESSENCE_CONTAINER_ESSENCE_ELEMENT,
|
||||
MXF_UL_AVID_ESSENCE_CONTAINER_ESSENCE_LABEL,
|
||||
MXF_UL_OPERATIONAL_PATTERN_IDENTIFICATION,
|
||||
MXF_UL_TRACK_TIMECODE_12M_INACTIVE,
|
||||
MXF_UL_TRACK_TIMECODE_12M_ACTIVE,
|
||||
MXF_UL_TRACK_TIMECODE_309M,
|
||||
MXF_UL_TRACK_METADATA,
|
||||
MXF_UL_TRACK_PICTURE_ESSENCE,
|
||||
MXF_UL_TRACK_SOUND_ESSENCE,
|
||||
MXF_UL_TRACK_DATA_ESSENCE,
|
||||
MXF_UL_TRACK_AUXILIARY_DATA,
|
||||
MXF_UL_TRACK_PARSED_TEXT,
|
||||
MXF_UL_TRACK_AVID_PICTURE_ESSENCE,
|
||||
MXF_UL_INSTANCE_UID,
|
||||
MXF_UL_GENERATION_UID,
|
||||
MXF_UL_LAST_MODIFIED_DATE,
|
||||
MXF_UL_VERSION,
|
||||
MXF_UL_OBJECT_MODEL_VERSION,
|
||||
MXF_UL_PRIMARY_PACKAGE,
|
||||
MXF_UL_IDENTIFICATIONS,
|
||||
MXF_UL_CONTENT_STORAGE,
|
||||
MXF_UL_OPERATIONAL_PATTERN,
|
||||
MXF_UL_ESSENCE_CONTAINERS,
|
||||
MXF_UL_DM_SCHEMES,
|
||||
MXF_UL_COMPANY_NAME,
|
||||
MXF_UL_PRODUCT_NAME,
|
||||
MXF_UL_PRODUCT_VERSION,
|
||||
MXF_UL_VERSION_STRING,
|
||||
MXF_UL_PRODUCT_UID,
|
||||
MXF_UL_MODIFICATION_DATE,
|
||||
MXF_UL_TOOLKIT_VERSION,
|
||||
MXF_UL_PLATFORM,
|
||||
MXF_UL_PACKAGES,
|
||||
MXF_UL_ESSENCE_CONTAINER_DATA,
|
||||
MXF_UL_LINKED_PACKAGE_UID,
|
||||
MXF_UL_BODY_SID,
|
||||
MXF_UL_INDEX_SID,
|
||||
MXF_UL_PACKAGE_UID,
|
||||
MXF_UL_PACKAGE_NAME,
|
||||
MXF_UL_PACKAGE_CREATION_DATE,
|
||||
MXF_UL_PACKAGE_MODIFIED_DATE,
|
||||
MXF_UL_TRACKS,
|
||||
MXF_UL_DESCRIPTOR,
|
||||
MXF_UL_TRACK_ID,
|
||||
MXF_UL_TRACK_NUMBER,
|
||||
MXF_UL_TRACK_NAME,
|
||||
MXF_UL_SEQUENCE,
|
||||
MXF_UL_EDIT_RATE,
|
||||
MXF_UL_ORIGIN,
|
||||
MXF_UL_EVENT_EDIT_RATE,
|
||||
MXF_UL_EVENT_ORIGIN,
|
||||
MXF_UL_DATA_DEFINITION,
|
||||
MXF_UL_DURATION,
|
||||
MXF_UL_STRUCTURAL_COMPONENTS,
|
||||
MXF_UL_ROUNDED_TIMECODE_BASE,
|
||||
MXF_UL_START_TIMECODE,
|
||||
MXF_UL_DROP_FRAME,
|
||||
MXF_UL_START_POSITION,
|
||||
MXF_UL_SOURCE_PACKAGE_ID,
|
||||
MXF_UL_SOURCE_TRACK_ID,
|
||||
MXF_UL_DM_SOURCECLIP_TRACK_IDS,
|
||||
MXF_UL_EVENT_START_POSITION,
|
||||
MXF_UL_EVENT_COMMENT,
|
||||
MXF_UL_DM_SEGMENT_TRACK_IDS,
|
||||
MXF_UL_DM_FRAMEWORK,
|
||||
MXF_UL_LOCATORS,
|
||||
MXF_UL_LINKED_TRACK_ID,
|
||||
MXF_UL_SAMPLE_RATE,
|
||||
MXF_UL_CONTAINER_DURATION,
|
||||
MXF_UL_ESSENCE_CONTAINER,
|
||||
MXF_UL_CODEC,
|
||||
MXF_UL_SIGNAL_STANDARD,
|
||||
MXF_UL_FRAME_LAYOUT,
|
||||
MXF_UL_STORED_WIDTH,
|
||||
MXF_UL_STORED_HEIGHT,
|
||||
MXF_UL_STORED_F2_OFFSET,
|
||||
MXF_UL_SAMPLED_WIDTH,
|
||||
MXF_UL_SAMPLED_HEIGHT,
|
||||
MXF_UL_SAMPLED_X_OFFSET,
|
||||
MXF_UL_SAMPLED_Y_OFFSET,
|
||||
MXF_UL_DISPLAY_HEIGHT,
|
||||
MXF_UL_DISPLAY_WIDTH,
|
||||
MXF_UL_DISPLAY_X_OFFSET,
|
||||
MXF_UL_DISPLAY_Y_OFFSET,
|
||||
MXF_UL_DISPLAY_F2_OFFSET,
|
||||
MXF_UL_ASPECT_RATIO,
|
||||
MXF_UL_ACTIVE_FORMAT_DESCRIPTOR,
|
||||
MXF_UL_VIDEO_LINE_MAP,
|
||||
MXF_UL_ALPHA_TRANSPARENCY,
|
||||
MXF_UL_CAPTURE_GAMMA,
|
||||
MXF_UL_IMAGE_ALIGNMENT_OFFSET,
|
||||
MXF_UL_IMAGE_START_OFFSET,
|
||||
MXF_UL_IMAGE_END_OFFSET,
|
||||
MXF_UL_FIELD_DOMINANCE,
|
||||
MXF_UL_PICTURE_ESSENCE_CODING,
|
||||
MXF_UL_AUDIO_SAMPLING_RATE,
|
||||
MXF_UL_LOCKED,
|
||||
MXF_UL_AUDIO_REF_LEVEL,
|
||||
MXF_UL_ELECTRO_SPATIAL_FORMULATION,
|
||||
MXF_UL_CHANNEL_COUNT,
|
||||
MXF_UL_QUANTIZATION_BITS,
|
||||
MXF_UL_DIAL_NORM,
|
||||
MXF_UL_SOUND_ESSENCE_COMPRESSION,
|
||||
MXF_UL_COMPONENT_DEPTH,
|
||||
MXF_UL_HORIZONTAL_SUBSAMPLING,
|
||||
MXF_UL_VERTICAL_SUBSAMPLING,
|
||||
MXF_UL_COLOR_SITING,
|
||||
MXF_UL_REVERSED_BYTE_ORDER,
|
||||
MXF_UL_PADDING_BITS,
|
||||
MXF_UL_ALPHA_SAMPLE_DEPTH,
|
||||
MXF_UL_BLACK_REF_LEVEL,
|
||||
MXF_UL_WHITE_REF_LEVEL,
|
||||
MXF_UL_COLOR_RANGE,
|
||||
MXF_UL_COMPONENT_MAX_REF,
|
||||
MXF_UL_COMPONENT_MIN_REF,
|
||||
MXF_UL_ALPHA_MAX_REF,
|
||||
MXF_UL_ALPHA_MIN_REF,
|
||||
MXF_UL_SCANNING_DIRECTION,
|
||||
MXF_UL_PIXEL_LAYOUT,
|
||||
MXF_UL_DATA_ESSENCE_CODING,
|
||||
MXF_UL_SUB_DESCRIPTORS,
|
||||
MXF_UL_LOCATOR_NAME,
|
||||
MXF_UL_URL_STRING,
|
||||
MXF_UL_MAX
|
||||
} MXFULId;
|
||||
|
||||
|
|
Loading…
Reference in a new issue