Testing video encoding in a browser.
This web-page will create a procedural animation that is encoded as video.
This test was specifically created to check if your browser will use the GPU to help with the encoding, so called Hardware-Accelerated-Encoding.
To perform this test, it is recommended to have a GPU monitor running on your desktop.
You can use e.g.
intel_gpu_top
if you use an Intel GPU.
Run as root $ sudo intel_gpu_top to check the Video usage.
Before encoding, select which encoder you want to use. Note that at the time of writing, not all browsers support all formats, and you may get an error when you encode.
After encoding, you can either download the resulting video, or play it in the video-player at the bottom of the page.
Many things are hard-coded at the moment:
- video resolution set to 1280x720.
- video FPS set to 60Hz.
- video length set to 300 frames.
- video bps set to 5M.
SOFTware encoding, HARDware encoding or FAILed encoding.
| OS | GPU | Browser | VP8 | VP9 | H264 | H265 |
|---|---|---|---|---|---|---|
| Ubuntu 22.10 | ADL-S GT1 | chrome r105-hwa | SOFT | HARD | HARD | FAIL |
| Ubuntu 22.10 | ADL-S GT1 | firefox 105.0.1 | SOFT | FAIL | FAIL | FAIL |
Bram Stolk (bram.stolk@canonical.com)