subp2pgm(1) - Linux man page
Name
subp2pgm - convert VobSub DVD subtitles into pgm files and srt templateSynopsis
subp2pgm [-hvf] [-o output] [-s sid] vobsubDescription
subp2pgm takes two files as input, which should be named <vobsub>.idx and <vobsub>.sub, where vobsub is the basename of the files.
subp2pgm outputs one .pgm graphics file for each subtitle image, and a .srt template file with correct timing annotation, where each subtitle entry is replaced with the corresponding graphics file entry with .txt appended.
After OCR conversion, such a file can be transformed into a proper srt file by srtutil(1). The options are as follows:
- -h, --help
- Display usage and quit.
- -v, --verbose
- Increase verbosity level.
- -f, --forced
- Extract forced subtitles only.
- -o, --output output
- Basename for all .pgm output files and the .srt template.
- -s, --sid sid
- Selects subtitle id from a vobsub file with several subtitle streams. Defaults to 0.