Hi! Is there any way to watch a video in .wmv on Unity within the scene taking the whole screen? Like an opening.
I got a race cars video and seems cool to see before start the scene. So I try importing to asset, but nothings happen when I insert the video in scene.
hi!..
i´m not sure if window media format is supported by unity, but you can use avi or mpeg with codec,
regarding to fullscreen video view, i could set the mainCamera as Orthographic view and sync manually a plane with TextureMovie on it to the main camera…
Thanks Mig-081, seems the solutions is this TextureMovie aligned in camera. Seems cool.
.wmv is my favotire video format to editions.
I found this info in forum, and is bad because this feature is only available at Pro versions.
But I will use your hint.
For fullscreen I actually would use a GUITexture carrying game object with position 0.5, 0.5 and scale 1,1 where you set the extent to the whole screen size. Then you can just assign it and it will show fine, independent of the camera type
Unity only supports Ogg Theora, anything else is converted to it when dropped into the editor, at the resulting lose of quality. Optimally you bring in an optimized ogg video directly from the outside for that reason and cause it saves you time.
GuiTexture is another nice idea,
just as a tip, adjust all the guiTexture Pixel inset, width and height to 0 and modify only the transform values to fit any aspect ratio and resolution ![]()
If you don’t drag anything in in the editor it will be 0 on the values ![]()
Problem is you want the movie at good quality so the question is do you want it to be fullscreen for any resolution or do you want it to be pixel perfect … I personally favor the second one and created code that will create a black background behind it for the case its smaller than the screen
yeah… thats right… maybe he want to use pixel perfect and a good video codec, should give a try downloading k-lite standard codec pack and virtualdubmod to manage them…