save encoding-tree motion metadata to image