Quicktime movie is Upside down

I downloaded QTPlayback example from wiki, but the movie is upside down and I can not find “Pixel Inset Y Min/Max” in the Inspector. Any clue?

Thanks!

Those pixel inset values are associated with the GUITexture in particular, select the GUITexture and look in the inspector, they should still be there. But keep in mind that if you’re using Unity 2 Pro then you can create movie textures proper and you’ll no longer need that wiki script at all.

Thanks for your reply.

I still can not find the Y Min/Max option, here is the screen shot.

I used .ogg file as movie texture to play, everything is OK except the sound lags after video. So I decide to give a try to .mov file for quality comparison. I do use Unity 2 Pro. Does it support .mov directly without any plugin?

Thanks

The problem here (I think) is that you’re mis-reading what’s on the wiki. There is no “yMin” or “yMax” property. You need to make sure that the “minimum y value” is greater than the “maximum y value”, not by looking for explicit properties of that name. Set your inset y value, then use a negative height, that should help out.

No. Our movie texture support is all provided via the Ogg Theora codec, you can drop a QT file into your project but at build time it will get converted to Ogg and lumped into your build (non-streaming playback). Or you can convert it to Ogg ahead of time and then use the WWW class to stream it on the fly (something you seem to have done already).

Thanks, it works.

I directly drag the .mov file into Inspector and use the code below to play the video/audio, is there any better way to synchronize between video and audio?

playVideoScript.myvideoTexture = Resources.Load("Videos/myVideo", MovieTexture);

playVideoScript.playVideo((Screen.width/2 - 360), (Screen.height/3 - 160),720,480);

myGameObject.audio.clip = Resources.Load("Videos/myVideo", AudioClip);

myGameObject.audio.Play();

Any idea if unity3d 2.5 can still use this qtplayback plugin?

I really don’t like the compression quality of ogg theora at the moment compared with what quicktime can deliver. So if its still possible to use this qtplayback plugin, then the higher video quality of quicktime could be used.

Its intended to make standalone windows player which should be able to do it. i’m aware that plugins don’t work in webplayers and you need a pro license for it.

Any ideas ?

QTPlayback still works fine in 2.5. The demo off the Wiki works - you just need to supply the videos and set the path in TexturePlayback.cs. I can’t seem to get it to work in the Windows standalone, but it’s working well for Mac standalone.

Has anyone got this working in windows yet?