[vlc-devel] [PATCH v5 00/24] Get rid of the control command API

Alexandre Janniaux ajanni at videolabs.io
Thu Aug 27 17:22:03 CEST 2020


On Thu, Aug 27, 2020 at 05:43:54PM +0300, Rémi Denis-Courmont wrote:
> Le torstaina 27. elokuuta 2020, 7.46.41 EEST Steve Lhomme a écrit :
> > > Why not? If your monitor resolution is 100x times that of the original
> > > video, it makes perfect sense that the speed is 100x if you measure video
> > > pixel speed. Indeed, until recently, hotkeys did not even care about
> > > mouse coordinates - only clicks. And the current rare usage (VR) has
> > > always been done with video coordinates.
> >
> > This is wrong. If you mouse your mouse one pixel left, in VR, the video
> > should "rotate" by one pixel as well. It doesn't matter if your screen
> > is hidpi or you magnified the video 100x.
> AFAICT, VR is measured in angles. It does not matter if you move one pixel
> within the window resolution, or one sample within the video resolution. And
> if the video is upside down, then going up in the window coordinates should go
> down in the video coordinates and viewpoint angle.

I confirm, but it's a bit confusing here to talk about VR.
The real case is about 360 videos, in which case hotkeys
currently doesn't convert pixel coordinates into angles
anyway, and just use an arbitrary scale factor on the mouse

Alexandre Janniaux

More information about the vlc-devel mailing list