Play 180 degree videos on samsung gear vr - virtual-reality

I am starting a new business which will allow users to download videos and watch them through the Samsung Gear VR.
My videos are 3d 180 degrees using the Gopro Hero3+ duel system.
Now I can get my video to play as a 360 by naming is filename_360.mp4
The gearVR recognises this and makes it stretch to 360, however I cannot get it to work and only show 180 degrees.
I have downloaded a video from another website which has 180 degrees vision, and when you look around you can see 180 degrees pitch black. So somehow they have managed to trick the gearvr into it being 360, but with only 180 degree of content present.
Does anyone know how I can achieve this ?

Here's another thread on the subject: https://forums.oculus.com/community/discussion/23890/how-to-play-180-3d-video
If changing the name of the video doesn't work, there is of course the 'ugly' solution of adding enough padding around your video so that it appears 180 even though it's 360.

Just download moon vr player app from oculus. Its the only app i found that supports 180 videos. And have an interesting future...the "air view" that gives you the option to just download videos on your PC and watch them through VR with wifi instead of copping on you phone. Hope that works for you

It's really easy. It's not the name of the file, but the name of the folder. In new gear vr app v.1.065, you can just simply put the file into a folder name 360videos and it's done. But I not recommend it, because it just dtretch 180 degree video into 360 pano mode making eveyone looks ugly wide and fat. Are you sure you eant this? Hahaha!

Related

VR 360 video playback in Unity app is constantly choppy, not at all smooth on Oculus Quest 2

I'm building a simple 360 monoscopic video player app in Unity for Oculus Quest 2. The video is 4096x2048 30fps mp4 which plays very smoothly in the Oculus TV app but inside my app, it's constantly choppy as if it were 15fps or lower. I have tried many encoding options, tried using the AVPro demo plugin but no luck.
I followed this tutorial: https://learn.unity.com/tutorial/play-360-video-with-a-skybox-in-unity
Any help is very much appreciated!
It was the mismatch between the 30 fps video and the default 72 Hz display refresh rate of the Quest 2. I set the frequency to 90 with this line of code
Unity.XR.Oculus.Performance.TrySetDisplayRefreshRate(90f);
...and now the video plays smoothly.

How to reduce drawcalls in unity?

I'm a beginner developer in Unity 3D and I'm working on a mobile game (Android). Everything works fine when I test my game on the editor (150 FPS) and on my latest phone (One plus 5, 60 FPS), but when I try it on my old phone (LG optimus G5 with android 6.0) I have only 15 FPS.
I try to test an empty scene with only a 3D cube and I can reach 25 FPS. I used the profiler to inspect my game and I see that I have more than 1300 draw calls on my home scene (which I use about 40 differents sprites and 30 differents meshes). I try to put some materials in static batching, enabled GPU instancing, reduce most of the quality settings, but nothing solves my issue. I also tried to disabled every GameObjects of the scene (except the camera) but it doesn't increase FPS (or only 5 FPS).
Here's my profiler on the empty scene (on the LG G5) :
I developped another game with only UI elements and it works fine on this mobile LG G5.
Do i make a mystake in settings ? Or is my phone just too old for my game ? (I try to download crossy road which was made with unity and it works really nice on my old phone..)
How can i improve the graphics performances ?
I'm using universal render pipeline and unity 2019.3.5f.
Thanks in advance ! And please apologize my english isn't perfect.

Problems recording my 2d game made with Unity (laggy / stuttering)

I'm pretty new to Unity and have a problem. I programmed a small 2D game in Unity that works fine, runs smoothly and doesn't lag at 60 fps. The problem occurs when I try to record a video of my game. No matter which screen recorder I tried (on Windows 10 with Xbox recorder as well as on Android Samsung Galaxy S8 and S5 with different recorders), the video doesn't run smoothly (seems stuttering). I have already tried different quality settings, different fps and switched off vSync, but nothing helped. When I set my game below 60 FPS, the game starts to stutter itself and the FPS is not kept constant. The screen resolution is 1920 x 1080.
I am now very desperate and frustrated about this problem, because I would like to make good quality videos of the game. So if anyone has any idea or suggestions how to solve this problem I would be very thankful!
try this link
it will take you VideoCapture, a free asset made for exactly your purposes. since its free you can add it right to your packages and start using it without trouble, and it elemenates the pesky problem of third party recordings.

Recording vr motion video

I want to record a vr motion video of my house using aframe so that I can show the demo view of the the house.What are the js files need to be included?How can I do it?
I assume you just want to record 360º video — if so, a 360º camera is the place to start. See: http://thewirecutter.com/reviews/best-360-degree-camera/
You may want to test things out on your device (Gear VR, Cardboard, Vive, whatever) before investing in a camera. Video playback in A-Frame may have some issues on mobile devices particularly.
Example: https://aframe.io/examples/showcase/videosphere/
hi kumar yes you use without using 360 camera by using normal mobile phone but to place that video you have to use latest version of unity that support not only 360 video format but also plane so where you can put that video as an medium.
or if you are using unity 4.6 to unity 5.3 then use have to use some packages like easy video texture in this package you have different options for placing video
https://github.com/maazirfan/Easy-Movie-Texture-for-Unity
and use where ever you want vr/gear vr / htc vive .

OpenCV detect iphone orientation

I have a site where users can upload video. When testing some video uploads that are processed with OpenCV and Python, if the video was recorded on an iPhone it always assumes the video was taken in landscape mode by rotating the phone 90 degrees to the left, such that videos in portrait mode are sideways and videos taken in the other landscape direction (90 degrees to the right) are upside down.
I know I can use OpenCV to rotate videos, but is there a way to detect:
a) if the video is even taken with an iPhone or not
b) if so, what the orientation should be, how much to rotate the video by
OpenCV is an computer vision library, for your problem you can't use OpenCV (AFAIK). What you need is to get the metadata of the video. Metadata contains the all the information you need about that video. Here you can see what does metadata contains. You should search how to extract metadata from a video. Take a look at this.
Good luck!