• 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 Christophe F · Apr 18, 2010 at 10:14 AM · movietexturewhite

Problems using MovieTextures - Gets white everytime on Unity Pro trial

Hi people,

I am using Unity Pro Trial 2.6.1

I have a GUI script with a MovieTexture set up. When clicking on a button, I am setting it to Play(), and then on every frame I am using GUI.DrawTexture to display it.

This actually seems to work; I mean, this postively changes the screen and should work from what I have read elsewhere, however the movie plays in full white. That is, I have a full white screen.

Note that Unity does the same if I try to preview the movie from the Assets libraby, or I build & run.

This should not be because of the Xvid-codec used for the movie, as I have also tried with an uncompressed version of the same movie, with no result.

This also should not be some sort of memory problem since I have tried with short movies and big ones, with the same result.

So:

Is it because of the trial version of Unity Pro? May Unity eventually be able to send me something other than a white screen? What should I do?

Thanks a great lot for your help.

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Christophe F · Apr 18, 2010 at 11:41 AM

I am happy to contribute to the community with an answer to this problem.

So it happens that Unity doesn't import well usual AVIs (like Xvid-codec imported), or at least, that it doesn't it so well on my computer. Unity tries to convert them to OGG/Theora but doesn't quite manage to succeed.

In order to make it to work, I had to download the following:

http://v2v.cc/~j/ffmpeg2theora/download.html

FFMPEGTHEORA is an easy-to-use EXE utility (Mac version also available). With it, I managed to convert AVI and MOV files to the OGG Theora version.

There are other converters around, like "VLC Player" that actually has a conversion system, but VLC-conversion didn't work so well, and FFMPEG did!

Once the file has been converted into OGG/Theora (.OGV, playable with the VLC software or others), I was able to Import the Asset into Unity.

The preview from the library worked and displayed the movie, and the GUI.DrawTexture() worked as well. No more blank screen.

The problem evolved into a "low quality movie playing" problem ; cutscene is HD 1920x1080 and has a very high bitrate (11000 kbits/s), I believe Unity doesn't manage to follow this ouput.

If you have optimization solutions for MovieTextures in Unity, I will gladly take them.

Comment
Add comment · Show 1 · 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 Christophe F · Apr 18, 2010 at 12:37 PM 0
Share

About the LOW QUALITY issue:

Reducing the bitrate did nothing. Only reducing resolution had some effect.

Downgrading from 1920x1080 to 960x540 made a movie that played better in Unity.

It is sad that we cannot rightfully play HD cutscenes this way. Do you have a solution?

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

MoviTexture Quality loss 1 Answer

How do I play a full screen video? 4 Answers

How to Convert MovieTexture to Byte? 1 Answer

Lag of video loading 1 Answer

play movie on trigger 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