Selur
23rd January 2012, 00:19
Is there some limitation on what sort of fonts can be used for ttxt subtitles? (I assumed it would be fine to use all the fonts that are present in the fonts folder of the system,..)
I was wondering if I am doing something wrong or are the font declarations inside a ttxt file just ignored by mplayer, vlc and mpc-hc?
My ttxt file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!--GPAC 3GPP Text Stream-->
<TextStream version="1.1">
<TextStreamHeader width="" height="" translation_x="0" layer="0" translation_y="0">
<TextSampleDescription verticalText="no" horizontalJustification="center" verticalJustification="bottom" backColor="00000000" fillTextRegion="no" continuousKaraoke="no" scroll="None">
<FontTable>
<FontTableEntry fontID="1" fontName="Comic Sans MS"/>
</FontTable>
<TextBox right="0" left="0" bottom="0" top="0"/>
<Style styles="Normal" fontSize="60" fontID="1" color="FFFFFF00"/>
</TextSampleDescription>
</TextStreamHeader>
<TextSample sampleTime="00:00:00.000"/>
<TextSample sampleTime="00:00:14.680" xml:space=="preserve">At the left we can see...</TextSample>
<TextSample sampleTime="00:00:17.510" xml:space=="preserve"/>
</TextStream>
But all the player just seem to use their default styling infos,...
even something like:
<Style styles="Italic" fontSize="60" fontID="1" color="FFFFFF00"/>
just is getting ignored,..
Cu Selur
I was wondering if I am doing something wrong or are the font declarations inside a ttxt file just ignored by mplayer, vlc and mpc-hc?
My ttxt file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!--GPAC 3GPP Text Stream-->
<TextStream version="1.1">
<TextStreamHeader width="" height="" translation_x="0" layer="0" translation_y="0">
<TextSampleDescription verticalText="no" horizontalJustification="center" verticalJustification="bottom" backColor="00000000" fillTextRegion="no" continuousKaraoke="no" scroll="None">
<FontTable>
<FontTableEntry fontID="1" fontName="Comic Sans MS"/>
</FontTable>
<TextBox right="0" left="0" bottom="0" top="0"/>
<Style styles="Normal" fontSize="60" fontID="1" color="FFFFFF00"/>
</TextSampleDescription>
</TextStreamHeader>
<TextSample sampleTime="00:00:00.000"/>
<TextSample sampleTime="00:00:14.680" xml:space=="preserve">At the left we can see...</TextSample>
<TextSample sampleTime="00:00:17.510" xml:space=="preserve"/>
</TextStream>
But all the player just seem to use their default styling infos,...
even something like:
<Style styles="Italic" fontSize="60" fontID="1" color="FFFFFF00"/>
just is getting ignored,..
Cu Selur