- Newest
- Most votes
- Most comments
The stuttering audio issue you're experiencing is likely related to audio-video synchronization problems that MediaConvert is trying to correct. The warning message "MediaConvert added at least 100 milliseconds of audio silence to keep audio and video in sync" indicates that the service is detecting timing discrepancies between your audio and video tracks.
This is a known behavior when MediaConvert encounters misalignment between audio and video tracks in the input file. To maintain proper synchronization, MediaConvert adds silence to the audio track, which can sometimes result in the stuttering effect you're observing.
There are a few potential solutions you could try:
-
Adjust the audioDuration setting: In your MP4 output container settings, you can specify the audioDuration parameter. By default, it uses "Default codec duration," but you could try setting it to "Match video duration." This setting is specifically designed for workflows that are sensitive to small duration differences between video and audio.
-
Check your timecode configuration: There appears to be a discrepancy in your job settings. Your TimecodeConfig source is set to "EMBEDDED" but your input TimecodeSource is set to "ZEROBASED." This inconsistency might be contributing to the sync issues. Try making these settings consistent.
-
Examine your input file: The warning suggests there might be issues with the input file's audio and video track alignment. You might want to analyze the source file to see if there are inherent timing problems that MediaConvert is trying to correct.
If these solutions don't resolve the issue, you may need to preprocess your input file to ensure better audio-video alignment before submitting it to MediaConvert.
Sources
Warning codes - MediaConvert
Presets name - AWS Elemental MediaConvert API Reference
Setting up timecodes - MediaConvert
Sample Job Settings Specifications in JSON - AWS Elemental MediaConvert API Reference
