Media batch processing framework