Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
1
Question by darkxeno · May 10, 2015 at 02:58 PM · performancevideomovietexture

Best video format for smooth playback?

I'm currently looking to Unity for making an application that involves playing a fullscreen video in the background of my scene with 2D sprites or 3D objects. My initial testing was by using an MP4 encoded with H.264, and the video is only a 10 second loop at 1080p, but rendered at a high quality bitrate.

My question is what kind of format is best to get smooth playback in unity? Currently the video looks extremely choppy and with visual artifacts even. When I play the MP4 outside of Unity, it looks perfectly fine however.

I'm using a MovieTexture on a flat plane in orthographic camera mode to play the video. Right now the video is the ONLY thing in the application, and still getting the poor playback. The application itself is still running at ~60 FPS however, despite the choppy video.

EDIT: Let me clarify that this application is meant to run on PC only, and it does not seem to be a hardware limitation. Other programs can play these videos just fine.

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
3
Best Answer

Answer by TheFloatingSheep · May 10, 2015 at 08:50 PM

Unity is made to work with Ogg theora format. To import any other format it will use quick time player for converting, and that could f*ck with ur video's quality. Here's a good free online converter: http://video.online-convert.com/convert-to-ogg

Comment
Add comment · Show 2 · 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 darkxeno · May 10, 2015 at 08:54 PM 1
Share

Thank you, Ogg is definitely the way to go! Using that format fixed the performance, the artifacts, and even the color quality problems I was having. I ended up using the default settings on this command line converter, and it worked like a charm.

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

avatar image TheFloatingSheep · May 10, 2015 at 10:45 PM 0
Share

Glad to help you =D

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

QuickTime problem in Unity 2 Answers

WebGL - Video 6 Answers

How read/get Video File FrameRate? 1 Answer

How stocked the video in full screen in the background? 0 Answers

Various documentation about movie formats is confusing... 1 Answer


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