subtitle2pgm --version (return code: 0)
subtitle2pgm: Using libpbm from Netpbm Version: Netpbm 10.0
subtitle2pgm: BSD defined
subtitle2pgm: RGB_ENV='RGBDEF'
subtitle2pgm: RGBENV= 'RGBDEF' (env vbl is unset)
subtitle2pgm -h (return code: 0)
Convert a subtitle stream to pgm images
subtitle2pgm [options]
subtitle2pgm expects a subtitle stream as input.
Use
tcextract -x ps1 -t vob -a 0x20 -i file.vob
to make a subtitle stream from a VOB and pipe its output
directly into subtitle2pgm.
Options:
-i <file_name> Use file_name for input instead of stdin.
-o <base_name> Use base_name for output files
default: movie_subtitle
-c <c0,c1,c2,c3> Override the default grey levels.
default: -c 255,255,0,255
Valid values: 0<=c<=255
-g <format> Set output format to 0=PGM (default),
1=PPM, 2=PGM.GZ, 3=PNG_GRAY, 4=PNG_GRAY_ALPH, 5=PNG_RGBA
-t <format> Set tag file format 0=srtx (default) 1=dvdxml
-l <seconds> Add <seconds> to PTS for every DVD-9 layer skip
(default 0.0)
-C <boarder> Crop image but keep <boarder> pixels if possible
(default is < 0 = don't crop at all)
-e <hh:mm:ss,n> extract only n subtitles starting from hh:mm:ss
-v verbose output
-P progress output
Version 0.3 (alpha) for >transcode-0.6.0