Fix mp4 encoding to work on Android