VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Apr 2017
    Location
    Spain
    Search PM
    Hi,

    I would like to know a way to convert .srt subtitltes to Blu-ray BDN text subtitles (TextST format, not PGS), to import them in Scenarist BD, or at least the right Sony BDN xml format should I use to create a "Custom text format template" in Subtitle Edit.

    Or maybe someone how has Lemony Pro (which I think it can do it) could export a simple BDN xml script (blu-ray text) with just one or two subtitles, just to see the right format.

    After many hours of trial and error trying to fix Scenarist errors, I ended with this xml:

    Code:
    <?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="easySUP" Content=""/>
    <Language Code="eng"/>
    <Format VideoFormat="720p" FrameRate="50" DropFrame="false"/>
    <Events LastEventOutTC="00:00:06:00" FirstEventInTC="00:00:02:00"
    ContentInTC="00:00:00:00" ContentOutTC="01:56:04:00" NumberofEvents="2" Type="Text" CharacterCode="1"/>
    </Description>
    <Palettes>
    	<Palette PaletteID="1" ColorMode="RGB">
    		<Palette Entry="1" Index="1" Y_R="0" Cb_G="0" Cr_B="0" T_A="255"/>
    		<Palette Entry="2" Index="2" Y_R="255" Cb_G="255" Cr_B="255" T_A="255"/>
    	</Palette>
    </Palettes>
    <Fonts>
    	<Font FontID="0" FontFile="0000.otf">
    	</Font>
    </Fonts>
    <TextRegions>
    	<RegionCount RegionStyleID="0"> 
    		<RegionStyle RegionHorizontalPosition="0" RegionVerticalPosition="0" RegionWidth="1000" RegionHeight="150" RegionPaletteID="1" BackgroundPaletteEntryID="1"/>
    		<TextBox TextBoxHorizontalPosition="0" TextBoxVerticalPosition="0" TextBoxWidth="500" TextBoxHeight="150" TextFlow="1" TextHorizontalAlignment="2" TextVerticalAlignment="1"/>
    		<LineSpace LineSpace="24"/>
    		<FontInfo FontID="0" FontSize="24" FontStyle="1" FontPaletteEntryID="1" FontOutlinePaletteEntryID="2" FontOutlineThickness="3"/>
    	</RegionCount> 
    </TextRegions>
    <Events>
    <Event Forced="False" InTC="00:00:02:00" OutTC="00:00:06:00">
    <Text RegionStyleID="0">TEXTO</Text>
    </Event>
    </Events>
    </BDN>
    But now I get this error:
    Code:
    Error : Length of Text element value is an odd number.
    And if I add one character of text it just shows this error:

    Code:
    Error : Parse Error
     <Events> <Event>#1 <Text>
    And I don't know what more to try...
    Quote Quote  
  2. use Subtitleedit. Visit https://www.nikse.dk for the latest version.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!