generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Game Marketing
Home Search
 

Re: VidLib Demo — YouTube Videos in ROBLOX

Previous Thread :: Next Thread 
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
20 Mar 2015 04:27 PM
I've been working on a thing called VidLib which basically allows you to add YouTube videos in ROBLOX games.

I've finally finished a small DEMO with audio. You can view it here:
http://www.roblox.com/VidLib-place?id=228316219

NOTE — Right now the speed and quality are pretty bad, that's because this is a demo and I haven't had a chance to compress or optimize anything yet.



How it works:

VidLib connects to a remote server asking it to download and process the YouTube video specified. The remote server then compresses the video and formats it for VidLib.

Now, buffering begins. The game server floods the remote server asking it for pixel data on each frame from the video. It is limited to 18 frames per second, 40p resolution at this time. It will soon allow up to 240p resolution, and up to 25 frames per second.

While the server is downloading the video, the game client (player) will send buffer requests to the server. The server will send back any frames it has. This allows the client and server to be downloading data at the same time.

When the client finishes buffering, you can play the video. It renders each pixel using the appropriate RGB values. Audio is synced in real-time.



Known problems which will be fixed soon:

1. The audio can become out-of-sync to 1/2 of a second due to lag
2. Last pixel column (very right of player) has partial or broken pixel data.

There is also slight lag which I am working on fixing.
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
20 Mar 2015 05:43 PM
B1.

Also feedback would be appreciated.
Report Abuse
needforrun is not online. needforrun
Joined: 22 Sep 2012
Total Posts: 567
20 Mar 2015 06:09 PM
good job keep it up
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
20 Mar 2015 07:48 PM
Definitely will, it's gonna be a challenge to get high-quality videos implemented but it will happen.
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
20 Mar 2015 09:57 PM
Bump
Report Abuse
Exine is not online. Exine
Joined: 01 Apr 2013
Total Posts: 3783
20 Mar 2015 10:04 PM
Keep up the good work.
You're one hell of a scripter.

Who's Exine?
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
20 Mar 2015 10:53 PM
Thanks, but I think I'm just an average scripter. :P
Most of this is possible because I am best with PHP.
Report Abuse
pundsey is not online. pundsey
Joined: 05 May 2012
Total Posts: 39
20 Mar 2015 11:28 PM
i messed around with the design of the gui :l

ITS THE BEST!
Keep up the good work!
*Gives pat on your back*
Report Abuse
AustinBoBoston1 is not online. AustinBoBoston1
Joined: 12 Nov 2010
Total Posts: 22844
20 Mar 2015 11:29 PM
Great work! Excited to see improvements :)
Report Abuse
pundsey is not online. pundsey
Joined: 05 May 2012
Total Posts: 39
20 Mar 2015 11:38 PM
Seriously though, this is the coolest thing ive ever seen since prop hunt was remade!
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
21 Mar 2015 02:00 PM
Thanks! :)
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
21 Mar 2015 09:44 PM
Bump
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
22 Mar 2015 12:17 AM
Bump [2]
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
22 Mar 2015 12:23 AM
I see that the audio uses roblox audio, is it possible to pull the audio from the video itself?
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
22 Mar 2015 12:25 AM
Sadly, no.
Fortunately it's very easy to convert a YouTube video into an MP3 audio file.
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
22 Mar 2015 12:28 AM
That would cost a lot to upload say 7 audio files for 14 minutes, I really enjoy this, and think that it is cool you are using httpservice, but I don't see the point, unless your parent's dont allow you on youtube, just roblox or something like that, I hope this doesn't make you want to end your progress, but keep up your great work, I can't wait till HD, and faster download speeds.
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
22 Mar 2015 12:32 AM
One example is putting a full-screen intro in the beginning of a game.
This same technology can soon allow .GIF images to be added in-game, too.
Report Abuse
llcoolj03 is not online. llcoolj03
Joined: 20 Nov 2011
Total Posts: 6135
22 Mar 2015 04:04 AM
This is awesome...

I love it, I can't believe somebody made this. Also you should try improving the quality a lot More.
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
22 Mar 2015 03:12 PM
Thanks, I will be improving quality a lot.
Report Abuse
Winception is not online. Winception
Joined: 26 Feb 2010
Total Posts: 550
22 Mar 2015 03:37 PM
Wow, nice!

I'd recommend utilizing a buffering sorta thing, so it can start playing before it's completely downloaded.

~Win
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
22 Mar 2015 03:38 PM
Thanks Winception.
Yes, I do intend to do that, but first I need to improve download speed. :)
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
24 Mar 2015 09:16 AM
Bump
Report Abuse
Dragon539195 is not online. Dragon539195
Joined: 28 May 2014
Total Posts: 803
24 Mar 2015 09:57 AM
This is epic. This should be on the blog :3
Report Abuse
Megadragon2469 is not online. Megadragon2469
Joined: 23 May 2009
Total Posts: 14655
24 Mar 2015 02:13 PM
This...is amazing..wow
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
27 Mar 2015 08:41 PM
thanks
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Marketing
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image