[OCULUS] Need help unfolding a 360 video for oculus compatibility

i bought a kodak pixpro sp360 4k to record and export videos in 360 to unreal engine 4, i found out that you can’t record in wide/horizontal/panoramic mode, you have to set this in post process, which i don’t want to, since i need this footage to workaround in unreal engine 4, anyways, my second option is to get the 360 video recording and export to unreal engine 4, but the thing is i don’t know how to unfold this footage to make it work for oculus rift