Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by UltimaTechnology · Oct 22, 2012 at 12:04 AM · free

Unity3D Free | Play Video

I'm currently using Unity3D, the free version. I'm aware that Unity3D Pro has the option to play videos with ease, but is there a way to play a video in Unity3D Free, like before (or after) the Unity3D water mark?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fattie · Oct 22, 2012 at 07:16 AM 1
Share

as the other s suggest, you could play a simple animation. (probably not too big images)

you could just grab 2dToolkit, which makes that as easy as humanly possible.

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by NOVAgaming · Oct 22, 2012 at 01:07 AM

You can't play videos on either, but you may show images very fast,simulating a video effect.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Apples_mmmmmmmm · Oct 22, 2012 at 01:35 AM

You could export your video as images (likely 24 images per second) instead of the video as a singular file. Then through script you could call the images in order at the rate that you want them to appear, for a 24fps setup you would bring up a image every 1/24 of a second.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by arky25 · Apr 05, 2013 at 02:19 PM

I wrote a script wich reads out all pictures out of a folder. You can use Virtualdub to make your clip to pictures, load the folder into unity 3d and then type in the name of the folder in the script. The script looks like this. pragma strict

 var imageFolderName = "";
 
 var MakeTexture = false;
 
 var pictures = new Array();
 
 var loop = false;
 
 var counter = 0;
 
 var Film = true;
 
 var PictureRateInSeconds:float = 1;
 
 private var nextPic:float = 0;
 
 function Start () {
 
 if(Film == true){
 
     PictureRateInSeconds = 0.04166666666666666666;
 
 }
 
     var textures : Object[] = Resources.LoadAll(imageFolderName);
     for(var i = 0; i < textures.Length; i++){
     Debug.Log("found");
     pictures.Add(textures[i]);
     }
 
 }
 
 function Update () {
 
     if(Time.time > nextPic){
     nextPic = Time.time + PictureRateInSeconds;
     counter += 1;
     if(MakeTexture){renderer.material.mainTexture = pictures[counter];}
     }
     if(counter >= pictures.length){
     Debug.Log("fertig");
     if(loop){
     counter = 0;
     }
     }
 
 }

you have to create a Resources folder and put the folder with the pictures into that folder. But it works great!

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image TOES2 · Sep 09, 2013 at 04:30 PM 0
Share

Hm, this code has a major problem. It preloads the images and will use a huge amount of memory. On a mobile device we are probably talking seconds, if you use a modern HD format.

To make this work, you would need to load, decode, display and release each image in sequence. But this is very time consu$$anonymous$$g and would completely kill the framerate. For low resolution videos it might be an option though.

avatar image _W-Man_ · Oct 30, 2014 at 08:32 PM 0
Share

The code dosn't even work for me.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

I don't see ads on my game after downloading it from Google play 1 Answer

windows to ios? 1 Answer

Changing Unity Free splash screen and icon 1 Answer

system.net.sockets in unity3d free 0 Answers

Searching for free .raw Heightmaps 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges