libavformat: Add an example how to use the metadata API