[FFmpeg-trac] #9447(avfilter:new): avfilter/vf_v360 interprets commands as relative rotation offsets
FFmpeg
trac at avcodec.org
Sun Oct 3 23:16:06 EEST 2021
#9447: avfilter/vf_v360 interprets commands as relative rotation offsets
-------------------------------------+-------------------------------------
Reporter: Paul Baxter | Type: defect
Status: new | Priority: normal
Component: avfilter | Version: git-
| master
Keywords: v360 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Use sendcmd to update the yaw,pitch or roll values of the v360 filter,
contrary to the behaviour of other filters, the value sent is interpreted
as an offset to apply to the current value rather than a value to set the
property to.
This behaviour was switched in
https://github.com/FFmpeg/FFmpeg/commit/d6e903b09b29fece449de37d5f8d6b20f3aa3333
This makes the filter stateful and hard to deal with, for example a smooth
pan can no longer be achieved by applying lerp between two timestamps and
instead spins the view wildly, generally position cannot be set to a known
value without tracking an external copy of the rotation state.
The stateful 'relative rotation' approach seems at odds with the other
filter behaviours that set the filter values rather than mutate them.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9447>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list