Changes between Version 13 and Version 14 of Xfade


Ignore:
Timestamp:
Apr 21, 2023, 9:55:46 AM (3 years ago)
Author:
slhck
Comment:

grammar and better explanation for offset

Legend:

Unmodified
Added
Removed
Modified
  • Xfade

    v13 v14  
    55= Offset Parameter =
    66
    7 If it is not obvious by logical reasoning, the offset parameter should be set to value such as full duration of transition is possible between two videos, thus offset parameter into first video stream should not be greater than duration of first video minus duration of transition itself and also duration of second video should be at least long as transition duration itself.
     7The `offset` parameter determines when the crossfade starts.
     8
     9It should be set to a value that enables the full duration of the transition between the two videos. The offset parameter in the first video stream should not be greater than the duration of the first video minus the duration of the transition itself.
     10
     11For example, if your first video is 8 seconds long, and your transition is 1 second long, the offset must be less than or equal to (8-1) = 7.
     12
     13Also, the duration of the second video should be at least as long as the duration of the transition itself, meaning that in the above example, the second video's duration must be equal to or greater than 1.
     14
     15To calculate the offset for subsequent videos, you have to factor in the previous crossfade offsets and the duration of the current video. See this [https://stackoverflow.com/a/63570355/435093 example on Stack Overflow].
    816
    917= Examples =