convert ffmpeg to new metadata API