I'm curious how the audio is muxed back in, if the framerate on the video has changed. Wouldn't that influence the mux if the audio is mismatched? This is especially evident in editing long videos where the audio gradually moves out of sync. But not sure how it would apply here, or what kind of "glitches" OP is referring to--pops, clicks, distortion?