u/JP-05

Spent nearly a week making a "TV" system in Roblox that lets me cast images, or play Youtube videos, local files, etc. Pretty much any website works, still some small issues ill work out. I've seen extremely few of these on Roblox, let alone with the quality and framerate+resolution I have with mines, since it has no audio, and audio isn't really possible, tried syncing it the best I could with the video, although desync over time is inevitable with audio. I've maxed out the FPS to 24, although I've done 30 fps, and works pretty much the same.

Getting it to where it is now took many hours and sleepless nights throughout the week, and many code rewrites, very fun project, Don't really plan on using it in games (probably) since I know Roblox can be a bit, ehh, with stuff like this.

I think the biggest use ill have for this is recording video frames to strings or smth in game to essentially save a video for playback without running the external code, next to live streaming my screen, since I've streamed studio to players in my group as I'm working on a game.

One of my most complex projects yet!

General performance ratings?

varies quite a bit, for me personally, when it starts, ill usually drop from 240 frames to around 150, and then continues to fluctuate between 150 to 200, sometimes drops a lil lower, but I have yet to do any optimizations to the code or scripts, so performance should probably improve, general network latency stays really consistent around general averages of 50 to 80 ms, which is absolutely great, looking at performance stats, my CPU stays pretty consistent, although can also fluctuate quite a bit as-well, usually staying under the target line though. I've done a hell of a lot of compression of the data to keep the received network low (Ill shorten received network to RN), averages I've noticed, for bad apple specifically, it likes to sit around an RN of 200 KB, but those are simple color tones, switching to a much more complex video, your average RN will skyrocket to around 2300 - 3000 KB, although I have yet to actually see it go over 4k, before my optimizations, the average KB sat around 6k to 9k on every video, so these are major improvements.

Lower end devices might struggle to render it compared to other devices + it'll heavily depend on what's playing as-well, running into Roblox rate limits are non existent either, this doesn't use websockets, or a local host, or anything like this, the PY code is connected to a domain I bought specifically for this, which it sends all the data too, then Roblox reaches out to it all using HTTP services, so what you see on the video is what you'd see in-game.

u/JP-05 — 23 days ago

https://reddit.com/link/1szodiq/video/u3y87kk6u9yg1/player

Spent nearly a week making a "TV" system in Roblox that lets me cast images, or play Youtube videos, local files, etc. Pretty much any website works, still some small issues ill work out. I've seen extremely few of these on Roblox, let alone with the quality and framerate+resolution I have with mines, since it has no audio, and audio isn't really possible, tried syncing it the best I could with the video, although desync over time is inevitable with audio. I've maxed out the FPS to 24, although I've done 30 fps, and works pretty much the same.

Getting it to where it is now took many hours and sleepless nights throughout the week, and many code rewrites, very fun project, Don't really plan on using it in games (probably) since I know Roblox can be a bit, ehh, with stuff like this.

I think the biggest use ill have for this is recording video frames to strings or smth in game to essentially save a video for playback without running the external code, next to live streaming my screen, since I've streamed studio to players in my group as I'm working on a game.

One of my most complex projects yet!

General performance ratings?

varies quite a bit, for me personally, when it starts, ill usually drop from 240 frames to around 150, and then continues to fluctuate between 150 to 200, sometimes drops a lil lower, but I have yet to do any optimizations to the code or scripts, so performance should probably improve, general network latency stays really consistent around general averages of 50 to 80 ms, which is absolutely great, looking at performance stats, my CPU stays pretty consistent, although can also fluctuate quite a bit as-well, usually staying under the target line though. I've done a hell of a lot of compression of the data to keep the received network low (Ill shorten received network to RN), averages I've noticed, for bad apple specifically, it likes to sit around an RN of 200 KB, but those are simple color tones, switching to a much more complex video, your average RN will skyrocket to around 2300 - 3000 KB, although I have yet to actually see it go over 4k, before my optimizations, the average KB sat around 6k to 9k on every video, so these are major improvements.

Lower end devices might struggle to render it compared to other devices + it'll heavily depend on what's playing as-well, running into Roblox rate limits are non existent either, this doesn't use websockets, or a local host, or anything like this, the PY code is connected to a domain I bought specifically for this, which it sends all the data too, then Roblox reaches out to it all using HTTP services, so what you see on the video is what you'd see in-game.

Edit - Minor fixes in grammar

reddit.com
u/JP-05 — 23 days ago