Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > General > Subtitles

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 17th July 2012, 15:47   #1  |  Link
Posts: n/a
BDSup2Sub++ - convert and tweak bitmap subtitle streams (VobSub,BD-SUP,BDN XML,HD-SUP

Moderator Note: As paradoxical has assumed responsibility for continued development of this tool, the discussion is moved to:


and this thread is closed. Thank you, SassBot, for your work and thank you, paradoxical, for your willingness to assume responsibility.

----- [resume original SassBot posting]

So as to separate from the other BDSup2Sub thread, I am creating a separate thread for my port BDSup2Sub++. For anyone who hasn't been following this is a port of the original BDSup2Sub to C++/Qt that I did in hopes of reviving what was a stagnating project. It has all the same functionality as the original version with some additional fixes and enhancements (such as proper support for importing SUB/IDX with multiple languages). If you have any issues or enhancement requests please post them in this thread or here. The CLI syntax has been modified and is listed below.

BDSup2Sub++ 1.0.0 0xdeadbeef, mjuhasz, Adam T.
bdsup2sub++ [options] -o outfile infile

 -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.
 --no-export-palette    Do not export palette file.
 --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.
 --no-fix-invisible     Do not fix zero alpha frame palette.
 --fix-invisible        Fix zero alpha frame palette.
 --no-verbatim          Switch off verbatim console output mode.
 --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.

 -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.
bdsup2sub++ --resolution 720 --fps-target 25p -o dvd_*.sub 'movie* 1?.sup'
Current version is 1.0.0 (17/7/2012):
Download link: here.

Currently I only am providing Windows builds, but the source can be obtained here if you want to build yourself. If anyone can provide OS X builds that would be great since I do not have access to a Mac, though you will need at least GCC 4.7.0 or some other compiler with support for all the C++11 features I use.

For Linux support, I am currently working to get this uploaded into Debian Testing. For Arch users, check this out. I will also look into making packages for other distros as it is feasible due to the GCC version requirement.

Last edited by Guest; 28th January 2013 at 22:44.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 23:19.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.