Page MenuHome

VSE: Improved Retiming system
ClosedPublic

Authored by Richard Antalik (ISS) on May 16 2022, 8:23 PM.

Details

Summary

Patch implements better way to control playback speed than it is possible
to do with speed effect.

There are 2 layers of control:

  • Option to retime movie to match scene FPS rate.
  • Custom speed factor to control playback rate.

Since playback rate is strip property, it is now possible to manipulate
strip as normal one even if it is retimed.

To facilitate manipulation, some functions need to consider speed factor
and apply necessary corrections to strip offset or strip start. These
corrections may need to be float numbers, so start and offsets must be
float as well.

Sound strips now use speed factor instead of pitch. This means, that strips
will change length to match real length. In addition, it is possible to group
movie and sound strip and change speed of meta strip.

Diff Detail

Repository
rB Blender
Branch
retiming_2 (branched from master)
Build Status
Buildable 22451
Build 22451: arc lint + arc unit

Event Timeline

Richard Antalik (ISS) requested review of this revision.May 16 2022, 8:23 PM
Richard Antalik (ISS) created this revision.
  • Fix issues after recent changes
  • Fix issues after recent changes
  • Simplify offset handling
Richard Antalik (ISS) edited the summary of this revision. (Show Details)Jun 3 2022, 4:14 PM
Richard Antalik (ISS) edited the summary of this revision. (Show Details)
  • Fix xxx's
  • Make retiming to scene FPS optional
  • Fix build error
  • Fix one more build error
  • Fix more build errors..
  • Fix more build errors..

Rebase, fix crash when transforming

  • Fix drawing glitch
  • Bit of cleanup, use speed factor for sound too.
  • Apply meta strip speed to sound strips
  • Supply scene to seq_cmp_time_startdisp_channel function
  • Copy sound pitch into speed factor
  • Remove strip pitch property, only speed factor is used in code.
Richard Antalik (ISS) retitled this revision from [WIP] VSE retiming to VSE: Improved Retiming system.Jun 28 2022, 9:27 PM
Richard Antalik (ISS) edited the summary of this revision. (Show Details)
Richard Antalik (ISS) edited the summary of this revision. (Show Details)
  • Cleanup
This revision is now accepted and ready to land.Jun 29 2022, 10:23 AM