Support for SBS left/right videos with Google VR SDK - android

I have some side-by-side left/right videos (in mp4 format) and my employer wants me to make an app that use the Google VR SDK to play videos for CardBoard users.
Can the Google VR SDK play these videos (without anything to do my self for the rendering) by taking the left side of the video for the left eye and the right side of the video for the right side?
I see that there's a VrVideoView class that has a loadVideo method that takes a VrVideoView.Option. In these options, there's a TYPE_STEREO_OVER_UNDER.
In order to be clear my questions are:
Has the Google VR SDK a viewer that can play SBS Left/Right video ?
If not, has the Google VR SDK a viewer that can play a SBS Over/Under video?
If yes, should i say my employer "instead of doing SBS left/right videos, you should do SBS Over/Under videos in mp4 format because they are directly handled by the Google VR SDK" ?
Thanks for your help.

So, if the you want to play a 360° stereoscopic over/under video, the VrVideoView can play it.
If you want to play normal stereoscopic videos, you have to manage the rendering by yourself and take the good part of the video each time you do the renderring for an eye.
Quick and dirty example :
https://github.com/Zanfas/Cardboard_VideoPlayer

Related

How to create dual view for Youtube in Android VR app?

I want to create an app that allows you to watch regular Youtube videos in a VR headset (that's normal videos, not VR 360 videos).
Does anyone know how to embed two youtube viewers in the same activity, playing the same video to create the stereoscopic views for a VR type app?
It doesn't seem you can do with with the Youtube Android API as it only lets you play one Youtube viewer at a time.
It's definitely possible, as this app shows ...
https://play.google.com/store/apps/details?id=com.ekm.youtubevr3dvideos
Thanks in advance.
As stated by #Tempus, you can use the Google Cardboard which lets you experience virtual reality in a simple and fun way. With Cardboard and the YouTube mobile app, you can even watch 360 degree videos for an immersive experience.
Also, you can check this documentation on how to embed VR view.
VR View sample code:
There are two sample apps which demonstrate the VR View functionality in the SDK: simplepanowidget and simplevideowidget. Both of these samples are single activity applications that display an embedded panoramic image or video using VrPanoramaView and VrVideoView, respectively.

How to enable cardboard mode in Youtube Android Player API?

I want to enable viewing 360-degree videos from Youtube inside my app in the cardboard mode which splits the video into two halves for the two lenses in a Google cardboard, like in the Youtube app. I'm using Youtube's Player API for Android to show youtube video's in my app but I don't see any option to enable cardboard mode in the YouTubePlayer interface docs.
Please advice how can this be done.
Thanks
Seems that Google VR is now much more easy to use as they provide all the tools you need through the Android SDK.
Seems also that equirectangular format is the most widely accepted format now.
See: https://developers.google.com/vr/android/samples/video360

Is there anyway to Embed youtube 360 video to Android

I want to live stream a 360 video to my android app.
The main function of the app is to watch live 360 videos.
I tried using the YouTube API, but it does not work as it doesn´t render the video. I tried using the Google VRVideoView from the cardboard API. But it seems it can´t parse YouTube URI.
Is there any way I can do this? Or any alternative platform that supports 360 video steaming on mobile?
I have used Pan frame SDK to play 360 video in Android App. I have updated the complete source code in Github,
https://github.com/JayaprakashR-Zealot/360VR
Please let me know if you find any issues.

How measure the speed at which the video was played from youtube

I need create android app for testers. They need test internet speed on the SIM-card with different protocols and when play youtube video. I dont understand how measure internet speed when play video in youtube.
I tried use libraries for download video and measure downloaded video size before and after download. But this libraries not work(vget and wget and wget-android)
I was looking for tools in Youtube API but not found it.
I not found information in stackoverflow and google.
But i think it possible. I want insert link for video from youtube and press start button. And after it i want see the speed at which the video was played

Google Tango: Youtube 360 Videos Not Working

I have a Project Tango Android tablet. I have installed and updated the latest Youtube app. When I try and play any 360 Videos from Youtube they only play flat. No ability to pan.
Is there another setting one needs to check to enable 360 Youtube videos on a Google Tango Tablet. This is one of the reasons I purchased this tablet in the first place. I can play 360 videos on the Kolor site ok.
Anyone else that has a Tango tablet, are you able to play 360 Youtube videos?
Thanks for any advice.
Rob
Unfortunately,right now YouTube 360 is not integrated with Project Tango.
Google may let us known if it is available.

Categories

Resources