Page 1 of 1

problem with wiindows standalone playing video

Posted: Wed Jan 04, 2012 3:55 am
by howeyb
I have a stack (created on a Mac) that plays a .mov video using a player. The mac standalone works fine. The windows standalone (.exe file) works on some PC laptops in my office, but on my husband's HP laptop (windows 7) the video won't play. He has quicktime installed and the videos play fine independently, but not when I run the .exe standalone. It seems that the standalone can't launch quicktime . It seems odd that the videos play on some pc's and not others. Any idea of the problem? I put the file path into the message box and it's going to the right place. We also reinstalled quicktime on the HP and that didn't help.

set the itemdel to "/"
get the filename of this stack
delete the last item of it
put it into OPATH

set the filename of player "video" to OPATH&"/videos/"&VIDID&".MOV" --VIDID is the filename of the movie in the "video" folder located in the same folder as the standalone stack files
start player "video"

Thanks,

Betty

Re: problem with wiindows standalone playing video

Posted: Wed Jan 04, 2012 11:59 am
by Mark
Hi Betty,

You might want to include a check to see if the file is really there in your script:

Code: Select all

set the itemdel to "/"
get the filename of this stack
delete the last item of it
put it into OPATH
put OPATH&"/videos/"&VIDID&".MOV"  into myFile
if there is a file myFile then
  set the filename of player "video" to 
  start player "video"
else answer error "Can't find movie file."
What is the codec of your mov file? Note that mov is only a wrapper and could include a codec that isn't available on your husband's laptop. If your husband has a simple netbook for instance then it is possible that the video processor can't cope with the high resolution or many frames of your movie file and gives up (even though a crash might be more likely in this case).

What happens if you include the player with the reference to the movie file in an otherwise completely empty stack and try to play that?

Kind regards,

Mark