use new metadata API in r3d demuxer