When you export H.264 footage, some frames of the footage are duplicated, and the footage has a longer duration than expected.

When you export H.264 footage, some frames of the footage are duplicated, and the footage has a longer duration than expected. Sometimes, the footage shutters as well. 

Solution

Update Adobe Media Encoder to the latest version available.