playselection

Signe Marie Sanne signe.sanne at roman.uib.no
Tue Mar 25 08:05:01 EST 2003


>I'm completely stuck, hope someone can help me...
>
>Mac 9.2.2 using MetaCard 2.5B5:
>
>In an application I display video sequences with (the script is 
>somewhat simplified):
>    
>   set loc of player "visp" to -160,-250
>  set the filename of player "visp" to 
>"/Signes/MetaCardMappe/IVANA-MC/xmf/alene5.mpg"
>
>  set currenttime of player "visp" to 20000
>   set the starttime of player "visp" to  20000
>
>   set the endtime of player "visp" to 90000
>   set the playselection of player "visp" to true
>  set loc of player "visp" to 410,126 
>   start player visp
>
>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?
>--
>
>

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.  With QT 6.0.2 I have to convert the original 
milliseconds:  tFromNumber*90 and tToNumber*90. Don't ask me why, but 
it works.

Regards
Signe Marie Sanne
-- 

1. amanuensis Signe Marie Sanne      e-mail: signe.sanne at roman.uib.no
Romansk Institutt                            tel:  +47 55 58 21 27
Oysteins gt. 1                                   
5007 Bergen        	 http://www.hf.uib.no/hfolk/mlab/hjem/default.html
Norway
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.runrev.com/pipermail/metacard/attachments/20030325/f3a3d4cd/attachment.htm


More information about the metacard mailing list