Libav
metadata.c

Shows how the metadata API can be used in application programs.