AudioVideo: add metadata support
issue #296