Re: playselection

2003-03-25 Thread Signe Marie Sanne
Title: Re: playselection


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
2
  set the starttime of player "visp"
to  2
 
  set the endtime of player "visp" to
9
  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:
[EMAIL PROTECTED]
Romansk
Institutt    tel:  +47 55 58 21
27
Oysteins gt.
1   
5007
Bergen 
http://www.hf.uib.no/hfolk/mlab/hjem/default.html
Norway




playselection

2003-03-20 Thread Signe Marie Sanne
Title: playselection


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 2
  set the
starttime of player "visp" to  2
 
  set the
endtime of player "visp" to 9
  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?
-- 


1. amanuensis Signe Marie Sanne  e-mail:
[EMAIL PROTECTED]
Romansk
Institutt    tel:  +47 55 58 21
27
Oysteins gt.
1   
5007
Bergen 
http://www.hf.uib.no/hfolk/mlab/hjem/default.html
Norway