refine hls avc/aac codec, move metadata to it.