Skip to content

Can the browser file type tell my app that an uploaded MP4 contains a supported video stream?

Use the file type as an early hint. Before quoting or sending a paid job, inspect the actual media. A container filename or browser-supplied type cannot guarantee the presence of a supported moving video track.

SHIP A RELIABLE INTEGRATIONAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval

Check a bounded media sample

Read parser-reported format, video codec, duration and geometry. Confirm expected audio and exclude attached stills when counting moving tracks.

Make the intake message precise

Separate file picker filtering from server validation so the user knows which property failed. Preserve the approved original.

Example

An MP4-labeled file can be audio-only or contain a cover image, which is different from an actual moving clip.

Pass condition

Only a validated intended source is eligible for an actionable quote.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation