Toolvito

Works on this device

Video Ad Duration Checker

Type the length of each video ad, or choose an MP4 or MOV file on your device, and type the shortest and longest length that each placement takes. The tool shows which video fits which placement, and by how many seconds a video is too long or too short.

Enter your values

Type the length of each video and the limits of each placement. The table shows which video fits where.

Your values
Videos

Placements and their limits

The limits the page starts with are examples, not the rules of any platform. Type the shortest and the longest length from the current ad specifications of each platform. Leave one of them empty for no limit on that side.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Check.

How to use the video ad duration checker

  1. Under Placements and their limits, type each placement with its shortest and longest length in seconds, taken from the current ad specifications of the platform. Leave one side empty for no limit there.
  2. Type each video with its length, such as 15, 15.5, 0:15 or 1:02.5.
  3. Choose Check. The table shows Fits, Too long by … or Too short by … for each video and placement.
  4. To read the length from a file, choose Length read from a video file and pick an MP4 or MOV file of any size. Only its first 32 MB and its last 32 MB are read, in this browser; the file is not uploaded.

How the length is checked

  • A video fits a placement when its length is at least the shortest length and at most the longest length. A video of exactly 6 seconds fits a limit of 6 seconds.
  • Minutes and seconds are turned into seconds: 1:05 is 65 seconds, and 1:02:03 is 1 hour, 2 minutes and 3 seconds.
  • From a file, the length is the duration that its header states, in the box mvhd: duration ÷ time scale (ISO base media file format, ISO/IEC 14496-12). For a fragmented file the box mehd is used. Nothing else of the video is used.
  • The header (the box moov) is at the start of most files made for the web and at the end of many files from cameras and editors. The tool reads the first 32 MB and the last 32 MB of the file, which holds the header in both cases, and follows the boxes from the start of the file to it. A file of up to 64 MB is read whole.

Worked example

Placements (examples only): a short one up to 6 s, a standard one up to 15 s, and a long one from 5 s to 60 s. Videos: a teaser of 6 s, a main cut of 0:15.5 and a long cut of 1:05.

The teaser fits all three. The main cut is too long by 9.5 s and by 0.5 s for the first two and fits the long placement. The long cut of 65 s is too long for all three: by 59 s, 50 s and 5 s. So 4 of the 9 pairs fit.

Limits you should know

  • The limits that the page starts with are examples, not the rules of any platform. Ad platforms set and change their own lengths, so check their current specifications.
  • Only MP4 and MOV files (the ISO base media file format) are read. For a WebM file, type the length. In a file larger than 64 MB, a header that lies in the middle of the file is not reached (the tool says so); type the length then.
  • The length in the header can differ a little from what a player shows, for example when the file has an edit list. Frames are not counted.
  • This tool checks the length only, not the size, the aspect ratio or the file size. For file names of ad assets, use the Ad Asset Naming Generator.

Related tools