Such as the post's subject title. I am new to quest developer, recently I got my quest pro, and I would like to output the fisheye preview with pose data simultaneously.
I searched the Quest API doc and found an API ovrLayerFishEye2 in native mobile lib that can be provided photo and video capture. But I have some doubts that this is in the VR scene photo and video capture as fisheye style or which is a real fisheye camera preview.
Related
I am developing an augmented reality app in Android using ARCore library.
I would like to play a video in Augmented image.
I can able to successfully identify an object using ARCore Android
But I am not able to play a video exactly on the augmented image.
Any help would be appreciated.
Here are 5 features you have to check to make sure your app's algorithm is OK:
You have a Supported file format of Video Asset (mp4 is robust choice).
You have an ArAnchor which your Video Object is attached to.
You have a geometry which your mp4 Video texture is assigned to.
You are rendering your Video Object.
The logic of video player is true.
Look at Clayton Wilkinson's brilliant answer in Need to play Video in ARCore SO post.
I am building a app where i am using mobile vision sdk for face detection and showing some overlay on face. but i am facing problem while record video. Is there any solution to record video with same problem.
Thanks
Since Android 5.0 there is a new API that can be used for screen recording: MediaProjection. The MediaProjection grants the ability to capture screen content, but not system audio. Also it won't capture secure screen content. You need user permission for capturing the screen. Please refer to this for screen recording.
Screen Video Record of Current Activity Android
I am trying to create an video player app which is capable of displaying a 2D video in a side-by-side projection for cardboard. The input is a 2D video, so no need for head tracking. I checked the Google Cardboard SDKs but they don't provide an implementation for simple side-by-side projections with Non-3D or 360° contents.
My current implementation of the video player already uses a TextureView to render the video.
I found a sample code for side-by-side-camera preview: [android Side By Side Camera
How do I get the output from the TextureView of my video player into a GvrView?
YouTube already has such function "play in CardBoard" which will reformat the footage to make it feel like you are watching in an Imax theatre.
How to do it with android VR Sdk. i'm takeing look at VrVideoView. When playing an normal video, It generate very strange view point for the normal 2D video and play it as 3D video.
The VrVideoView only renders the video in a 360° way and it gives an awfull result if the video is not a 360° video.
So you have to use a GvrView and manage the renderring youself in order to have a good result.
Here's a quick and dirty example about how to display a stereoscopic video with the Google VR SDK
https://github.com/Zanfas/Cardboard_VideoPlayer
You have to know that the Google VR SDK only apply distorsion to the rendering of a 3D Scene managed with Open GL ES.
The idea is to make a virtual screen in a 3D scene that displays the video. You render the 3D scene with the camera looking at that screen and there you go.
Regards
Which frameworks have this feature? Video I would like to implement something for Android. Are there already approaches? QCAR (Qualcomm AR SDK) has this feature not yet, unfortunately :(
To my knowledge, the QCAR SDK 1.5 Beta for Android only allows you to use the camera video as a texture. This differs from the posted video which shows a movie texture being loaded on a geometrical plane.
The Metaio Mobile SDK 3.0 does allow you to set movie textures on a geometry that matches the video.
http://docs.metaio.com/bin/view/Main/AdvancedContentExample#Movie_textures
The QCAR SDK 1.5 Beta for Android now provides a simple and streamlined way of accessing the video background texture. Developers can now write custom special effects using powerful shaders resulting in far more exciting application experiences. :)
Edit: Now Vuforia has the Video Playback sample. Devices from API-Level 14 (Android 4.0) support video on texture. Other devices will play the video in full screen mode.