Short answer: Converting an HTML5 banner to MP4 is for people, not ad servers. No display platform we checked asks for an MP4 of a banner. Make one for client approvals, presentation decks and as raw material for social. Render it at 2x the banner size, at 60 fps, as H.264 MP4, and include the full run with every loop.

This guide is for agency project managers and producers who need a video version of a banner. It covers where an MP4 helps and where it doesn’t. It also covers the three ways to make one and the settings that keep the video true to the live ad. If you need every non-HTML5 file at once (backups, GIFs and MP4s), start with our HTML5 banner converter guide.

Does any ad platform require an MP4 of a banner?

No. Display specs ask for the HTML5 ZIP, plus a static or GIF file in some places. We could not find an MP4 requirement for banners in any of them.

Illustration of a project manager reviewing an HTML5 banner converted to MP4 for client approval

Here is where a banner MP4 fits, and what each destination takes instead.

DestinationMP4 of the bannerWhat it actually takes
Google CM360 / DV360 displayNot usedHTML5 ZIP, plus an optional JPG or PNG backup uploaded separately
Google Ads displayNot usedHTML5 ZIP up to 600 KB for eligible accounts, or image and GIF ads up to 150 KB
The Trade Desk hosted HTML5Not usedHTML5 plus a required static backup image
Amazon DSPNot usedHTML with a built-in static fallback, 40–50 KB
Email newslettersNot acceptedPNG, JPG or GIF only (LiveIntent)
Client approvalOften requestedAn MP4 anyone can open without unzipping files
Decks and presentationsBest formatMP4, H.264 (PowerPoint’s recommended format)
Social reuseStarting pointVideo in each network’s own aspect ratios and lengths

The backup rules for each platform are in our HTML5 backup image guide. For newsletter slots, see email banner sizes and GIF rules.

Key takeaways
  • An MP4 is a review and reuse file. It never replaces the HTML5 ZIP or the backup.
  • Render at 2x the banner size so it stays sharp in decks and on phones.
  • Capture at 60 fps, the most common screen refresh rate.
  • Export H.264 in an MP4 container with the yuv420p pixel format, so it plays everywhere.
  • Show the full run with every loop, so the client approves the real timing.
Stop screenshotting banners by hand. One ZIP in. Every deliverable out. Try the free banner tool. No sign-up. JPGGIFMP4 Try it free

Where a banner video earns its place

An MP4 solves a people problem. Most reviewers won’t unzip a folder, open an HTML file and reload it to watch the animation again.

  • Client approvals. A video plays in any email, chat app or phone. Reviewers can pause on a frame and give feedback against a timestamp.
  • A record of what was approved. The video freezes one version. If the timing is questioned later, you have the file the client signed off.
  • Decks and case studies. Microsoft recommends .mp4 files with H.264 video for PowerPoint. A live HTML5 banner can’t be embedded in a slide.
  • Social reuse. Brand teams often want to repurpose a display campaign. A 300×250 video is raw material here, not a finished social ad. Each network has its own aspect ratios and lengths.

An MP4 is how a banner gets seen before launch. It is never what gets trafficked.

Three ways to convert HTML5 animation to MP4

There are three practical routes. They differ in accuracy and in how many sizes they handle at once.

Screen recording

Free and quick for one size. But you capture whatever the screen shows, including the preloader, cursor and dropped frames. Browsers also pause requestAnimationFrame in background tabs, so switching windows mid-recording can stall the animation. The same problems hurt GIFs, as we explain in HTML5 banner to GIF.

Google Web Designer video export

GWD exports video documents as MP4 with H.264 encoding. You need the GWD source file, and you convert the HTML document to a video ad first. It publishes one video document at a time and doesn’t run on Linux. The GIF version of this route is covered in Google Web Designer export GIF.

Render from the published ZIP

A renderer plays the finished ad in a browser and saves frames on a fixed clock, so no frames drop. It works on any HTML5 banner, whatever tool built it. It is the only route here that scales to a whole campaign.

Render settings that keep the video true to the banner

Most bad banner videos come from default settings. These are the settings our studio uses for approval MP4s, with the reason for each.

Illustration of a designer comparing 1x and 2x render quality when converting HTML5 animation to MP4
SettingWhat we useWhy
Pixel size2x the banner (600×500 for a 300×250)A 1x video looks soft on retina laptops, projectors and phones
Frame rate60 fps, or 30 fps when file size mattersBrowser animation runs at the display refresh rate. The most common rate is 60 Hz.
Container and codecMP4, H.264The widely compatible choice MDN recommends for the web, and PowerPoint’s recommended format
Pixel formatyuv420pRecommended for web playback and for QuickTime on Apple devices
LengthThe full run with every loop, plus a short hold on the end frameThe client approves the real timing and sees where the ad stops
Start pointThe first frame after loadNo preloader, spinner or blank frame at the start
AudioNo track, unless the banner has sound (then AAC)Most banners are silent. H.264 with AAC is the pairing PowerPoint recommends.

Don’t trim the loops. A video that shows one loop hides the real length of the ad. Google Ads, for example, requires image and GIF animation to stop by 30 seconds. Approve the duration that will actually run.

Trafficking tomorrow? Backup images that show the finished ad. Packaged for every platform. Free. JPGGIFMP4 Try it free

Fine print and brand color: what to check in the video

Video compression is built for pictures, not for 7-pixel legal lines. Small colored text and thin rules usually soften first. A brand color can also look slightly different in a video player than in the browser.

Studio tip

Before sending an approval video, our designers pause it on the frame with the most fine print. They compare that frame at 100% against the live HTML5 banner. If the legal line has blurred, raise the bitrate or the pixel size, not the frame rate.

Always check the video in the player the client will use. A file that looks right in a browser may still need a look in QuickTime or PowerPoint.

How to convert an HTML5 banner to MP4, step by step

This is the order we follow in production. It works for one size or for a 40-size campaign.

Illustration of every size of an HTML5 banner campaign being converted to video files at once

Start from the final ZIP

Render from the build that will be trafficked, not a draft. The video must match what will run.

Check the banner first

Play it through in a browser and fix any broken frames before you render. Our guide to previewing HTML5 banners covers what to test.

Set size and frame rate

Render at 2x and 60 fps. Drop to 30 fps only if the files are too big to share.

Capture the full run

Start at the first frame after load. Run to the end frame of the last loop, then hold it briefly.

Name it like the ZIP

Brand_Spring_300x250.zip becomes Brand_Spring_300x250.mp4. Reviewers then know which file their notes refer to.

Package for review

Group the videos by size or by version. Send a link when the set is large.

Rendering size by size gets slow on a big campaign. The free tool in the banner on this page takes the HTML5 ZIP and outputs MP4s alongside backup images and GIFs, for every size in one go. The same whole-campaign approach for GIFs is covered in batch convert HTML5 banners to GIF.

Before you send it: the approval video checklist

  • The video starts on the first frame after load, with no preloader.
  • Every loop plays, and the video ends on the final message frame.
  • The legal line and dates are readable at 100%.
  • The brand color matches the live HTML5 banner in the client’s player.
  • The file name matches the HTML5 ZIP it shows.
  • The whole set fits the way you’ll send it. Personal Gmail caps attachments at 25 MB and turns anything larger into a Drive link. PowerPoint for the web accepts videos up to 256 MB.
  • The trafficking package still contains the HTML5 ZIP and the backups. The MP4 is extra.

For the rest of the handoff, use our HTML5 banner delivery checklist. If you’d rather an HTML5 banner production company handled the builds and every deliverable, that is the work we do every day.

Frequently asked questions

Can I upload an MP4 instead of the HTML5 banner?

Not as a display banner. The display specs we checked take an HTML5 ZIP or a static or GIF image. An MP4 would have to run as a video ad, which is a different buy with its own specs.

Can I put a banner MP4 in an email?

No. Email doesn’t support JavaScript or video ads in newsletter slots. LiveIntent, for example, accepts only PNG, JPG or GIF. Use an animated GIF instead.

What resolution should a banner MP4 be?

Twice the banner’s pixel size. A 300×250 banner becomes a 600×500 video, which stays sharp on retina screens and projectors.

Why does my banner video look choppy?

Usually because it was screen-recorded and frames dropped, or it was saved at a low frame rate. Render on a fixed clock at 60 fps.

Should the approval video loop?

Show every loop once, in order, then hold the end frame. Don’t set the file itself to repeat forever, or reviewers won’t see where the ad stops.

Sources

Looking for a banner production company?

Digitaland has produced HTML5 banners for agencies and brands since 2011. See how we work, or send us the brief and we take it from there.

Contact us