add media info retriever to encoder