MIME Type and Codec Fingerprinting
Media format support varies by platform and configuration. BotBrowser normalizes codec responses to protect platform identity.
Prerequisites
- BotBrowser installed. See Installation Guide.
- A profile file (
.encfor production).
Quick Start
chromium-browser \
--bot-profile="path/to/profile.enc"Overview
Every browser reports which media formats it can play. The combination of supported MIME types and codecs varies by operating system, installed libraries, hardware decoders, and browser build configuration. BotBrowser normalizes these responses at the browser engine level so that reported media capabilities match the loaded profile’s platform identity.
How BotBrowser Normalizes Codec Responses
BotBrowser controls MIME type and codec responses at the browser engine level to ensure they match the target profile’s platform identity.
Profile-backed media capability checks preserve codec spelling and support ordering across browser contexts. Use the profile policy when validating WebCodecs or HEVC capability behavior.
When profile entries differ only by optional parameters, the entry that contains measured mediaCapabilities data is retained. A parameter-only duplicate does not replace a measured capability result.
Configuration
The default configuration uses expand mode, which prioritizes local decoders while extending the list with profile-defined types. This can be configured via the --bot-media-types flag:
# expand (default): profile types + local decoders
chromium-browser \
--bot-profile="path/to/profile.enc" \
--bot-media-types=expand
# profile: use only profile-defined media types
chromium-browser \
--bot-profile="path/to/profile.enc" \
--bot-media-types=profile
# real: use actual system media types
chromium-browser \
--bot-profile="path/to/profile.enc" \
--bot-media-types=realSupported media type and codec queries use the active profile’s capability policy. The same BrowserContext applies that policy across the main page, Workers, Service Workers, and iframes on supported paths.
For video-heavy workloads, media capability reporting and actual video playback cadence can be controlled separately with --bot-video-fps. See FPS Control.
Troubleshooting / FAQ
| Problem | Solution |
|---|---|
| Observed value does not match the profile expectation | Verify profile path, active overrides, and any framework-injected settings. |
| Same setup behaves differently on another machine | Compare BotBrowser build, profile version, host OS target, and full launch args. |
| Test results fluctuate between runs | Keep proxy, locale/timezone, and runtime load stable during comparison tests. |
Next Steps
- CLI Flags Reference. Complete list of all available flags.
- FPS Control. Video playback cadence control for media-heavy sessions.
- DRM Fingerprinting. How DRM capabilities interact with codec reporting.
Legal Disclaimer & Terms of Use • Responsible Use Guidelines. BotBrowser is for authorized fingerprint protection and privacy research only.
Related BotBrowser blog: MIME and Codec Fingerprinting: Media Support Signals