Blog

How to test browser codec decoding for a web demo

Check which codecs your browser reports as supported, then test a representative clip to catch playback problems before a web developer demo.

Kevin DoyleHardware tests 5 min read

Your demo video plays on your computer, but will it play smoothly in the browser your audience uses? A codec may be supported while a particular profile, resolution, or frame rate still causes playback trouble.

Start with the Browser Info tool to check the codecs your browser reports as supported. Then test a clip that matches the media in your demo. This helps separate a compatibility problem from a performance problem.

Check codec decoding before the demo

  1. Open Browser Info in the browser and on the device you plan to use. Find its codec information and note whether the video and audio codecs in your demo are reported as supported.
  2. Identify the actual codecs in your media file. A container such as MP4 is not itself a codec: an MP4 file might contain H.264 video and AAC audio. Check the export details or encoding settings for the specific file.
  3. Compare the file's video and audio codecs with the Browser Info results. If the tool lists a codec as supported, note that this is a useful compatibility hint, not a guarantee that every profile or file using it will work.
  4. Play a representative clip in the same browser and on the same device. Use the actual resolution and frame rate planned for the demo, and check that both picture and sound start, continue, and stay in sync.
  5. Repeat the playback check in each browser and on each device that matters to your audience. Record the browser, device, video codec, resolution, frame rate, and what you observed.

Use a short clip with the same encoding as your demo, not a different video that merely has the same file extension. For a live demonstration, test the actual page and playback controls too. A codec can be supported while the page, media source, or playback code still has a separate problem.

What the result means

The codec is reported as supported and the clip plays smoothly

The browser can likely handle that file in this setup. It is a good sign for the demo, especially if you tested the same resolution and frame rate. Still check the full presentation flow, including seeking, playback after a page change, and audio output.

The codec is reported as supported, but playback stutters

Support does not prove that decoding is fast enough for every workload. High resolution, a high frame rate, a demanding codec profile, background activity, or limited graphics capability can all affect playback. Try the clip at a lower resolution or frame rate to see whether the symptom changes.

The codec is not reported as supported, or the clip will not play

The browser may not be able to decode the file in its current setup. The file may also use a profile or combination of audio and video codecs that the browser does not handle, even if its container is familiar. For a public demo, prepare an alternate encode using a broadly supported combination and test that exact export.

Video plays but there is no sound

Video and audio are decoded separately. Check the audio codec as well as the video codec, then confirm the browser is sending sound to the intended output. A silent clip does not by itself mean the video codec failed.

The clip works in one browser but not another

Browsers can differ in codec support, media settings, and how they use the device's graphics hardware. Keep a separate result for each browser you plan to support. Do not assume that a successful test in one browser proves the same clip will work in another.

How to fix playback problems

  1. Confirm the file's actual codecs. Check the export settings or file details for both audio and video codecs. Do not rely on the extension alone: two files ending in .mp4 can contain different media streams.
  2. Try a broadly compatible export. If the current file is unsupported or unreliable, export a test copy using a codec supported by the target browsers. H.264 video with AAC audio in an MP4 container is a common web option, but test it in your target setup instead of assuming it will work everywhere.
  3. Lower the playback demands. Test a smaller resolution or lower frame rate. If that improves playback, the problem may be decoding performance rather than basic codec support. Keep the new export visually acceptable for the demo.
  4. Update and restart the browser. In Chrome, open Menu › Help › About Google Chrome. In Edge, open Menu › Help and feedback › About Microsoft Edge. Install an available update, restart the browser, and run the test again. These menu paths are similar on Windows 11 and macOS.
  5. Check hardware acceleration. In Chrome, open Settings › System and check Use graphics acceleration when available. In Edge, open Settings › System and performance and check the equivalent graphics acceleration setting. If you change it, restart the browser and compare playback. The option and its effect can vary by browser and device.
  6. Close competing media and heavy tabs. Pause other video playback, close unused tabs, and retest. If the clip is smooth with fewer tasks running, browser workload may be contributing to the problem.

Why a codec result is not a playback benchmark

A codec support check answers a narrower question than “Will this video run smoothly?” It indicates that the browser reports support for a codec or media format. It does not guarantee hardware decoding, a specific playback speed, or support for every profile, bit depth, and file configuration.

For a reliable demo check, use both pieces of evidence: the codec information in Browser Info and playback of the exact media, in the actual browser and device setup. If your audience may use older hardware or different browsers, provide a tested alternate version of the clip.