OpenRA / OpenRAWebsiteV3

The source for the official OpenRA website.
Other
13 stars 16 forks source link

Replace videos in playtest-20221203 news post with optimized versions #33

Closed dragunoff closed 1 year ago

dragunoff commented 1 year ago

The videos were resized to a maximum of 1200px in width (this is double the size at which they are displayed to account for high-res displays).

OGV is removed in favor of WebM - nowadays WebM + MPEG4 should cover 99% of browser/OS combinations. Furthermore it was difficult for me to export OGV with a good enough quality and small enough filesize.

The dowsizing naturally reduced the filesizes of the videos but the biggest gains come from tweaking the codec settings. The resulting files are 4-5 times smaller. The filesize could be reduced even more but artifacts start to become more noticeable. I think it's a good tradeoff between quality and size. Here are the settings I used when exporting with Handbrake:

image WebM

image MPEG4