PDA

View Full Version : RV9 & transparent subtitle (rt/smil): possible ?


Eric B
27th February 2003, 15:40
I have a 4/3 movie in which in would like to have transparent subtitble. I've read a lot of docu about realtext, as here:
http://service.real.com/help/library/guides/realtext/realtext.htm

But whereas backgroundColor="transparent" , the text is always in a white rectangle, which hids a part of the movie. I don't want a banner outside the movie, because the resolution ratio were < 4/, and the movie isn't fullscreen.

Here my smil file and a part of rt file:
<smil xmlns="">
<head>
<layout>
<root-layout backgroundColor="black" width="576" height="432"/>
<region id="video_region" z-index="1"/>
<region id="text_region" backgroundColor="transparent" height="50" bottom="0" z-index="2"/>
</layout>
</head>
<body>
<par>
<video src="movie.rmvb" region="video_region" regPoint="topMid" regAlign="topMid" fill="remove"/>
<textstream src="english_test.rt" region="text_region" fill="freeze"/>
</par>
</body>
</smil>
<window duration="1:58:06.00" width="576" height="50" wordwrap="true" loop="true" bgcolor="transparent">
<font color="red" face="Arial" size="+2 bgcolor="transparent">

Any solution ?

karl_lillevold
27th February 2003, 23:39
See this thread
http://forum.doom9.org/showthread.php?s=&threadid=40636&highlight=realtext

Does this answer your question?

BTW, if you post a question on RealText or sub-titles in RV9 in this category, you may want to ping me a PM, since I generally don't have time to follow all the categories.

31 Flavas
27th February 2003, 23:44
Ahh!! For transparent subtitles the following line *MUST* be the first line in your .smil file.

<smil xmlns="http://www.w3.org/2001/SMIL20/Language" xmlns:rn="http://features.real.com/2001/SMIL20/Extensions">

Try adding that first. If that doesn't work, lemme know and i'll take a look at your subs.

31 Flavas
28th February 2003, 00:04
For further reference, here is a previous thread that discusses this.

RV9 Subtitles thread (http://forum.doom9.org/showthread.php?s=&threadid=30840)

Eric B
28th February 2003, 14:14
Thanks for your answers.
I've read the rn: stuff, but does the <smil xmlns> line means that I need to be connected to internet to play my movie ?

So I tried this with rn:backgroundOpacity="0%" and/or rn:mediaOpacity="100%" but I've got a message : "general error has occured" in RealOne.
What's wrong ?

Eric B
27th March 2003, 16:44
Thanks to 31 Flavas, I found the explanation.
The rn: option has to be in the textream line and not region id one !

The following code works fine :

<smil xmlns="http://www.w3.org/2001/SMIL20/Language"
xmlns:rn="http://features.real.com/2001/SMIL20/Extensions">
<head>
<layout>
<root-layout backgroundColor="black" width="576" height="432"/>
<region id="video_region" z-index="1"/>
<region id="text_region" backgroundColor="transparent" height="50" bottom="0" z-index="2"/>
</layout>
</head>
<body>
<par>
<video src="movie.rmvb" region="video_region" regPoint="topMid" regAlign="topMid" fill="remove"/>
<textstream src="english.rt" region="text_region" rn:backgroundOpacity="0%" fill="freeze"/>
</par>
</body>
</smil>