1AT_BANNER([[Checking mxfwrap]])
2
3AT_SETUP([mxfwrap])
4
5AT_CHECK([mxfwrap -k=64 -a -f -r25/1 ../../small.wav ../../mxfwrap_wav.mxf], 0,
6[[MXFlib File Wrapper
7
8KAGSize     = 64
9
10Input file  = ../../small.wav
11Output file = ../../mxfwrap_wav.mxf
12
13Output OP = OP-Atom
14An updated header will be written after writing the footer
15At least 16384 padding bytes will be left after the initial writing of the header
16Index tables will be written for each frame wrapped essence container
17Index table segments will not share a partition with essence
18
19Selected wrapping for file "../../small.wav" : SMPTE 382M frame wrapping of wave audio
20
21Processing output file "../../mxfwrap_wav.mxf"
22
23Done
24]])
25
26AT_CHECK([mxfdump -c ../../mxfwrap_wav.mxf], 0,
27[[Dump an MXF file using MXFLib
28- using dictionary "dict.xml"
29
30Partition for BodySID 0x0000
31 Top level count = 1
32 Set/Pack count = 20
33 Sub item count = 136
34CBR Index Table Segment (covering whole Essence Container) :
35  Indexing BodySID 0x0001 from IndexSID 0x0081
36
37Partition for BodySID 0x0001
38
39Partition for BodySID 0x0000
40No header metadata in this partition
41CBR Index Table Segment (covering whole Essence Container) :
42  Indexing BodySID 0x0001 from IndexSID 0x0081
43
44Read RIP
45  BodySID 0x0000 and is not loaded
46  BodySID 0x0001 and is not loaded
47  BodySID 0x0000 and is not loaded
48
49Scanned RIP
50  BodySID 0x0000 type ClosedCompleteHeader
51  BodySID 0x0001 type ClosedCompleteBodyPartition
52  BodySID 0x0000 type CompleteFooter
53]])
54
55AT_CLEANUP
56