[FFmpeg-trac] #9447(avfilter:closed): avfilter/vf_v360 interprets commands as relative rotation offsets

FFmpeg trac at avcodec.org
Fri Oct 22 10:28:49 EEST 2021


#9447: avfilter/vf_v360 interprets commands as relative rotation offsets
------------------------------------+------------------------------------
             Reporter:  Saul Baker  |                    Owner:  (none)
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:  invalid
             Keywords:  v360        |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Comment (by Michael Koch):

 > I changed option to always be active, and to be toggle only if set to
 -1.

 Paul,

 What you are trying to implement is rotational velocity for the yaw, pitch
 and roll axes. I suggest not to call it "relative rotation" but instead
 "rotational velocity". Don't specify it as an angle, but instead as angle
 per second, so that it becomes independant of framerate.

 At the moment we have this situation:
 In the command line it's possible to specify yaw, pitch and roll angles,
 but it's not possible to specify rotational velocity.
 In sendcmd it's possible to specify rotational velocity (in the unit angle
 per frame), and specifying absolute yaw, pitch and roll angles is also
 possible with the "reset_rot=-1" workaround, but in my opinion this is
 complicated not user-friendly.

 My suggestion:
 We should clearly distinguish between angles and rotational velocities.
 Use different options for these different things. Then both of them could
 be specified in the command line and also both of them could be specified
 via sendcmd. That would be much clearer and easy to use.

 Michael
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9447#comment:38>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list