Took a couple days off with a friend and we made something cool just for fun. It won’t be used in a public game or anything.
By uploading movies to an external database, we created a GUI frame based video player that has audio and syncs between clients. The resolution is poor but it was still pretty fun to make. Could double it without destroying performance but at the cost of more data to stream.
Simple break down of how it works is I made a Java bot to take an mp4, scale it down to 90p, break it down into its constituent frames, then upload those frames in packets of 300 to an external database as bitmaps.
The server then fetches those packets from the database, and streams frames over time to the client.
The client then parses those bitmaps to get the pixel info , and for every pixel on the canvas it sets the color to the corresponding color. At 90p most devices can run it at 50 FPS, which is way higher than we need for smooth playback(most movies are 24)
Theres also some room lighting that colors based on the average color of the pixels on that frame.
The server and client both dump old frames from memory, so doing this with a stable connection means groups of people are able to sit through entire movies together with no issues!
Again , I probably won’t use this in a public game for obvious reasons but it was still cool seeing that it was possible
Nice, if it rally streams an entire movie, then you could make players pay with robux a ticket to see films, like minimun 25 rs x film, calculate the price based on which film you broadcast, for example: a film like transformers will cost more than a lesser known film, call the game like " The Robloxian Cinema" or something like that
That’s something incredible, it’s a good idea for a weekend in your cinema in your luxurious Roblox mansion, popcorn, a velvety armchair and a big movie screen.