Resolve audio-video desynchronization and broken seeking when muxing AC3 with x264 by forcing constant frame rates and aligning sample rates.