dfaker / VR-reversal

VR-Reversal - Player for conversion of 3D video to 2D with optional saving of head tracking data and rendering out of 2D copies.
The Unlicense
288 stars 23 forks source link

New versions of ffmpeg have altered their api to interpret rotations sent via sendcmd as relative by default #9

Closed dfaker closed 2 years ago

dfaker commented 3 years ago

lerp(x,y,z) against these directly is not possible, so some creativity will be needed to get smooth head motions working on later versions.

Passing of the reset_rot flag (to 1, once, during initialization) and sending of all of the rotations (during each time step) will be required.

richardpl commented 2 years ago

This is an invalid statement.

dfaker commented 2 years ago

This is an invalid statement.

You forget we live in a spatio-temporal world.

richardpl commented 2 years ago

There is option to reset your spatial only funcionality by just setting reset_rot=1 once at beginning.

dfaker commented 2 years ago

Thank you, I didn't plan to go into the calling conventions here, but that's a nice fact.

richardpl commented 2 years ago

And it doesn't any more resets yaw/pitch/roll with that option set.

dfaker commented 2 years ago

I am surprised to hear that, thank you for letting me know.

dfaker commented 2 years ago

Works on bleeding edge ffmpeg and mpv now, a couple of the right lines over in ffmpeg and a couple of characters here.