WebM: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(TF2 WebM testing result: VP8 supported, no audio on Opus. AV1 unsupported.)
mNo edit summary
Line 2: Line 2:
'''WebM''' (''.webm'') is a video file format developed by {{wiki|Google}}. WebM was originally designed to be used on webpages to save bandwidth, but it also has some benefits when it comes to video games and many other applications.
'''WebM''' (''.webm'') is a video file format developed by {{wiki|Google}}. WebM was originally designed to be used on webpages to save bandwidth, but it also has some benefits when it comes to video games and many other applications.


The biggest benefit of WebM over [[BIK|Bink]] (or [[AVI]]) for games is that of file size; a WebM video will be significantly smaller than that of a similar-quality Bink file. For example, the installation size of {{hdtf|4.1}} decreased by 5.7 GB when switching its FMV cutscenes from Bink to WebM{{ref|1}}. Furthermore, WebM is much more common and easier to make than the Bink file format, as Bink requires a tool that only takes AVI, then only to find out there's audio or video sync issues that may sometimes happen.
The biggest benefit of WebM over [[BIK|Bink]] (or [[AVI]]) for games is that of file size; a WebM video will be significantly smaller than that of a similar-quality Bink file. For example, the installation size of {{hdtf|4.1}} decreased by 5.7 GB when switching its FMV cutscenes from Bink to WebM{{cite|1}}. Furthermore, WebM is much more common and easier to make than the Bink file format, as Bink requires a tool that only takes AVI, then only to find out there's audio or video sync issues that may sometimes happen.


WebM is supported in the following games, engines, and engine branches:
WebM is supported in the following games, engines, and engine branches:
Line 35: Line 35:
:<nowiki>*</nowiki>Audio is read, but muted. {{file|<moddir>/sound/ui/valve_sound|wav}} is used instead.  
:<nowiki>*</nowiki>Audio is read, but muted. {{file|<moddir>/sound/ui/valve_sound|wav}} is used instead.  


== References ==
{{References|1=
<ol>
{{Ref2|cite id=1|[https://store.steampowered.com/news/app/723390/view/5409426666000801989?l=english Hunt Down The Freeman - July blog: where we're at + looking for team members! - Steam News]
<li>[https://store.steampowered.com/news/app/723390/view/5409426666000801989?l=english Hunt Down The Freeman - July blog: where we're at + looking for team members! - Steam News]
{{quote|Bink video is replaced with webm (like CSGO and Source 2) and has successfully freed up 5.7GB of space}}}}
{{quote|Bink video is replaced with webm (like CSGO and Source 2) and has successfully freed up 5.7GB of space}}
}}
</ol>
== External links ==
== External links ==
*{{Wiki|WebM|WebM on Wikipedia}}
*{{Wiki|WebM|WebM on Wikipedia}}

Revision as of 20:29, 11 February 2024

English (en)Translate (Translate)

WebM (.webm) is a video file format developed by Wikipedia icon Google. WebM was originally designed to be used on webpages to save bandwidth, but it also has some benefits when it comes to video games and many other applications.

The biggest benefit of WebM over Bink (or AVI) for games is that of file size; a WebM video will be significantly smaller than that of a similar-quality Bink file. For example, the installation size of Hunt Down the Freeman Hunt Down the Freeman decreased by 5.7 GB when switching its FMV cutscenes from Bink to WebM[1]. Furthermore, WebM is much more common and easier to make than the Bink file format, as Bink requires a tool that only takes AVI, then only to find out there's audio or video sync issues that may sometimes happen.

WebM is supported in the following games, engines, and engine branches:

Video codecs Audio codecs
Implementation VP8 VP9 AV1 Vorbis Opus
Source 2 Source 2 ? ? ? ? ?
GoldSrc GoldSrc
(since 25th anniversary update; intro video only)
Yes Yes No Yes* No
Counter-Strike: Global Offensive Counter-Strike: Global Offensive
(since 2018 Panorama update)
? ? ? ? ?
Team Fortress 2 Team Fortress 2
(x64_test branch)
Yes Yes No Yes No
Strata Source Strata Source ? ? ? ? ?
WebM Video Services for Source 2013
(used by Hunt Down the Freeman Hunt Down the Freeman)
Yes Yes No Yes Yes
*Audio is read, but muted. 🖿<moddir>/sound/ui/valve_sound.wav is used instead.

References

References
1. {{missing necessary {{{title}}}!}}.

External links