• 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
2
Question by whrthsdwlknds · Aug 08, 2017 at 11:30 PM · videovirtualreality360

360 Videos are pixelated!!

Hello! I'm working on 4K 360 video playback in Unity and I did the tutorial here (https://medium.freecodecamp.org/how-to-make-a-360-vr-app-with-unity-51cbe41ad8f1), but I'm noticing that the quality of the videos is significantly reduced when playing back in Unity, and when I deploy to iOS. There is always significant pixelation, and sometimes there are also trails of pixels that arise from movement in the video. Does anyone know why this is the case? If so, how can I solve 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 joshskelton · Dec 11, 2017 at 03:16 PM 0
Share

I'm having the same issue. Unity is doing something to my 360 video. This is before I make a build. The lower quality is in Editor mode. Did you ever find a solution?

avatar image whrthsdwlknds · Dec 12, 2017 at 08:19 AM 0
Share

Hi @joshskelton ! $$anonymous$$y solution(s) were: use lower bitrate videos (still 4k, but i used an ffpmeg command to make them lower quality): ffmpeg -i INPUT.mp4 -c:v libx264 -crf 17 -c:a copy OUTPUT.mp4

I think that command should work. Also, I streamed the videos from the streaming assets folder. I think that part is important because it doesn't transcode the videos at all, which I imagine caused some of the problem. Lastly, I needed a bit more speed and smoothness than the native Video Player, so I purchased Easy $$anonymous$$ovie Texture which was a GREAT idea. It's pretty cheap and works great.

Final product: https://itunes.apple.com/us/app/adult-desire-360/id1322057259?ls=1&mt=8

avatar image enigmagame · Jan 03, 2019 at 04:05 PM 0
Share

Hi, have you solved?

4 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by touloused · Aug 09, 2017 at 02:20 PM

4K videos are poorly supported on mobile device hardware in general. For iOS specifically, you can check Apple's product pages to find the technical specs for the model you are working with and determine the maximum support video playback dimensions.

Transcoding to a lower resolution such as 2K will often correct the issue.

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 whrthsdwlknds · Aug 09, 2017 at 11:01 PM 0
Share

That makes sense, but I'm also having very poor video playback quality within unity. Is this also a transcoding issue? I've attached a screenshot of the video info.

alt text

screen-shot-2017-08-09-at-35339-pm.png (251.3 kB)
avatar image
1

Answer by idorurei · Jul 11, 2018 at 04:14 PM

If anyone hasn't solved this, a few things to make sure:

  1. The target render texture is at least 1024, if not 2048.

  2. Double check the bitrate, codec, pixel format, and resolution. ,Have you figured this out?

  3. Double check the video playback texture, and make sure it's at least 1024 if not 2048.

  4. Also, it would be good to know the bitrate or your transcoding command.

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 S0paTa · Sep 01, 2020 at 02:27 PM 0
Share

I can confirm that changing the render texture size from 256x256 to 2048x2048 solved the problem on both iOS and Android. Thanks, dude :)

avatar image
0

Answer by Bodhid · Aug 11, 2017 at 03:16 PM

4k video in high efficient codecs like vp9 and HEVC are supported by most Android devices nowadays. Iphone can only play h264 video, and only the newest (this year's) models can play 4k. All other iphones generally don't go higher than 1920x1080 with video playback.

So yeah, ios is not really a good 4k 360 video platform. You can check the DeviceInfo if the phone is an iphone 7 or up, otherwise play a 1080p video

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 whrthsdwlknds · Aug 22, 2017 at 12:44 AM 0
Share

I'm not concerned with video playback on the iPhone or Android yet- I'm just trying to get good quality video playback within unity. I noticed that when I play the same videos in the GoPro VR player, they have the same quality issues. Any ideas what this could be? The videos were recorded with at 360fly camera and were imported using the 360fly software.

avatar image
0

Answer by Anandavadivelan · Jun 12, 2020 at 07:19 AM

Hi, what is the recommended bitrate?,hi, What bitrate is recommended?

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

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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

80 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 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 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 avatar image avatar image

Related Questions

Can I make Interactive 360 videos in Unity3d? 0 Answers

Make App compatible with Cardboard and Daydream 1 Answer

How do I use two spheres to occlude models in VR environment? 0 Answers

Sphere 360 video change 0 Answers

Video 2D to stereoscopic for Vr 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges