#!/usr/bin/env perl use strict; use warnings; use lib 'lib'; use utf8; use Getopt::Long; use Subtitle::Format::SSA; sub usage { my ($msg) = @_; print $msg, "\n" if $msg; print < [] -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. Common options: -h This help. -i Input file. (mandatory). -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