Jump to content

How-to: Record or Stream live VR dominant eye


Recommended Posts

VR-DriftaholiC
Posted

Been streaming in VR. This will work for recording just as well and If I was recording something to publish on YouTube I would probably capture the full eye and then use flow-stabilization in Devinci Resolve (which is free by the way) to crop it down to 16:9 eliminating much of the head shake.

 

OBS https://obsproject.com/

Open VR Plugin: https://obsproject.com/forum/resources/openvr-input-plugin.534/

 

If you want to stream and not just record it's handy to be able to read chat, I use OVR toolkit to place the chat window like it's a knee-board.

https://store.steampowered.com/app/1068820/OVR_Toolkit/

 

Ended up needing Joy2key also in order to map push to talk in OBS

Annotation 2020-05-11 024100.png

  • Like 1
Posted

Just FYI I think this does not work with OpenComposite for those who use it.

  • 2 weeks later...
Posted

whats the fps hit to get the chat ingame?

 

my main issue is getting obs to shift enough frames to Twitch.

 

i have a dedicated stream pc and send over the info via NDI.

 

Any tips?

VR-DriftaholiC
Posted

Using OBS and OVR it's maybe about 10 fps, I only see it in the lows as I stay above 90 fps most of the time but the drops do happen more frequently. I think it helps to have hardware encoding in my case NVENC. I stream at 1080p 60 fps and of course when the game drops below 60 the stream will as well. I have no experience with using an external PC, I was wondering myself how that would work with the Open VR plugin.

=RS=Funkie
Posted

if you're using oculus rift + open composite, you can open "OculusMirror.exe" 
 

C:\Program Files\Oculus\Support\oculus-diagnostics

And capture that, as it gives your a single eye output.
 

VR-DriftaholiC
Posted

For me running the SteamVR mirror hit FPS far more.

O_DesoLunatic
Posted (edited)

 

12 hours ago, VR-DriftaholiC said:

For me running the SteamVR mirror hit FPS far more.

Are you using Index?  For all the other headsets steamVR mirror currently hits 45 or 40 fps only, because it basically halves your refresh rate to calculate the mirror fps output - since OpenVR plugin uses the same resources it will also produce frames equal to 1/2 of refresh rate in the recording. Here is a link to discussion where people noticed this:

https://steamcommunity.com/app/250820/discussions/3/3581993464539099520/


I posted a workaround a while back that produces butter-smooth fps in the recording no matter the HMD as long as you are hitting 60 or above frames in-game, here is slightly improved version of it:

1. Set your Il-2 to windowed mode.
2. If your 2d screen is smaller than 4k -  set these values in startup.cfg, if you are running 4k make sure Il-2 is set to native resolution in-game. 
   win_height = 2160
    win_width = 3840
3. Download winexp utility https://www.nirsoft.net/utils/winexp.html
4. Run the game and then run the winexp
5. Set your window capture in OBS so that only one eye is visible by shifting it left or right in relation to the frame there. 
6. Increase size of the Il-2 window inside the winexp till one eye's view in Il2 fills the frame in OBS without any black borders,
7. You are good to go. 

Edited by desolunatic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...