[fix] Metadata conversion before onEndTranscodeAppend