rui.m.godinho
6th August 2002, 01:11
No matter what I do I can't make the window (where the subs are shown) background color to transparent. I'm asking this because the windows is appearing on top of the movie :(
This is what I use to *.rt sub:
<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">
<center>
>
<Time Begin="0:00:24.64" End="0:00:28.59" /><clear/> ...
...
As u can see my my background window will display "black". If I choose "transparent" I see a white bar and no subs (because font is white) So I leave bgcolor="black"
So I thought that the problem was in the smil file (file that I'm trying to learn of more)
This is what I use in my 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="2"/>
</layout>
</head>
<body>
<par>
<video src="1.rmvb" region="video_region" fill="remove"/>
<textstream src="subtitle.rt" region="text_region"
rn:backgroundOpacity="50%" fill="freeze"/>
</par>
</body>
</smil>
I just want to run the movie (with audio) and one subtitle. I add rn:backgroundOpacity="50%" but this function isn't working for me why ??? Could u give me a hand please
:(
What do u thing my smil file should look like ? Could you ppl post some examples.
This is what I use to *.rt sub:
<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">
<center>
>
<Time Begin="0:00:24.64" End="0:00:28.59" /><clear/> ...
...
As u can see my my background window will display "black". If I choose "transparent" I see a white bar and no subs (because font is white) So I leave bgcolor="black"
So I thought that the problem was in the smil file (file that I'm trying to learn of more)
This is what I use in my 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="2"/>
</layout>
</head>
<body>
<par>
<video src="1.rmvb" region="video_region" fill="remove"/>
<textstream src="subtitle.rt" region="text_region"
rn:backgroundOpacity="50%" fill="freeze"/>
</par>
</body>
</smil>
I just want to run the movie (with audio) and one subtitle. I add rn:backgroundOpacity="50%" but this function isn't working for me why ??? Could u give me a hand please
:(
What do u thing my smil file should look like ? Could you ppl post some examples.