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

FFmpeg trac at avcodec.org
Sat Oct 16 22:07:50 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 Saul Baker):

 Seems to work exceeding well for the sendcmd usecase, it doesn't even need
 to be stated on every line, as long as there exists a single expression
 that has an interval that covers all of the rotations it seems to be
 emitted and works like a dream:

 5.022-28.996 [expr] v360 reset_rot '1';
 5.022-5.022  [expr] v360 pitch 'lerp(0,-43.100,TI)', [expr] v360 yaw
 28.862-28.996  [expr] v360 pitch 'lerp(-13.754,-13.670,TI)', [expr] v360
 yaw 'lerp(9.562,9.562,TI)';

 As long as all changing rotations are pushed each frame by eval it all
 works as smooth as it ever was!

 There are some interesting discontinuities when looking around the very
 edges of the 'frame' where the yaw is approaching the limits - it seems to
 be increasing what looks like the roll, I'll see how the various rotation
 orders affect it.

 Great workaround, and thanks again Paul!
Ticket URL: <https://trac.ffmpeg.org/ticket/9447#comment:17>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list