It looks subtitle2pgm is not accepting the -X parameter.
Here is the DVDshrink output:
DVDSHrink Function Status
Elapsed
Checking for A/V desynchronization Done!
[00:00:30]
Reading the chapter list Done!
[00:00:30]
Ripping Title Done!
[00:44:44]
Resizing MPEG2 video stream Done!
[01:09:35]
Remultiplexing Working!Error!
Done! [01:27:58]
Creating subtitle images Working!Error!
DVDShrink has failed!
Error:
-> subtitle2pgm reported an error creating
subtitle images
Command run:
-> nice -+19 subtitle2pgm -i
/tmp/TERMINATOR2/TERMINATOR2.sub -o
/tmp/TERMINATOR2/SUBPGM/TERMINATOR2 -X720,480 -g 5 -t 1 2>
/tmp/TERMINATOR2/subtitle2pgmdebug.txt
Check all your files etc. If it appears that the
problem is
ephemeral restart the script with 'dvdshrink --restart'
End of command output
---------------------------------------
nice: `-+19' option is obsolete; use `-n -+19' since
this will be
removed in the future
Unknown option. Use -h for list of valid options.
======================
And here is subtitletopgm usage:
subtitle2pgm -h
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
============
subtitletopgm is included with subtitleripper-0.3.4
from gentoo.
Logged In: YES
user_id=564639
I see. The problem is that the latest SF release of
subtitleripper (0.3.4) was in 2003. The -X option was added
9 months ago.
It appears the only way to get a version of subtitleripper
that works would be to checkout via CVS. Hopefully
dvdshrink can check the version, and possibly not use the -X
flag.
http://sourceforge.net/project/showfiles.php?group_id=48235
http://cvs.sourceforge.net/viewcvs.py/subtitleripper/subtitleripper/src/subtitle2pgm.c?rev=1.16&view=log
Logged In: YES
user_id=1238047
I'll add it to the todo list. Thanks for the feedback.