While I use the same hardware on windows and macOS (dual-boot), I experience a very low fps (1 image per second) on windows, while the video is played smoothly on macOS. (the sound is played properly)
I checked on the quality of the display using classical video player on windows and quicktime, windows media player and vlc are all able to play the video without any drop in the framerate.
You will find here the code I use to play the video. I tried with and without the option alwaysbuffer, but it did not bring any improvement.
Code: Select all
create invisible player "myPlayer"
set the alwaysbuffer of player "myPlayer" to true
set the filename of player "myPlayer" to fich
set the height of player "myPlayer" to 542
set the width of player "myPlayer" to 962
set the location of player "myPlayer" to 513,351
put the duration of player "myPlayer" into $videoSize
put the timeScale of player "myPlayer" into $timeRatio
if $timeRatio is 0 then
put 25 into $timeRatio
end if
put $videoSize/$timeRatio into $videoTime
-- put $videoSize/600 into $videoTime
wait for 3 secs
set the visible of player "myPlayer" to true
wait for 0.3 secs
start player "myPlayer"
wait for $videoTime secs
-- deal with click during the sound
get flushEvents("all")
wait for 0.3 secs
delete player "myPlayer"
Some of you will notice that the video is resized (original size is divided by two with two additional pixels for the margin). Although reducing the quality of the video increase the framerate, I would like to keep the possibility of playing HD movies since my hardware can manage to play it with classical video players or even through livecode, when running on macOS.