[vlc-devel] [PATCH 10/15] libvlc: add the API needed to set/get the viewpoint in 360° videos

Steve Lhomme robux4 at gmail.com
Sat Nov 5 10:13:47 CET 2016


On Sat, Nov 5, 2016 at 9:58 AM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le perjantaina 4. marraskuuta 2016, 18.08.53 EET Steve Lhomme a écrit :
>> +LIBVLC_API int libvlc_video_get_viewpoint( libvlc_media_player_t *p_mi,
>> +                                           libvlc_video_viewpoint_t
>> *p_viewpoint ); +
>
>> +LIBVLC_API int libvlc_video_set_viewpoint( libvlc_media_player_t *p_mi,
>> +                                           const libvlc_video_viewpoint_t
>> *p_viewpoint ); +
>
> Missing a parameter to specify the video output? Or are we assuming that all
> video outputs always have the same viewpoint? That would seem like a dubious
> assumption. In fact, I could rather imagine that a single video could be
> duplicated to multiple outputs, synchronously with different angles.

I agree that would be a very good use case. Unfortunately the libvlc
currently doesn't seem to offer a good way to identify which vout is
which. When creating a vout wall can we assume which screen number is
which via libvlc ? Otherwise I think we should keep such a refactoring
API/changing for VLC 4.0.

> --
> Rémi Denis-Courmont
> http://www.remlab.net/
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list