Hi I'm new to the VLC api, and I'm trying to write a short python script to play a 360 mp4 video, setting the viewpoint to a specific pitch/yaw/roll/zoom. So far my code looks something like this:
import vlc
Instance = vlc.Instance()
player = Instance.media_player_new()
Media = Instance.media_new('S2.mp4')
Media.get_mrl()
player.set_media(Media)
view = vlc.libvlc_video_new_viewpoint()
x = player.video_update_viewpoint(view, True)
---
But it crashes every time I try to create a new viewpoint -- "vlc.libvlc_video_new_viewpoint()"-- with the error: Runtime Error: ffi_prep_cif failed
Any help as to what I'm doing wrong?