조한나
조한나

Reputation: 79

How to change Rendering method of 360 video

My problem is that Left monitor and Right monitor display very different scenes(like phicture) enter image description here

Now I use VrVideoView for my 360 video player.

<com.google.vr.sdk.widgets.video.VrVideoView
            android:id="@+id/video_view"
            android:layout_width="match_parent"
            android:scrollbars="@null"
            android:layout_height="250dip"/>

full code : enter link description here

I just change file name "congo.mp4"

Upvotes: 0

Views: 101

Answers (2)

Milad Yarmohammadi
Milad Yarmohammadi

Reputation: 1275

Use this snippet in your code:

If you are using HLS:

options.inputFormat = Options.FORMAT_HLS;

Otherwise:

options.inputFormat = Options.FORMAT_DEFAULT;

And If you want to use mono video:

options.inputType = Options.TYPE_MONO;

Otherwise:

options.inputType = Options.TYPE_STEREO_OVER_UNDER;

Upvotes: 1

조한나
조한나

Reputation: 79

options.inputType = Options.TYPE_MONO;

Upvotes: 0

Related Questions