Help using video with Unity

Hi everyone,

I’m building a user interface at the moment and I’ve now got the functionality working in the way I’d like it to.

My problem is that in the first scene of the interface I would like to demonstrate how to use it with a short (20 second) video that users can start by clicking on a play button.
I’m totally stuck as to how I might be able to import, place and use a video within a scene and wondered if anyone has done any work like this before and might be able to give me some guidance?

Alternatively, if I can output the interface as an applet and then combine it with another package (for instance Dreamweaver) then I could use the video separately. However, my preference is for the first idea, if it’s possible.

If you have any questions please ask away and I’ll do my best to answer them.

Cheers!

Dan

Are you using the free or pro version of Unity?

I’m using the free version (I’m a student). However, I could download the 30 day trial of the full version if that would mean I was able to use video with it.

You will have to, as movie textures are a Unity Pro only feature and are the only way to play a video.

No new downloaded needed by the way, you only have to register the pro trial

Thanks for the heads up on that. Just so I can cut to the chase on this; I’ve been making animations in Flash and videos in PremierePro. Which formats are the most appropriate for importing into Unity for use with movie textures? One last question - If I use the 30 day free trial am I able to export as normal, or are there limitations other than the 30 day lifespan?

With Premiere, optimally straigh ogg theora, so you don’t have to go through the converter losing data twice due to different compression schemes.

Within the trial it will always enforce watermark etc so it will be obvious that it is the trial
but thats the only limitation basically

Ok, so if you hadn’t already guessed I’m pretty new to Unity.

I’ve upgraded to Pro, I’ve imported the video (in .avi, about to try with ogg theora, as suggested). The first frame of the .avi file shows in game mode when I start it but I can’t for the life of me figure out how to make it play…

Do I need to use some scripting and a start button to make it do that, or can I just set it so that it plays on activation?

Got it working :o)

Hooray!

Thanks for all the help, dreamora.