Welcome Guest! To enable all features please try to register or login.

Poll Question : Was this tutorial helpful and easy to follow?
Choice Votes Statistics
  Yes
14
70 %
  No
0
0 %
  Kind of...
2
10 %
  This is awesome and I'm ready to create!
2
10 %
  Im sorry... this is beyond my abilities.
2
10 %
Total 20 100%
Guests can't vote. Try and register.

TUTORIAL: How to make moving transparent video objects and host them for free
Magic_Bean
#1 Posted : Thursday, January 07, 2021 11:29:05 AM(UTC)


Rank: Novice Forum Member

Joined: 6/24/2013(UTC)
Posts: 20
Medals:
This is a tutorial on how to make your transparent videos usable In-World and how to host them for FREE.



To begin, a little explanation.

--There are 2 types of video files that will allow transparency ( .MOV and .Webm ) and only One of them is compatible with RLC. ( .Webm )


--This tutorial is intended for creating short looping objects in world and NOT for streaming videos with sound. Although you CAN use this process to stream a video, it will NOT have sound, it will loop and autoplay, and wont have controls. The code and steps for that are similar to this process but there are extra steps I will not be going over in this tutorial. If you know what you are doing, you can edit the code accordingly. Audio must be in .ogg format.


--Using this process to put transparent GIFs in-world is also possible, but it requires steps I will be touching on but not going in depth with in this tutorial as it requires software that everyone may not have access to, and is not free. (Adobe Photoshop/After Effects)



Things you will need:


  • A valid Google/Gmail account
    Free with every Google account, you get 15GB of FREE storage on Google Drive. No need to even sign up, Just goto https://drive.google.com/ and sign in with your google account and your ready to go.

  • A Video that is either in .Webm format OR a video you would like to convert to Webm. OR a gif you would like to convert to the .Webm format and use.

  • If your Video file is not in .Webm format, you will need a converter.
    There are many many Online converters you dont need to download and can use in your browser, such as:
    Cloud Convert (support many formats also limited to 10 conversions a day per IP)
    and
    Convertio

  • You can also download a converter, and I HIGHLY recommend Miro Video Converter it's FREE, Fast, and very powerful. It's also a GREAT tool to use to shave down file sizes.
    HOWEVER
    Neither MIRO or Online converters will retain transparency during conversion. So if you have/want/need transparency in your video, you will need Shutter Encoder, another FREE, powerful converter that has the ability to retain alpha channels in your video during conversion.

    These converters are both Free Donationware, a donation is not required to download or use but if you find them helpful, I'm sure the developers would appreciate it.

  • Lastly, You will need a "Transparent Webm Hosting Kit" File which you can download HERE.
    This file consist of HTML and other code found on these forums posted by wonderful creators and community members. This tutorial would not be possible without them.
*You may require an unpacking tool such as WinRar or 7-zip if you already don't have one.


PART ONE: TRANSPARENT VIDEO FILES, WHAT?!?!?.

As I mentioned above, there are two types of video formats that support transparency. What this means is that they include what is called an "alpha channel" which is information in the video file that tells which parts of the video should be "see through". Regular video files do not contain this information.

So where do you get theses "transparent video files"? ( .mov and .webm )

They can either be created in editing software like Adobe After Effects, or Photoshop... things like that. You can also find them on the internet.
Making these files basically consist of taking a video, erasing what you want to be "see through", and exporting it as a .mov to retain that transparency. then converting it to a Webm for use In-World.

I will not be going over how to use any other converter I mentioned above except for Shutter Encoder because they are all pretty straight forward, but this one has an extra step to make sure it stays transparent. None of the other converters I have mentioned except Shutter Encoder will retain the transparency in your file during conversion.


If you have a .MOV file with transparency, Open up Shutter Encoder and Goto PART TWO.

If you have or want to use a GIf with transparency:

You will have to import it into Adobe After Effects and Render it as a Quicktime .MOV

OR

You can load the GIF into Adobe Photoshop (CS6 or higher) and once loaded goto File> Export> Render Video. In the video render setting window, make sure to select "Quicktime" in the format selection and also make sure in the Alpha setting, "Straight, Unmatted" is selected, and render the video. After this, Open up Shutter Encoder and Goto Part 2.

If you have a video file you want to host in world that does not require transparency, all you need todo is use one of the free converters I mentioned above, convert the video to a .webm, and Goto PART THREE.


PART TWO: SHUTTER ENCODER

Once you have Shutter Encoder opened, Click the "Browse" Button and select your .Mov video file.


Next, Change the Format in the "Choose Function" box to "VP9" under "Output Codec" in the drop down menu.



Make sure the Ext. ".webm" is selected


To the Right, you can change some settings of your output file if you wish. this is entirely up to you and optional. After that, select the "Advance Features" drop down.


Make sure "Enable alpha channel" is selected.


Now Click the "Start Function" button and the conversion will begin. How long it takes will depend on filesize and PC performance. Once it is done, a tone will sound. The file will be in the same location your original video file is in.


You now have a .webm with transparency and can Goto PART THREE.


PART THREE: HOSTING YOUR FILE ON GOOGLE DRIVE


Goto your Google Drive account, create a new folder, and give it a name that describes the video you would like to host.




Once created, Right-click the new folder, and choose "Share"


Click on "Change this link" so that this folders contents can be visible by others in world.


Don't share this link, and this is NOT the link to use in world. Just click "Done"


Navigate to the "Transparent Webm Hosting Kit" I included in this tutorial. You may need to Unpack/Un-zip it first.


Make a copy of the whole folder and rename it to something similar or the same as your new Google Drive folder.


Go inside the folder, and then inside the "video" folder.


Paste your video inside this folder, and Copy the name of the video file EXACTLY.
Example:


Now go back into the previous folder directory, and right-click on the "BLANK INDEX" file. Choose "Open with" and select "Notepad"



In "Notepad",Scroll down to the bottom of the text, and there will be TWO lines of text that need to be changed.
Highlight and paste the video file name you copied to BOTH lines of text.



Now choose "File" then "Save As"


**IMPORTANT***
Name the file similar to your new Google Drive Folder and YOU MUST type ".html" at the end of your chosen filename. Then hit Save.



If everything was Saved correctly you will have 2 HTML files. If so, you may delete "BLANK INDEX" from this folder, it is no longer needed.


Double-Click your new Google Drive folder to go in it.


Now highlight ALL 4 items ( css, js, video, and new index you made) from your windows explorer, and drag them into your new Google Drive folder.


The files will now be uploaded to your Google Drive, speeds depending on filesize and internet connection.

While they upload, navigate to https://drv.tw/ (DriveToWeb) in a new browser tab.
This will bring you to DriveToWeb, an application that will allow your HTML code to be read, interpreted, and hosted on google drive for free while in world.
You will be asked to sign into your Google Drive account, and give permission for the files to be used.
MAKE SURE YOU SIGN INTO THE SAME GOOGLE ACCOUNT YOU PUT YOUR FILES ON.



That's it! If these steps were followed, your video is now hosted and live! Your links will be visible In world.
Return to https://drv.tw/ (DriveToWeb) and sign into Google to access your links. Please ignore the error in the screenshot, it is only 15GB you get FREE from Google Drive.



Simply Take these Links and place them into a Chromium script on a prop in world. Make sure to turn off "Interactive" and "Camera Lock"


THINGS TO NOTE:

If you choose to change the video, you can either delete the google drive folder made in this process, or change the video file, but you must ALSO REMEMBER to change the Filename to match in the BLANK INDEX portion. Because it takes time for the video to update on the server anyways, it easier to just repeat this process from scratch.

Enjoy! Have Fun! Create!
Make a New 3D Sign Perhaps?


Make some new friends?


Hell, Burn Down your bar if you want!


Whatever you wanna do, now you can! Dancing


If this tutorial helped you create something I would love to see it! Possibilities using this are almost endless!! Wub

KiNk InK! Express Yourself!


File Attachment(s):
Transparent Webm Hosting Kit.zip (4kb) downloaded 8 time(s).

You cannot view/download attachments. Try and register.
Check Out My FREE GENERATORS for a custom profile!

Kink Ink-Tattoos and Body Jewelry

I do custom work!

ASK ME HERE!
18 users thanked Magic_Bean for this useful post.
Nefarious_Needs on 1/7/2021(UTC), Red_Queen on 1/7/2021(UTC), A_Seddy on 1/7/2021(UTC), Sandra_SD_SoF on 1/7/2021(UTC), Lindaatje on 1/8/2021(UTC), Cala_ULIKHYI on 1/9/2021(UTC), LazTopCat on 1/10/2021(UTC), Anhton_Novo on 1/10/2021(UTC), The_Black_Rieder on 1/10/2021(UTC), LaurenCougar_HOF on 1/10/2021(UTC), Never_Lost on 1/10/2021(UTC), MAJI_DHS on 1/10/2021(UTC), Sunrider56 on 1/10/2021(UTC), Precious_L on 1/11/2021(UTC), Goddess_Roxie_KB on 1/13/2021(UTC), Cassey on 1/13/2021(UTC), GinaZ on 2/13/2021(UTC), MrStevenNorth on 2/26/2021(UTC)
LazTopCat
#2 Posted : Sunday, January 10, 2021 7:41:08 AM(UTC)


Rank: Veteran Forum Member

Joined: 4/15/2009(UTC)
Posts: 4,161
Location: Kansas City
Great tut!!! Applause You should add it to the Wiki site.
PS. I didn't take the poll... there's no pie option. Unsure

5 users thanked LazTopCat for this useful post.
Magic_Bean on 1/10/2021(UTC), A_Seddy on 1/10/2021(UTC), Anhton_Novo on 1/10/2021(UTC), Never_Lost on 1/10/2021(UTC), Sandra_SD_SoF on 1/11/2021(UTC)
The_Black_Rieder
#3 Posted : Sunday, January 10, 2021 10:00:25 AM(UTC)


Rank: Veteran Forum Member

Joined: 9/26/2008(UTC)
Posts: 7,421
Medals:
LazTopCat;1664529 wrote:
Great tut!!! Applause You should add it to the Wiki sight.
PS. I didn't take the poll... there's no pie option. Unsure


Just have your cake n eat it! Wink Grin Wink
NOTE: My nick and image are from a company. That company allows people to use them both as long as they get permission and a licence. I have that and a certificate to prove it.

"These are not the Druids you are looking for..."
4 users thanked The_Black_Rieder for this useful post.
A_Seddy on 1/10/2021(UTC), Sandra_SD_SoF on 1/11/2021(UTC), Magic_Bean on 1/13/2021(UTC), LazTopCat on 1/13/2021(UTC)
GinaZ
#4 Posted : Saturday, February 20, 2021 6:19:12 AM(UTC)


Rank: Novice Forum Member

Joined: 12/10/2013(UTC)
Posts: 17
Medals:
I hate to be a downer, but I tried this and every time I tried to add the link to a prop.....the prop disappears. Any help would be greatly appreciated.
Brianna
#5 Posted : Saturday, February 20, 2021 11:28:42 AM(UTC)


Rank: Seasoned Forum Member

Joined: 7/7/2012(UTC)
Posts: 1,124
Medals:
A great tutorial posting. I have yet to try it as I have to determine a use it for. (What would I use it for is what I meant).

I do have one question, what effect does this have on lag (latency) in world?

Otherwise, well done.
If technology was perfect, ...it wouldn't need US....

Brianna(SM) (a.k.a. DJ_Brianna(SM)) Owns WDGN_db_RADIO(TM) and the Club_Drakon(TM) franchise.
Magic_Bean
#6 Posted : Friday, May 31, 2024 2:35:48 PM(UTC)


Rank: Novice Forum Member

Joined: 6/24/2013(UTC)
Posts: 20
Medals:
Tutorial UPDATED: How to Sign Up for an Account on InfinityFree and Host a Simple HTML File with a Video

Note:

Please note that this section replaces Part Three of the previous tutorial, as the hosting service previously mentioned is no longer valid. Follow the steps outlined above to sign up for an account on InfinityFree and host your HTML file with a video.

Additionally, a new, simpler RLC Transparent Video Kit HTML is attached to this new post and can be used.



Step 1: Sign Up for an InfinityFree Account

1. Visit InfinityFree Website:
- Open your web browser and go to InfinityFree.

2. Create a New Account:
- Click on the "Sign Up Now" button.
- Fill in your email address, password, and confirm your password.
- Agree to the terms of service and click "Create New Account".

3. Verify Your Email:
- Check your email for a verification link from InfinityFree.
- Click on the verification link to activate your account.

Step 2: Create a New Hosting Account

1. Log In to InfinityFree:
- Log in to your newly created InfinityFree account.

2. Create a New Hosting Account:
- Once logged in, click on the "Create Account" button.
- Choose a subdomain or add your own custom domain.
- Complete the setup process and note your FTP details.

Step 3: Upload Your HTML File and Video

1. Access the File Manager:
- In the InfinityFree client area, go to the "Accounts" section.
- Click on the "Manage" button next to your hosting account.
- Under the "Files" section, click on "File Manager".

2. Upload Files:
- Navigate to the htdocs directory in the File Manager.
- Click on the "Upload" button.
- Upload your HTML file (index.html) and your video file (e.g., video.webm).

Step 4: Edit the HTML File

1. Open Your HTML File:
- In the File Manager, locate the index.html file and click on it to open the editor.

2. Edit the HTML File:
- Replace YOUR_VIDEO_FILE_URL_HERE.webm with the actual name of your video file (e.g., video.webm).

Code:

   <!DOCTYPE html>
   <html lang="en">
   <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>RLC Transparent Video Kit</title>
   </head>
   <body>
     <video id="video1" autoplay loop muted controls="false">
       <source src="video.webm" type="video/webm">
       Your browser does not support the video tag.
     </video>
   </body>
   </html>
   


3. Save the Changes:
- Save the changes in the editor.

Step 5: Test Your Website

1. Access Your Website:
- Open your web browser and go to the URL of your hosted website (e.g., http://your-subdomain.infinityfreeapp.com).

2. Verify the Video:
- Ensure that the video is playing correctly on your webpage.
File Attachment(s):
RLC Transparent Video Kit.zip (1kb) downloaded 0 time(s).

You cannot view/download attachments. Try and register.
Check Out My FREE GENERATORS for a custom profile!

Kink Ink-Tattoos and Body Jewelry

I do custom work!

ASK ME HERE!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Clean Slate theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 1.111 seconds.
TC-IIS-7
3.135.216.160