1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avformat/mxfenc: add Coding Equations and Color Primaries to local tags

Fixes ticket #9079.

Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Marton Balint 2021-01-25 22:04:05 +01:00
parent 9f38fac053
commit b410b14fba
13 changed files with 16 additions and 14 deletions

View File

@ -361,6 +361,8 @@ static const MXFLocalTagPair mxf_local_tag_batch[] = {
{ 0x3217, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x05,0x04,0x01,0x03,0x02,0x07,0x00,0x00,0x00}}, /* Display F2 offset */ { 0x3217, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x05,0x04,0x01,0x03,0x02,0x07,0x00,0x00,0x00}}, /* Display F2 offset */
{ 0x320E, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x00,0x00,0x00}}, /* Aspect Ratio */ { 0x320E, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x00,0x00,0x00}}, /* Aspect Ratio */
{ 0x3210, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x04,0x01,0x02,0x01,0x01,0x01,0x02,0x00}}, /* Transfer characteristic */ { 0x3210, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x04,0x01,0x02,0x01,0x01,0x01,0x02,0x00}}, /* Transfer characteristic */
{ 0x321A, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x04,0x01,0x02,0x01,0x01,0x03,0x01,0x00}}, /* Coding Equations (color space) */
{ 0x3219, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x09,0x04,0x01,0x02,0x01,0x01,0x06,0x01,0x00}}, /* Color Primaries */
{ 0x3213, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x04,0x18,0x01,0x02,0x00,0x00,0x00,0x00}}, /* Image Start Offset */ { 0x3213, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x04,0x18,0x01,0x02,0x00,0x00,0x00,0x00}}, /* Image Start Offset */
{ 0x3214, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x04,0x18,0x01,0x03,0x00,0x00,0x00,0x00}}, /* Image End Offset */ { 0x3214, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x04,0x18,0x01,0x03,0x00,0x00,0x00,0x00}}, /* Image End Offset */
{ 0x3201, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x04,0x01,0x06,0x01,0x00,0x00,0x00,0x00}}, /* Picture Essence Coding */ { 0x3201, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x02,0x04,0x01,0x06,0x01,0x00,0x00,0x00,0x00}}, /* Picture Essence Coding */

View File

@ -1,4 +1,4 @@
b37c4d5693cdb5b9ed9b33501ffb682a *tests/data/fate/copy-trac4914.mxf 5d58a32f21b78169d925845f783054e6 *tests/data/fate/copy-trac4914.mxf
561721 tests/data/fate/copy-trac4914.mxf 561721 tests/data/fate/copy-trac4914.mxf
#tb 0: 1001/30000 #tb 0: 1001/30000
#media_type 0: video #media_type 0: video

View File

@ -1 +1 @@
68f0fa62b6a676894afbbe4c34ebf70b fe9b43f5b6e7737fe2670b660fd3d860

View File

@ -1 +1 @@
f6760a9e710ba478bc3949f3e5c9b34a 9b3d7201c37c5783702774e46e0da141

View File

@ -1 +1 @@
73a891041b2fc836a893ffb49fff4fff 422d6ed4821e7bbecbcdecc553abc6e4

View File

@ -1 +1 @@
1255faf854223a74d707553121e5eca3 c77b632dbcdacd6466e1ec794917556e

View File

@ -1 +1 @@
42863a53f6c63efbc8c5a2eb76f13f5f e5c9da6972b6f6e7b15bcbbf20a9dbd1

View File

@ -1,9 +1,9 @@
27b98795036b334e100c15c7e06d948f *tests/data/lavf/lavf.mxf 1703da2e9f0ca49a5f0bcbcc6944c9c0 *tests/data/lavf/lavf.mxf
526393 tests/data/lavf/lavf.mxf 526393 tests/data/lavf/lavf.mxf
tests/data/lavf/lavf.mxf CRC=0x8dddfaab tests/data/lavf/lavf.mxf CRC=0x8dddfaab
783b475a818602f54e947094d57e2981 *tests/data/lavf/lavf.mxf b44c4f138f1a87256211c3112dd52c87 *tests/data/lavf/lavf.mxf
561721 tests/data/lavf/lavf.mxf 561721 tests/data/lavf/lavf.mxf
tests/data/lavf/lavf.mxf CRC=0x96ff1b48 tests/data/lavf/lavf.mxf CRC=0x96ff1b48
02bf8f0cd8951a49e277306691cb1538 *tests/data/lavf/lavf.mxf 9ede3c95054c30eb815fbe598a1f097b *tests/data/lavf/lavf.mxf
526393 tests/data/lavf/lavf.mxf 526393 tests/data/lavf/lavf.mxf
tests/data/lavf/lavf.mxf CRC=0x8dddfaab tests/data/lavf/lavf.mxf CRC=0x8dddfaab

View File

@ -1,3 +1,3 @@
da0ebbebb50a530b14c0f06017f464b3 *tests/data/lavf/lavf.mxf_d10 c72f1f3d6ce555f96946c421f705f880 *tests/data/lavf/lavf.mxf_d10
5332013 tests/data/lavf/lavf.mxf_d10 5332013 tests/data/lavf/lavf.mxf_d10
tests/data/lavf/lavf.mxf_d10 CRC=0x6c74d488 tests/data/lavf/lavf.mxf_d10 CRC=0x6c74d488

View File

@ -1,3 +1,3 @@
57623b3b968c0bb0d8a0bbaeef6fe657 *tests/data/lavf/lavf.mxf_dv25 5048796729fba47e9614a177c370e850 *tests/data/lavf/lavf.mxf_dv25
3834413 tests/data/lavf/lavf.mxf_dv25 3834413 tests/data/lavf/lavf.mxf_dv25
tests/data/lavf/lavf.mxf_dv25 CRC=0xbdaf7f52 tests/data/lavf/lavf.mxf_dv25 CRC=0xbdaf7f52

View File

@ -1,3 +1,3 @@
6e82b4cc962199e2593e30851ff7ccfb *tests/data/lavf/lavf.mxf_dvcpro50 7023122fc4bcd5c12de6a33cc78ce9b8 *tests/data/lavf/lavf.mxf_dvcpro50
7431213 tests/data/lavf/lavf.mxf_dvcpro50 7431213 tests/data/lavf/lavf.mxf_dvcpro50
tests/data/lavf/lavf.mxf_dvcpro50 CRC=0xe3bbe4b4 tests/data/lavf/lavf.mxf_dvcpro50 CRC=0xe3bbe4b4

View File

@ -1,3 +1,3 @@
d5f56215c2b16dee204f03bfa653dd1b *tests/data/lavf/lavf.mxf_opatom 8a4c5680b0955d4e2abecfb1c37a56d4 *tests/data/lavf/lavf.mxf_opatom
4717625 tests/data/lavf/lavf.mxf_opatom 4717625 tests/data/lavf/lavf.mxf_opatom
tests/data/lavf/lavf.mxf_opatom CRC=0xf55aa22a tests/data/lavf/lavf.mxf_opatom CRC=0xf55aa22a

View File

@ -1,3 +1,3 @@
c45bb140605339556a77e751fda2c449 *tests/data/lavf/lavf.mxf_opatom_audio 697f4eb4a472909945222d7750145f80 *tests/data/lavf/lavf.mxf_opatom_audio
102969 tests/data/lavf/lavf.mxf_opatom_audio 102969 tests/data/lavf/lavf.mxf_opatom_audio
tests/data/lavf/lavf.mxf_opatom_audio CRC=0xd155c6ff tests/data/lavf/lavf.mxf_opatom_audio CRC=0xd155c6ff