Control Panel | |
Source Panel | |
Target Panel | |
Console Panel | Preview Panel |
Control Panel | |
Preview Panel | |
Times Panel | Position Panel |
Flags Panel | Patches Panel |
Buttons Panel |
<?xml version="1.0"
encoding="UTF-8"?> <BDN Version="0.93" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BD-03-006-0093b BDN File Format.xsd"> <Description> <Name Title="BDN Example" Content=""/> <Language Code="eng"/> <Format VideoFormat="720p" FrameRate="23.976" DropFrame="False"/> <Events Type="Graphic" FirstEventInTC="00:00:00:00" LastEventOutTC="02:26:38:18" NumberofEvents="22"/> </Description> <Events> <Event InTC="00:00:00:00" OutTC="00:00:05:00" Forced="False"> <Graphic Width="1" Height="1" X="0" Y="0">subtitles_0001.png</Graphic> </Event> ... <Event InTC="02:26:35:12" OutTC="02:26:38:18" Forced="False"> <Graphic Width="601" Height="88" X="343" Y="511">subtitles_0022.png</Graphic> </Event> </Events> </BDN> |
02:26:38:18 (time code in
XML) 2 hours = 2*60*60 seconds = 7200s 26 minutes = 26*60 seconds = 1560s 38 seconds = 38s 18 frames = 18/24 s = 750ms In sum this equals 8798750 ms. Now since the given frame rate is really 23.976Hz, this value is multiplied by 1.001 This equals 8807548.75ms This equals 2 hours, 26 minutes, 47 seconds and 549ms 2:26:47.549 (real time code displayed in BDSup2Sub) |
keyword | example | remark |
size | size: 720x576 | screen size: mandatory |
org | org: 10, 10 | origin: x,y position of upper left corner in pixels. Optional. |
scale | scale: 104%, 164% | scaling factors for image:
Ignored
(use conversion dialog settings or CLI options instead) |
alpha | alpha: 0% | global alpha blending factor: Ignored. |
smooth | smooth: OFF | apply smoothing algorithm: Ignored. |
fadein/out | fadein/out: 50, 50 | create fade in/out (times in ms): Ignored. |
align | align: OFF at LEFT TOP | force caption placement: Ignored. |
time offset | time offset: 0 | Global delay in in ms or hh:mm:ss:ms: Optional |
forced subs | forced subs: OFF | Show only forced captions:
Ignored. (use export dialog setting or CLI options instead) |
palette | palette: 000000, 141207, [...], bdab4f | 16 color DVD subtitle palette: mandatory |
custom colors | custom colors: OFF, tridx: 1111, colors: 000000, [...], bdab4f | Global palette/alpha setting: Ignored. |
langidx | langidx: 7 | Active language index: mandatory |
id, index | id: en, index: 7 | Language ID and caption
index: mandatory (at least one index in the file must fit langidx) |
timestamp, filepos | timestamp: 00:01:47:520, filepos: 000000000 | Timestamp and file offset of one caption: mandatory |
/res:<n> | set
output resolution to either 480, 576, 720 or 1080 - default 576. You can also use "pal", "ntsc", "720p" or "1080p" instead. For 1440x1080 use "/res:1440x1080" Use "/res:keep" to keep the resolution of the source |
/dly:<n> | set delay in ms - default: 0.0. Will be synchronized to target frame rate. |
/forced[+/-] | export only forced subtitles - default: off (all subtitles are exported). |
/forceall[+/-] | set/clear forced flag for all subs - default: off (keep) |
/swap[+/-] | swap Cr/Cb components - default: off (don't swap). |
/tmin:<t> | set minimum display time in ms - default: 500 |
/tmerge:<t> | set
maximum time difference for merging captions in ms - default: 200 Note: currently only supported for BD-SUPs |
/fps:<src>,<trg> | convert frame rate from <src> to
<trg> given as floating point values. Predefined values; 24p=23.976, pal or 25p=25, ntsc or 30p=29.967 /fps:auto,<t> detects source frame rate automatically |
/fps:<trg> | synchronize
target frame rate to <trg>.
Default: automatic (dumb!). Predefined values; 24p=23.976, pal or 25p=25, ntsc or 30p=29.967 "/fps:keep" preserves the source fps (for BD&XML, else default) |
/filter:<f> | set scaling filter - default: bilinear. Supported types: bilinear, triangle, bicubic, bell, b-spline, hermite, lanczos3, mitchell |
/movin:<r>[,<o>] | move captions inside screen ratio <r>, plus/minus offset <o> |
/movout:<r>[,<o>] | move captions outside screen ratio <r>, plus/minus offset <o> |
/movex:<t>[,<o>]] | move
captions horizontally. <t> may be "left", "right" or
"center". +/- optional offset <o> (only used if moving left or right) |
/cropy:<n> | crop the upper and lower n lines - default: 0 |
/acrop:<n> | set alpha cropping threshold - default: 10 |
/scale:<x>,<y> | scale captions with free factors - default: 1.0,1.0 (min: 0.5, max: 2.0) |
/exppal[+/-] | export target palette in PGCEdit text format - default: off (don't export) |
/fixinv[+/-] | fix zero alpha frame palette - default: off
(don't fix) Note: ignored if import format is neither SUB/IDX nor SUP/IFO. |
/verbatim[+/-] | switch on verbatim console output mode - default: off |
/palmode:<s> | palette mode: keep, create, dither -
default: create Note: if the export format is SUB/IDX, but the import format isn't, this setting is ignored. If both input and output format are SUB/IDX, "dither" is identical to "create". |
/atr:<n> | set alpha threshold 0..255. Default 80 |
/ltr1:<n> | set luminance low/mid threshold 0..255. Default automatic. |
/ltr2:<n> | set luminance mid/high threshold 0..255. Default automatic. |
/lang:<s> | set language to string <s> (e.g. "en" for
English or "de" for German). Default: "de" For a complete list, try /lang:? Note that this also works for XML and BD-SUP exports, yet the full language selection is limited. |
/pal:<s> | load palette file named <s> (ini files exported from BDSup2Subs color edit dialog) |
Windows
Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.sup] @="SUP BD/HD-DVD caption stream" [HKEY_CLASSES_ROOT\.sup\shell] [HKEY_CLASSES_ROOT\.sup\shell\open] [HKEY_CLASSES_ROOT\.sup\shell\open\command] @="E:\\dev\\java\\jre_6_0\\bin\\javaw.exe -jar d:\\src\\java\\BDSup2Sub\\BDSup2Sub.jar \"%1\"" |
#BDSup2Sub
3.9.5 settings - don't modify manually #Sat Jun 27 13:28:05 CEST 2009 fixZeroAlpha=true filter=Mitchell loadPath=D\:\\src\\Java\\BDSup2Sub\\reference\\colored-forced.idx mergePTSdiff=18000 frameHeight=600 framePosY=197 framePosX=241 alphaCrop=14 frameWidth=799 verbatim=true savePath=D\:\\src\\Java\\BDSup2Sub\\reference\\colored-forced.idx colorPath= paletteMode=keep existing |
Repository URL | http://javaforge.com/svn/bdsup2sub |
login | anonymous |
password | anon |