Search found 6 matches

Go to advanced search

by InsetStory
31 May 2018 18:45
Forum: Development around libVLC
Topic: Python-VLC 360 Video runtime error
Replies: 10
Views: 1231

Re: Python-VLC 360 Video runtime error

So, this code works to adjust the viewpoint, but only after a brief flash of the unaltered viewpoint: import vlc p = vlc.MediaPlayer('V1.mp4") p.play() v = vlc.VideoViewpoint() v.yaw = 100 p.video_update_viewpoint(v,False) while p.get_state() != 6: continue Whereas the following code does not r...
by InsetStory
31 May 2018 02:57
Forum: Development around libVLC
Topic: Python-VLC 360 Video runtime error
Replies: 10
Views: 1231

Re: Python-VLC 360 Video runtime error

There was a bug but after reporting it the developer has patched it, the variables can now be assigned and the viewpoint updated. However-- I can't update the viewpoint before playing the video, it simply doesn't acknowledge the change when I play. If I set the command to update the viewpoint just a...
by InsetStory
13 May 2018 23:21
Forum: Development around libVLC
Topic: Python-VLC 360 Video runtime error
Replies: 10
Views: 1231

Re: Python-VLC 360 Video runtime error

The developer of python-vlc patched the issue with FFI. However, I am still trying to figure out the proper procedure for setting the desired variables and have not had success so far. Could you explain how you would implement a very basic yaw change, for example, in the c libvlc code with a single ...
by InsetStory
11 May 2018 04:24
Forum: Development around libVLC
Topic: Python-VLC 360 Video runtime error
Replies: 10
Views: 1231

Re: Python-VLC 360 Video runtime error

Tried that version and no go as well. Took your advice and opened the issue. I'll update here if I find out more.
by InsetStory
10 May 2018 01:25
Forum: Development around libVLC
Topic: Python-VLC 360 Video runtime error
Replies: 10
Views: 1231

Re: Python-VLC 360 Video runtime error

Thanks for the reply! Yes, the file you linked to is the one I'm using, and it definitely crashing when trying to run the interop code. Here's the whole crash message I get when running the above code: Traceback (most recent call last): File "sample.py", line 9, in <module> view = vlc.libv...
by InsetStory
08 May 2018 02:36
Forum: Development around libVLC
Topic: Python-VLC 360 Video runtime error
Replies: 10
Views: 1231

Python-VLC 360 Video runtime error

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('S...

Go to advanced search