Menu

#1 Script dies when calling subtitle2pgm

open
nobody
None
5
2005-07-31
2005-07-31
gente libre
No

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.

Discussion

  • Rick Saunders

    Rick Saunders - 2005-08-02

    Logged In: YES
    user_id=1238047

    I'll add it to the todo list. Thanks for the feedback.

     

Log in to post a comment.

MongoDB Logo MongoDB