Skip to content

canonical/inbrowser-encode-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

inbrowser-encode-test

Testing video encoding in a browser.

This web-page will create a procedural animation that is encoded as video.

LIVE PAGE HERE

Usage

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.

Options

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.

Limitations

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.

Test Results

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

Author

Bram Stolk (bram.stolk@canonical.com)

About

Testing video encoding in a browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages