mapbase-source / source-sdk-2013

This is Mapbase's public GitHub repo. It contains all of the code, but not the assets.
https://www.moddb.com/mods/mapbase
Other
227 stars 139 forks source link

[MISC] Expanded video playback support #102

Open Blixibon opened 3 years ago

Blixibon commented 3 years ago

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.

breakdowngamesYT commented 1 year ago

do it