Chrome Flags Reference

Chrome command line switches and startup flags for automation, headless mode, and debugging.

--hardware-video-decode-framerate

What does --hardware-video-decode-framerate do?

Some (Qualcomm only at the moment) V4L2 video decoders require setting the framerate so that the hardware decoder can scale the clocks efficiently. This provides a mechanism during testing to lock the decoder framerate to a specific value.

Usage

CLILaunch Chrome with --hardware-video-decode-framerate using CLI

chrome --hardware-video-decode-framerate

PuppeteerLaunch Chrome with --hardware-video-decode-framerate using Puppeteer

const browser = await puppeteer.launch({
  args: ['--hardware-video-decode-framerate']
});

PlaywrightLaunch Chrome with --hardware-video-decode-framerate using Playwright

const browser = await chromium.launch({
  args: ['--hardware-video-decode-framerate']
});

SeleniumLaunch Chrome with --hardware-video-decode-framerate using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--hardware-video-decode-framerate')

driver = webdriver.Chrome(options=options)

Build Conditions

ENABLE_PASSTHROUGH_AUDIO_CODECSCHROMEOSFUCHSIALINUX || IS_CHROMEOS || BUILDFLAG(IS_FREEBSD) || \WINUSE_CRASUSE_V4L2_CODEC