I apologize if this is a dupe, I couldn't find a task like this. With 4K video becoming more and more commonplace, 4GB isn't always enough. https://commons.wikimedia.org/wiki/File:Politparade.webm and https://commons.wikimedia.org/wiki/File:Genderwahn.webm are encoded to fit within MediaWiki's limit, which isn't a good sign. And 9 Mbps for 4K.. Well.. Could be worse, but.. not ideal. And they lack 1440p and 2160p transcodes, presumably due to the file size limit.
And that's one hour of video. Better don't make anything longer.. I recently uploaded https://commons.wikimedia.org/wiki/File:How_to_de-package_and_expose_a_GPU_flip_chip_die.webm from YouTube. 10 minutes, 1.07GB. So within 40 minutes this would go over 4GB. And 8K is even worse: https://commons.wikimedia.org/wiki/File:First_8K_Video_from_Space_-_Ultra_HD_VP9.webm (21.75 Mbps) and https://commons.wikimedia.org/wiki/File:Ghost_Towns_in_8K_GoPro_be_Hero.webm. (33.7 Mbps)