split video & audio into separate file with minor cleanup