logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

subptools - manipulates xml subtitles files

Authors

       Manual page by Marc Espie, Olivier Rolland

Linux                                           January 20, 2007                                    SUBPTOOLS(1)

Description

       The subptools command performs various manipulations on xml subtitles files,  acting  as  a  filter  from
       standard input to standard output unless -i or -o options are used.

       subtools  can  be  used  to handle so-called xml subtitles files, where each subtitle entry is actually a
       filename to be substituted for the entry, or to adjust timestamps on each subtitle entry.

       The options are as follows:

       -a,--adjusthh:mm:ss,ms
              Adjust all time stamps so that the first tag begins at hh:mm:ss,ms.

       -c,--cutfirst[,last]
              Write only entries numbered from first to last, where last defaults to the last entry of the file.

       -d,--shiftseconds
              Shift all time stamps by seconds seconds.

       -e,--expandseconds
              Expand the subtitle hour by seconds seconds.

       -c,--convertformat
              Convert the xml subtitles file into a srt (default) or spumux file.

       -h,--help
              Display usage and quit.

       -i,--inputfilename
              Use file filename for input, defaults to stdin.

       -o,--outputfilename
              Use file filename for output, defaults to stdout.

       -r,--renumber
              Renumber all entries.

       -s,--subst
              Substitute filename in each subtitle entry by the file contents.

       -v,--verbose
              Verbose mode.

       -w,--strip
              Remove leading white space

Name

       subptools - manipulates xml subtitles files

See Also

subp2pgm(1) spumux(1)

Synopsis

       subptools  [-hrsvw]  [-a hh:mm:ss,ms] [-c first[,last]] [-d seconds] [-e seconds] [-i file] [-o file] [-t
       format]

See Also