Go Back   CodingForums.com > :: Client side development > Graphics and Multimedia discussions

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-24-2003, 04:26 AM   PM User | #1
cedsn
New Coder

 
Join Date: Aug 2002
Location: san marcos TX
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
cedsn is an unknown quantity at this point
smil and quicktime

I am trying to setup a quick time movie to be able to play with a caption file that is separate from the movie.. I created the caption text file with Magpie, and have also used quicktime to generate a movie of the caption that will work when played in sequence... I wanted to upload 2 versions of the movie, with and without captions, but due to space limitations this isn't going to work.

so.. I am trying to use smil to synchronize the captions and the movie, but whenever I try to view it I get this error
Couldn't open the file city_life_qt_broad_captions.smi because an XML semantic error was encountered.

If I go ahead and try to play the file, I get the error code "-2159"

here is the code on the webpage that calls for the smil file..

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="320" height="240" standby="Data is loading..."
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="video/trialmask2.mov">
<param name="autohref" value="true">
<param name="controller" value="false">
<param name="href" value="city_life_qt_broad_captions.smi">
<param name="target" value="quicktimeplayer">
<embed src="video/trialmask2.mov" type="video/x-quicktime" width="320" height="240"
autohref="true" controller="false" href="city_life_qt_broad_captions.smi" target="quicktimeplayer">
</embed></object>


and here is my smil file...


<smil xmlns:qt="http://www.apple.com/quicktime/resources/smilextensions"
qt:autoplay="true" qt:time-slider="true">
<head>
<layout>
<root-layout background-color="black" width="240" height="246" />
<region id="videoregion" top="0" left="0"
width="240" height="180" />
<region id="textregion" top="180" left="0"
width="240" height="50" />
</layout>
</head>
<body>

<par>
<video src="http://cedsn.com/aaron/video/City_Life_ISDN.mov"
region="videoregion" />

<video src="http://cedsn.com/aaron/video/city_life_caption.mov"
region="textregion" />
</par>

</body>
</smil>



I have also tried setting the source for the textregion using the following code..

<textstream src="http://cedsn.com/aaron/video/citylifecaptions.txt" region="textregion" />

but got the same error..

can anybody tell me why it's not working?
the url for the page itself is http://cedsn.com/aaron/citylifeqtbroadcaptions.php

Thanks!
cedsn is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:07 PM.


Advertisement
Log in to turn off these ads.