Dear all,
I am currently studying how to play transcription files
synchronized
with the audio source.
My transcriptions are utf-8 encoded (I need phonetic
characters,
IPA). My SMIL files are quite simple :
<?xml version="1.0"
encoding="utf-8"?>
<smil>
<head>
<layout>
<root-layout width="400"
height="80" background-
color="transparent" />
<region id="speaker1" left="0"
top="0" width="200"
height="80"
fit="meet"/>
<region id="speaker2" left="200"
top="0" width="200"
height="80"
fit="meet"/>
</layout>
</head>
<body>
<par>
<audio src="record.wav"
dur="25540ms"/>
<text src="sp1u1.txt"
region="speaker1"
begin="100ms" dur="2165ms"/>
<text src="sp2u1.txt"
region="speaker2"
begin="300ms" dur="1510ms"/>
<text src="sp1u2.txt"
region="speaker1"
begin="877ms" dur="1665ms"/>
<!-- and so forth -->
</par>
</body>
</smil>
My problem is that the texts are weirdly displayed depending
on
whether the client is on a Mac or a PC.
Is there a way to set this ?
RealPlayer uses <param name="charset"
value="iso-8859-1"/> as a child
of text, but doesn't provide the utf-8 charset support...
If I use HTML instead of raw text, encoding is well managed
but the
content is displayed on the root window instead of on the
specified
region...
Is that a bug or a feature ? or I missed something ?
A very nice and straightforward solution would be to enter
transcription text as PCDATA inside the text element (since
XML is
supposed to be fully Unicode compliant), but this does not
comply
with the W3C recommandation... (media objets are empty) :
<text region="speaker1"
begin="100ms" dur="2165ms">Hi, my
name is
Matthieu</text>
Is there a way to enable such an extension ?
Matthieu
--
Matthieu QUIGNARD, Chargé de recherche au CNRS
Equipe "Langue et Dialogue", UMR 7503 LORIA
Campus scientifique, BP 239
54506 Vandoeuvre-lès-Nancy cedex (France)
Tel +33 383 59 20 34 Fax +33 383 41 30 79
http://www.loria.fr/~q
uignard/
_______________________________________________
Ambulant-users mailing list
Ambulant-users ambulantplayer.org
http://www.ambulantplayer.org/mailman/listinfo/ambu
lant-users
|