Don't trust the JSON: verify a video API's output with ffprobe and ffmpeg (resolution, fps, audio, drift) before you bill or ship it
The API response said what we asked for: 1080p, 2 seconds, audio on. The file said 1920x1080 at 30 fps, 2.02 seconds, an AAC stereo track averaging -36 dB, and a first-to-last-frame SSIM of 0.30. That











