Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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 haewonhwang · Jul 07, 2015 at 05:17 AM · videoplayback

Importing and Playing a Video

I understand how to implement video playback with putting a Movie Texture on a Game Object or Material, with a little bit of scripting.

I just can't seem to get the video (mp4) to play at all. I've imported it to Assets by drag and drop and by manually browsing my files, but it does not play in the inspector and will not place as a texture onto the material.

I'm using Unity Personal, and can't tell whether or not I need to get Pro.

Not sure what I'm missing here!


UPDATE: I converted my video to .mov and got the following error "Error while reading movie: file/location.mov UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean"

I read somewhere that Unity may be running out of memory while converting to ogg due to the video being too large in file size?

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 haewonhwang · Jul 06, 2015 at 11:57 PM 0
Share

Yep, it's installed @Hellium

7 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Kumsan · Jul 07, 2015 at 06:56 AM

Hi Haewonhwang, thats because you are using Personal instead of pro. But there is a way around this. Convert your MP4 file to .ogg using VLC media player or using any other video converter. Then, import it to Unity and use it as a movieTexture. This time it will recognize the file as a video.

http://www.activovision.com/pogg/doku.php?id=how_to_convert_a_video_to_ogg_with_vlc

Comment
Add comment · Show 7 · 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 tanoshimi · Jul 07, 2015 at 06:57 AM 0
Share

Personal and Pro editions of Unity 5 have exactly the same engine features. $$anonymous$$P4 simply isn't a supported video format, so the advice to convert to .ogg is still valid.

avatar image tanoshimi · Jul 07, 2015 at 10:22 AM 0
Share

@$$anonymous$$umsan - no, Unity only supports .ogg. From http://docs.unity3d.com/$$anonymous$$anual/class-$$anonymous$$ovieTexture.html, "When a video file is added to your Project, it will automatically be imported and converted to Ogg Theora format."

avatar image haewonhwang · Jul 07, 2015 at 05:31 PM 0
Share

@tanoshimi I did hear that Personal and Pro have the same engine features-- so what are the main differences between the two now?

avatar image haewonhwang · Jul 07, 2015 at 05:36 PM 0
Share

@$$anonymous$$umsan thanks for your answer! However, now I am getting an error when I import to Unity: Errors during the import of AudioClip FSBTool ERROR: The format of the source file is invalid, see output for details.

avatar image tanoshimi · Jul 07, 2015 at 05:40 PM 0
Share

@haewonhang the same as it always has been - if your corporate revenue exceeds $100,000, you need Pro.

And what are the details shown in the output?

Show more comments
avatar image
1

Answer by andrematui · Sep 11, 2015 at 04:51 PM

I use Unity Personal and this happens to me as well (with .mov, .avi and .mp4 files). When this error happens, try renaming the imported video in the Project tab. Unity will freeze for some time and afterwards the video will have been properly imported and can be used normally.

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 Lahmeck · Jun 23, 2016 at 02:14 PM

I had the same problem, usig Unity 5.3. After many different tries, I finally, and you may not believe me, drag the video files, even the MP4 one to "Materials" folder in Assets, and it worked. I have non Pro edition, and before I tried in a "Movies" folder, with no good result.

I find this crazy, you may try and see if it works.

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 Red_Dragon69 · Jun 01, 2016 at 01:37 PM

Hy, this may be an old post but i ran into the same issue and solved it as follows:

  • I closed Unity (Personal Edition) and installed the newest QuickTime.

  • IMPORTANT: Start Unity as administrator. If you don't do so, Unity can't launch the conversion tool. (The conversion tool is located under "Unity\Editor\Data\Tools\QuicktimeTools.exe")

  • Now it's possible to add the video to the project assets and Unity will convert it into the right format.

Please note, when playing the video via movie texture file, that the audio has to be started seperate.

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 arjunh · Nov 29, 2016 at 06:55 AM

for unity personal edition this works --first of all you have to install quicktime, then import the video. and u should restart the unity. Now u can play the video like a boss.

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
  • 1
  • 2
  • ›

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

13 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

Related Questions

How to create slider for control video playback on movie texture? 0 Answers

HD Video Playback 1 Answer

Is there a solution for adding video playback controls for all devices? 0 Answers

Android MP4 Video Playback 2 Answers

Trigger video playback on system in a seperate video player? 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