[Proof of Concept] Playing videos again in 32 bit gmod

This is a proof of concept of playing a video in 32-bit gmod. The video played is Ed Sheeran bad habits. How does it work? The reason 32bit fails to run videos is when audio and video need to be decoded from the same source it fails to decode both. So we use two separate sources to play the video and audio and then sync them. Video is a VP8 Codec within a webm file (VP9 doesn’t work), make sure there is NO audio codec in the file. Audio is a lot less restricted.I have used weba, ogg and oga with a Vorbis codec. But I wouldn’t be surprised if more audio codec works, they haven’t changed a huge amount since gmod has been released. You can even use if you really wanted, for 3d audio. This does introduce challenges with syncing, but a html to lua function should work fine. And the audio desync should be minor at best (1 tick off most likely)
Back to Top