|
|
|
@ -422,6 +422,7 @@ static const MXFLocalTagPair mxf_local_tag_batch[] = { |
|
|
|
|
{ 0x3C0A, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x01,0x01,0x01,0x15,0x02,0x00,0x00,0x00,0x00}}, /* Instance UID */ |
|
|
|
|
{ 0x3B02, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x07,0x02,0x01,0x10,0x02,0x04,0x00,0x00}}, /* Last Modified Date */ |
|
|
|
|
{ 0x3B05, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x03,0x01,0x02,0x01,0x05,0x00,0x00,0x00}}, /* Version */ |
|
|
|
|
{ 0x3B07, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x03,0x01,0x02,0x01,0x04,0x00,0x00,0x00}}, /* Object Model Version */ |
|
|
|
|
{ 0x3B06, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x06,0x01,0x01,0x04,0x06,0x04,0x00,0x00}}, /* Identifications reference */ |
|
|
|
|
{ 0x3B03, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x06,0x01,0x01,0x04,0x02,0x01,0x00,0x00}}, /* Content Storage reference */ |
|
|
|
|
{ 0x3B09, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x05,0x01,0x02,0x02,0x03,0x00,0x00,0x00,0x00}}, /* Operational Pattern UL */ |
|
|
|
@ -681,7 +682,7 @@ static void mxf_write_preface(AVFormatContext *s) |
|
|
|
|
|
|
|
|
|
mxf_write_metadata_key(pb, 0x012f00); |
|
|
|
|
PRINT_KEY(s, "preface key", pb->buf_ptr - 16); |
|
|
|
|
klv_encode_ber_length(pb, 130 + 16LL * DESCRIPTOR_COUNT(mxf->essence_container_count)); |
|
|
|
|
klv_encode_ber_length(pb, 138 + 16LL * DESCRIPTOR_COUNT(mxf->essence_container_count)); |
|
|
|
|
|
|
|
|
|
// write preface set uid
|
|
|
|
|
mxf_write_local_tag(pb, 16, 0x3C0A); |
|
|
|
@ -696,6 +697,10 @@ static void mxf_write_preface(AVFormatContext *s) |
|
|
|
|
mxf_write_local_tag(pb, 2, 0x3B05); |
|
|
|
|
avio_wb16(pb, 259); // v1.3
|
|
|
|
|
|
|
|
|
|
// Object Model Version
|
|
|
|
|
mxf_write_local_tag(pb, 4, 0x3B07); |
|
|
|
|
avio_wb32(pb, 1); |
|
|
|
|
|
|
|
|
|
// write identification_refs
|
|
|
|
|
mxf_write_local_tag(pb, 16 + 8, 0x3B06); |
|
|
|
|
mxf_write_refs_count(pb, 1); |
|
|
|
|