<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: playselection</title></head><body>
<blockquote type="cite" cite>I'm completely stuck, hope someone can
help me...</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>Mac 9.2.2 using MetaCard
2.5B5:</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>In an application I display video
sequences with (the script is somewhat simplified):</blockquote>
<blockquote type="cite" cite><font face="Helvetica" size="+1"
color="#000000">&nbsp;&nbsp;&nbsp;</font></blockquote>
<blockquote type="cite" cite><font face="Helvetica" size="+1"
color="#000000">&nbsp; set loc of player &quot;visp&quot; to
-160,-250</font></blockquote>
<blockquote type="cite" cite><font face="Helvetica" size="+1"
color="#000000">&nbsp;set the filename of player &quot;visp&quot; to
&quot;/Signes/MetaCardMappe/IVANA-MC/xmf/alene5.mpg&quot;</font></blockquote
>
<blockquote type="cite" cite><font face="Helvetica" size="+1"
color="#000000"><br></font></blockquote>
<blockquote type="cite" cite><font face="Helvetica" size="+1"
color="#000000">&nbsp;set currenttime of player &quot;visp&quot; to
20000</font></blockquote>
<blockquote type="cite" cite><font face="Helvetica" size="+1"
color="#000000">&nbsp; set the starttime of player &quot;visp&quot;
to&nbsp; 20000</font></blockquote>
<blockquote type="cite" cite><font face="Helvetica" size="+1"
color="#000000">&nbsp;</font></blockquote>
<blockquote type="cite" cite><font face="Helvetica" size="+1"
color="#000000">&nbsp; set the endtime of player &quot;visp&quot; to
90000</font></blockquote>
<blockquote type="cite" cite><font face="Helvetica" size="+1"
color="#000000">&nbsp; set the playselection of player &quot;visp&quot;
to true</font></blockquote>
<blockquote type="cite" cite><font face="Helvetica" size="+1"
color="#000000">&nbsp;set loc of player &quot;visp&quot; to
410,126&nbsp;</font></blockquote>
<blockquote type="cite" cite><font face="Helvetica" size="+1"
color="#000000">&nbsp; start player visp</font></blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>This works beatifully with QuickTime 5,
but with QT 6 just a little more than1 second of the video is
displayed. I need to be able to set the endtime at any point in the
video. Any suggestions?</blockquote>
<blockquote type="cite" cite><tt>--</tt></blockquote>
<blockquote type="cite" cite><br>
<br>
</blockquote>
<div><br></div>
<div>Well, since I have not received any replies, I would like to give
the answers myself. I guess I did not supply you with enough data.
First of all: the above works well on QT 6.0.2 as well, but the
original data have to be converted in another way. Since my original
data come from milliseconds (video stored on a laser disc), with QT
5.0.2 I had to convert them as follows: tFromNumber*600/1000 and
tToNumber*600/1000.&nbsp; With QT 6.0.2 I have to convert the original
milliseconds:&nbsp; tFromNumber*90 and tToNumber*90. Don't ask me why,
but it works.</div>
<div><br></div>
<div>Regards</div>
<div>Signe Marie Sanne</div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div><br>
1. amanuensis Signe Marie Sanne&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; e-mail:
signe.sanne@roman.uib.no<br>
Romansk
Institutt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tel:&nbsp; +47 55 58 21
27<br>
Oysteins gt.
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;<br>
5007
Bergen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<x-tab
>&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>
http://www.hf.uib.no/hfolk/mlab/hjem/default.html<br>
Norway<br>
</div>
</body>
</html>