An ffmpeg command that produces abr video assets suitable for silent web background video. I'm using shaka-player to stream the resulting files.
I went through several iterations of this, and other variations could work as well. I believe this produces all the assets needed for cross-browser compatibility. Safari needs mp4, and iOS Safari (at least the version my old MacBook can simulate) will only play HLS, even with shaka-player.