- Home /
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?
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?
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 strea$$anonymous$$g 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
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.
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.
Answer by idorurei · Jul 11, 2018 at 04:14 PM
If anyone hasn't solved this, a few things to make sure:
The target render texture is at least 1024, if not 2048.
Double check the bitrate, codec, pixel format, and resolution. ,Have you figured this out?
Double check the video playback texture, and make sure it's at least 1024 if not 2048.
Also, it would be good to know the bitrate or your transcoding command.
I can confirm that changing the render texture size from 256x256 to 2048x2048 solved the problem on both iOS and Android. Thanks, dude :)
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
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.
Answer by Anandavadivelan · Jun 12, 2020 at 07:19 AM
Hi, what is the recommended bitrate?,hi, What bitrate is recommended?