Subtitles Out of Sync after Transcoding

Looking at this problem a bit deeper, I’ve noticed that the runtime of the files are different. The transcoded MP4s are anywhere from two to seven seconds shorter than the original MKVs and the truncation is happening at the start of the conversion.

When I manually transcode the files in Xmedia-Recode, the durations are the same and the subs are in sync.