compute essence containers in mxf_write_header, this simplifies the code