View Single Post
Old 29th June 2012, 22:02   #1017  |  Link
SassBot
Guest
 
Posts: n/a
Ok, this should hopefully be the latest beta version until I push the 1.0.0 release. The CLI options parsing is finally done. Please bang on it to see if this switch over introduced any bugs that I might have missed. It also now supports the "move-x origin" option you wanted, r0lz.

As always, the download is here.

Below is the latest version of the help output with all the options.

Code:
Syntax:
bdsup2sub++ [options] -o outfile infile

Options:
 -h, --help             List options
 --load-settings        Set to load settings stored in INI file.
 --resolution x         Set resolution to 480, 576, 720 or 1080. Default: 576.
                        Supported values: keep, ntsc=480, pal=576, 1440x1080.
 --fps-source x         Synchronize source frame rate to <x>. Default: auto.
                        Supported values: 24p=23.976, 25p=25, 30p=29.967.
 --fps-target x         Convert the target frame rate to <x>. Default: keep.
                        Supported values: 24p=23.976, 25p=25, 30p=29.967.
 --delay x              Set delay in ms. Default: 0.0.
 --filter x             Set the filter to use for scaling. Default: bilinear.
                        Supported values: bilinear, triangle, bicubic, bell,
                        b-spline, hermite, lanczos3, mitchell.
 --palette-mode x       Palette mode: keep, create, dither. Default: create.
 --minimum-time x       Set the minimum display time in ms. Default: 500.
 --merge-time x         Set max time diff to merge subs in ms. Default: 200.
 --move-in-ratio x      Move captions from inside screen ratio <x>.
 --move-out-ratio x     Move captions from outside screen ratio <x>.
 --move-y-offset x      Set optional +/- offset to move captions by.
 --move-x x             Move captions horizontally from specified position.
                        Supported values: left, right, center, origin.
 --move-x-offset x      Set optional +/- offset to move captions by.
 --crop-y x             Crop the upper/lower n lines. Default: 0
 --alpha-crop x         Set the alpha cropping threshold. Default: 10
 --scale-x x            Scale captions horizontally by factor. Default 1.0.
 --scale-y x            Scale captions vertically by factor. Default 1.0.
 --export-palette       Export target palette in PGCEdit format.
 --forced-only          Export only forced subtitles.
 --force-all x          Set or clear the forced flag for all subpictures.
                        Supported values: set/clear.
 --swap                 Swap Cr/Cb components.
 --fix-invisible        Fix zero alpha frame palette.
 --verbatim             Switch on verbatim console output mode.

Options only for SUB/IDX or SUP/IFO as target:
 --alpha-thr x          Set alpha threshold 0..255. Default 80.
 --med-low-thr x        Set luminance low/med threshold 0..255.
 --med-hi-thr x         Set luminance med/hi threshold 0..255.
 --language x           Set language to <n>. Default: de (Vobsub Only).
 --palette-file x       Load palette file <n>. Overrides default palette.

Output:
 -o x, --output x       Specify output file.

Wildcard support:
Use "*" for any character and "?" for one character in the source name
Use exactly one "*" in the target file name.
Example:
bdsup2sub++ --resolution 720 --fps-target 25p -o dvd_*.sub 'movie* 1?.sup'
Press <RETURN> to close this window...
  Reply With Quote