Method | Description | |
---|---|---|
AreSyncPointsValid ( |
||
Scale ( System.TimeSpan currentTime, System.TimeSpan baseTime, double factor ) : System.TimeSpan | ||
Scale ( double currentFrame, double baseFrame, double factor ) : double | ||
Sync ( |
||
Sync ( |
Auto syncs a range of subtitles given their first and last correct times. The subtitles are first shifted to the first subtitle's correct time, and then proportionally adjusted using the last subtitle's correct time. |
|
Sync ( |
Auto syncs a range of subtitles given their first and last correct frames. The subtitles are first shifted to the first subtitle's correct frame, and then proportionally adjusted using the last subtitle's correct frame. |
Method | Description | |
---|---|---|
AreSyncArgsValid ( |
||
AreSyncArgsValid ( |
||
AreSyncIndicesValid ( |
public static AreSyncPointsValid ( |
||
subtitles | ||
start | ||
end | ||
return | bool |
public static Scale ( System.TimeSpan currentTime, System.TimeSpan baseTime, double factor ) : System.TimeSpan | ||
currentTime | System.TimeSpan | |
baseTime | System.TimeSpan | |
factor | double | |
return | System.TimeSpan |
public static Scale ( double currentFrame, double baseFrame, double factor ) : double | ||
currentFrame | double | |
baseFrame | double | |
factor | double | |
return | double |
public static Sync ( |
||
subtitles | ||
start | ||
end | ||
syncLast | bool | |
return | bool |
public static Sync ( |
||
subtitles | The subtitles to sync. | |
startIndex | int | The subtitle index to start the adjustment with. |
startTime | System.TimeSpan | The correct start time for the first subtitle. |
endIndex | int | The subtitle index to end the adjustment with. |
endTime | System.TimeSpan | The correct start time for the last subtitle. |
syncLast | bool | Whether to sync the last subtitle. |
return | bool |
public static Sync ( |
||
subtitles | The subtitles to sync. | |
startIndex | int | The subtitle index to start the adjustment with. |
startFrame | int | The correct start frame for the first subtitle. |
endIndex | int | The subtitle index to end the adjustment with. |
endFrame | int | The correct start frame for the last subtitle. |
syncLast | bool | Whether to sync the last subtitle. |
return | bool |