SUBPTOOLS(1)
β¨ NAME β¨
subptools β manipulates xml subtitles files π
π SYNOPSIS π
subptools [-hrsvw] [-a hh:mm:ss,ms] [-c first[,last]] [-d seconds] [-e seconds] [-i file] [-o file] [-t format]
πΈ DESCRIPTION πΈ
okay so bestie, subptools does various manipulations on xml subtitles files, and the whole vibe is that it acts as a filter β standard input to standard output β unless you go and use the -i or -o options. that's it, that's the energy. π
and 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. two whole moods. iconic. β¨
The options are as follows β buckle up, there's a bunch π«Ά
-a,--adjust hh:mm:ss,msβ adjust all time stamps so that the first tag begins athh:mm:ss,ms. like, the first one gets parked there and everything else follows along. slay.-c,--cut first[,last]β write only entries numbered fromfirsttolast. and if you don't bother giving alast? it defaults to the last entry of the file. convenient fr fr π-d,--shift secondsβ shift all time stamps bysecondsseconds. little nudge, big difference.-e,--expand secondsβ expand the subtitle hour bysecondsseconds. yes, the hour. no cap.-c,--convert formatβ convert the xml subtitles file into asrtfile (that's the default, bestie) or aspumuxfile. π
not me noticing that-cliterally shows up twice in this page β once for--cutand once for--convert. that's what the original says, i'm just the messenger, i don't make the rules π
-h,--helpβ display usage and quit. your lil escape hatch π«Ά-i,--input filenameβ use filefilenamefor input, defaults to stdin.-o,--output filenameβ use filefilenamefor output, defaults to stdout.-r,--renumberβ renumber all entries. clean slate energy π-s,--substβ substitutefilenamein each subtitle entry by the file contents. the whole filename-becomes-contents thing. main character behaviour.-v,--verboseβ verbose mode. it talks. a lot. we love a yapper π-w,--stripβ remove leading white space. bye bye, stray spaces βοΈ
π¦ SEE ALSO π¦
go read those too, bestie, they're right there πΈ
π AUTHORS π
manual page by Marc Espie, Olivier Rolland π
and that's the whole page!! this one's the SUBPTOOLS(1) situation from the User Manuals crew, and it's dated January 20, 2007 on Linux β ancient text, still serving looks β¨π bye bestie!!
π¦ where this page comes from
- debian trixie: ogmrip 1.0.1-5 Β· GPL-2.0-or-later
- ubuntu jammy: ogmrip 1.0.1-3.1 Β· GPL-2.0-or-later
- ubuntu questing: ogmrip 1.0.1-5build1
- ubuntu resolute: ogmrip 1.0.1-5build2 Β· GPL-2.0-or-later
- ubuntu stonking: ogmrip 1.0.1-5build2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms