Media compression library