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.
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.