Log in

View Full Version : RealVideo 9 Subtitles !!! How ???


rui.m.godinho
6th August 2002, 22:39
This how I try to display the subtitles but I really have a problem:

I use SubRip, save as *.srt and the convert into a *.rt file.

But I don't know if the erro is in the SMIL file or in the rt file, but my subtitles are displayed in a black windows tag, on top of the movie, and I want her to be transparent and only to display the font (letters) but I can't.

Could u tell me how can display a transperent window ?

This is the structure of my *.rt file:

<window type="generic" duration="1:33:23.00" width="550" height="50" wordWrap="true" loop="true" bgcolor="black"/>
<font color="white" face="Arial" size="+1">

>
<Time Begin="0:00:24.64" End="0:00:28.59" /><clear/> .... (the dialogs)

This is the structure of my *.smil file:

<smil>
<head>
<layout>
<root-layout backgroundColor="black" width="640" height="336"/>
<region id="video_region" z-index="1"/>
<region id="text_region" top="288" bottom="150" left="10" z-index="4"/>
</layout>
</head>
<body>
<par>
<video src="movie.rmvb" region="video_region" fill="remove"/>
<textstream src="subtitles.rt" region="text_region"
rn:backgroundOpacity="50%" rn:mediaOpacity="50%" fill="freeze"/>
</par>
</body>
</smil>

As you can see I tried to use "rn:backgroundOpacity="50%" " just to test, but the window maintained black and no different on fade color :(

Please this is only what I need, I would be very appreciated if u could help me.

31 Flavas
7th August 2002, 17:42
According to real's notes on real text the default backround color is transparent. So do not specify a bgcolor and the text should just overlay.

http://service.real.com/help/library/guides/realone/ProductionGuide/HTML/realpgd.htm?page=htmfiles/realtext.htm%23layout

I'll try this in one of my subbed anime rips and get post back my results later.

31 Flavas
7th August 2002, 17:59
A quick test only gives me a white backround. Read the guide link I posted and try it messing around with it yourself, I won't have time until tomarrow.

31 Flavas
7th August 2002, 18:34
haha! bow before me!

This must be the very first line in your .smil file. It *MUST* be there or transparancy will not work.

<smil xmlns="http://www.w3.org/2001/SMIL20/Language" xmlns:rn="http://features.real.com/2001/SMIL20/Extensions">Additionally, if you want a competely transparent backround and solid subtitles use this in the textstream definition.

rn:backgroundOpacity="0%" rn:mediaOpacity="100%"Borders and/or shadows on text would be cool, but I don't think realtext is that advanced.

Anyway, did I answer your question? :)

31 Flavas
14th August 2002, 20:48
i've discovered that you can have rudementary borders around text if you set the bgcolor attribute of the <window> line in the .rt file to black. It's not much, but if you are going the transparancy route it helps a lot.

31 Flavas
28th February 2003, 00:09
Ahh, I asked karl about the borders and/or shadows. It is possible.

Click this for the tread (http://forum.doom9.org/showthread.php?s=&threadid=40636).

Eric B
28th February 2003, 16:49
I've tried the rn:... functions, but it doesn't work.
"General error occured", says RealOne.

Can you write a whole good smil file ?

31 Flavas
26th March 2003, 21:50
Originally posted by Eric B
I've tried the rn:... functions, but it doesn't work.
"General error occured", says RealOne.

Can you write a whole good smil file ? I just ran into this error while doing some subs. What I was doing was explicity linking to a file. What I found fixed the problem was relatively linking to the file (in this case the .smil, .rmvb, and .rt have to be in the same directory).

Here is some code.


explicit link

<textstream src="D:\Real\Gundam 0083\gundam_0083_02.rt" region="text_region" rn:backgroundOpacity="0%" fill="freeze"/>
relative link

<textstream src="gundam_0083_02.rt" region="text_region" rn:backgroundOpacity="0%" fill="freeze"/> Hope it helps.

Eric B
27th March 2003, 16:41
ok, thanks for your replies.

my mistake was the wrong place for rn:backgroundOpacity="0%".
It has to be in the <textstream > line and not <region id> one, which was unclear before.