diff --git a/bin/ssa-retime b/bin/ssa-retime index 4f97422..38f4b76 100755 --- a/bin/ssa-retime +++ b/bin/ssa-retime @@ -7,6 +7,9 @@ use utf8; use Getopt::Long; use Subtitle::Format::SSA; +use Subtitle::TimePoint; + +my @points; sub usage { my ($msg) = @_; @@ -15,9 +18,9 @@ sub usage { Usage: ssa-retime [] -i [ -o ] Modes are: - * framerate Retime whole file from one fps to another. - * points Retime file specifying point(s) & time shift for it. - * shift Shift whole file or it's part for given time. + * framerate Recalculate timing for different fps + * shift Shift timing in given points + * drift Adjust timing of whole file by time points Common options: -h This help. @@ -25,83 +28,77 @@ Common options: -o Output file. Default: write to stdout. -v Be verbose. -Specific options for 'shift' mode: - -S Retime only events with specified style. - This option may be given more than once. - -s