Is your feature request related to a problem? Please describe.
Currently, proper videos ("movies") in Source 2013 can only be played with the playvideo command (which can crash) and animated VTFs. Many users have desired the ability to play videos in Source, and entities like logic_playmovie or vgui_movie_display exist in later games for this purpose.
Describe the solution you'd like
Decoding new video formats and displaying them on textures in Source 2013 is proven possible by the AVI Materials article on the VDC. However, that article involves using the Video for Windows library, which wouldn't be compatible with non-Windows platforms.
Mapbase should ideally use a decoder which can be supported on multiple platforms and has licensing compatible with distributable closed-source projects which use Mapbase.
Using libvpx for VP8/VP9-encoded videos (e.g. .webm files) seems promising due to its usage in Half-Life: Alyx and Portal 2: Community Edition.
Is your feature request related to a problem? Please describe.
Currently, proper videos ("movies") in Source 2013 can only be played with the
playvideo
command (which can crash) and animated VTFs. Many users have desired the ability to play videos in Source, and entities likelogic_playmovie
orvgui_movie_display
exist in later games for this purpose.Describe the solution you'd like
Decoding new video formats and displaying them on textures in Source 2013 is proven possible by the AVI Materials article on the VDC. However, that article involves using the Video for Windows library, which wouldn't be compatible with non-Windows platforms.
Mapbase should ideally use a decoder which can be supported on multiple platforms and has licensing compatible with distributable closed-source projects which use Mapbase.
Using
libvpx
forVP8
/VP9
-encoded videos (e.g..webm
files) seems promising due to its usage in Half-Life: Alyx and Portal 2: Community Edition.