<br><font size=2 face="sans-serif">I don't really have many test-streams
which are practical to upload (several GB each). I have just created a
small one and uploaded it though: usf_subtitles_demo.mkv. I've also uploaded
the USF file that was used to create it (my Muxing with mmg.exe in MkvToolnix).
You don't need the USF file to play the stream, but it shows the sort of
syntax that ends up getting encoded into the mkv file.</font>
<br>
<br><font size=2 face="sans-serif">Hope this helps</font>
<br>
<br><font size=2 face="sans-serif">Bernie</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Derk-Jan Hartman <hartman@videolan.org></b>
</font>
<br><font size=1 face="sans-serif">Sent by: vlc-devel-bounce@videolan.org</font>
<p><font size=1 face="sans-serif">13/03/2007 08:05 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
vlc-devel@videolan.org</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">vlc-devel@videolan.org</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top><font size=1 face="sans-serif">Bernie Purcell <b.purcell@adbglobal.com></font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[vlc-devel] Re: [PATCH] MKV
USF subtitles support</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>On 12-mrt-2007, at 0:53, Bernie Purcell wrote:<br>
> Got a bit tired of not having Matroska USF support. :-)<br>
> The patch below adds the following:<br>
><br>
> * Decodes USF streams muxed within the Matroska container format.
 <br>
> USF was created especially for the Matroska container.<br>
> * Adds additional routines to the Freetype module's text rendering
 <br>
> engine to support subtitles whose font, style, size and colour is
 <br>
> allowed to change partway through the subtitle, ie. HTML version of
 <br>
> the subtitle. Sytles now supported are bold and italics (supported
 <br>
> by fontconfig) and underline which is manually calculated. This  <br>
> code has only tested on the linux version.<br>
> * Code added to subpictures to choose HTML rendering over Text  <br>
> rendering if rendering module supports HTML and if a HTML version
 <br>
> of the subtitle exists.<br>
> * Additional fields added to subpicture_region_t filter_t to permit
 <br>
> the additional information to be carried without interfering with
 <br>
> the existing plain text version of the subtitle.<br>
> * Code added to configure.ac to detect presence of fontconfig -  <br>
> which is required by the new rendering functions. Absence of  <br>
> fontconfig causes the plain text rendering code to be used.<br>
><br>
> At present only USF is rendered using the new rendering functions.
 <br>
> This minimises its impact on existing modules. It is, however, not
 <br>
> difficult to extend part of this functionality to SSA subtitles,  <br>
> for example, in order to more greatly support the style information.<br>
<br>
VERY nice work. Thank you so much.<br>
It still needs a bit of review before it goes in, because it's a lot  <br>
of new code, but it looks good so far.<br>
One thing, if you have same examples, could you please upload them to  <br>
ftp://streams.videolan.org/incoming ?<br>
<br>
Again, thank you very much for tackling two of our biggest subtitle  <br>
"enhancement"-tickets.<br>
<br>
DJ<br>
<br>
-- <br>
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/<br>
To unsubscribe, please read http://developers.videolan.org/lists.html<br>
</tt></font>
<br>