Inspect the exported file
Read the container duration and, where needed, the separate audio and video track durations with a media inspector. The edit boundary in your project is not the same evidence as the file the server receives.
Trim at an intentional cut
If the file is slightly too long, remove the extra frames or correct an audio tail in the editor. Re-export the intended video and audio together. Verify duration and review the ending so you do not remove essential content.
Example
The timeline label says 05:00 while the MP4 reports 300.04 seconds. After shortening a silent end tail and re-exporting, the container reports under 300 seconds and the final spoken line remains intact.
Pass condition
The uploaded export satisfies the 300-second maximum and still includes the approved ending, with both facts verified against the file.