Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 Vice_Versa · Aug 27, 2015 at 07:30 AM · videofreezeoculusoculusriftpreview

is unity compatible with 360 videos?

im trying to make an app for oculus rift, i found a sample 360 video online, but when i try to play it in the editor, i get sound, but the preview is black and everything else in the editor freezes. Also, the play button for the preview does not turn into a pause button, so theres no way to stop it. I have to close unity through task manager to make it stop. I can get other regular videos to play in the preview completely fine, but this one will not work. the video file is pretty big(87 mb) the regular video i had was only 3 mb. Could the big file size be the issue? I also realize, it could be the video file itself, does anybody know where i can find other 360 videos to download? It also makes me wonder are 360 videos even really compatible with unity yet?

EDIT: I just realized something, on my desktop, it says that the video file is 87 MB, but in unity it says its only 1.5MB. It looks as if unity only imported part of the video(or maybe just the sound). Ive never seen a partial import like that before, what could be causing this?

Comment
Add comment · Show 3
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 Nerevar · Aug 27, 2015 at 10:10 AM 1
Share

I already did this kind of project and unity IS able to do it (I would not recommend to deploy such applications on mobile as video textures are consu$$anonymous$$g a lot of resources in unity)

If you want a HD 360 video than means you need like a 4k texture size so that for each field of view you have almost a 1080p "view" of this part of the video. (but unity cant handle that big video formats).

If you want to add interactions in this video or make a complex application around it you will have to be happy with a low quality video. simple steps: create a sphere on blender, revert normals (you can also UV unwrap and map a frame of the movie on it to be 100% sure it will display the way you expect) ,then import it inside unity . Apply a video texture to this sphere, import your movie and play it on it! It should be working!

I$$anonymous$$O The best way would be to code a native plugin to render such video.

avatar image Vice_Versa · Aug 27, 2015 at 04:32 PM 0
Share

interesting. now the problem im having at the moment is that the video cant even play correctly in the preview. Would it actually work if i put it as a movieTexture on s sphere? Or would i need to make that plugin first? How would i go about making that plugin ive never actually made a plugin in unity before

avatar image Nerevar · Aug 28, 2015 at 09:01 AM 0
Share

I have not done any native plugin (a native plugin is not the same as a regular plugin as they use c/c++ compiled libraries), you would have to work on a lower level of programmation. You only need to write a native plugin if you want a true HD video played inside unity, basically that is how are made the plugins for movie textures on mobile phones. But you should first try to make it work with the built-in options and then decide if the quality is enough for what you want to do (using basic $$anonymous$$ovieTexture).

"the video cant even play correctly in the preview" - you mean from the inspector? i don't get what a preview is...

try to use it as a movie texture in your scene to know if it works (can be a cube/sphere/plane it doesn't matter at first)

Then if you have put your camera inside of a sphere to be able to turn around and see the video from inside, you will have to create your own sphere (with normals toward inside).

0 Replies

· Add your reply
  • Sort: 

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

26 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 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

Stop OVRplayerController movement but allow rotation. 1 Answer

Videoclip on Uniy for Oculusrift 0 Answers

How to disable automatic recentering when using OVRCameraRig 0 Answers

How set game to Seated Experience? 0 Answers

Oculus Rift camera shaking when far away from (0,0,0) position 2 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