Various MP4 lib optimizations.