Page 1 of 1

[solved] movie on two screens

Posted: Sat Aug 10, 2024 12:53 am
by k3pto
I need to show a movie on two monitors. Everything seems to be working except that there is a short (100ms?) but noticeable delay between them. Is there any way to synchronize them?

Thanks again BarryG for your suggestion; however, I believe I have found an easier solution... I do all the processing for a move for a screen and immediately after PlayMovie, I PauseMovie. I do this for all three screens. When I finish with the last screen, I then execute ResumeMovie for each screen. I cannot detect any noticeable lack of sync between the audio and video.

Re: movie on two screens

Posted: Sat Aug 10, 2024 1:21 am
by BarryG
Just guessing: you're loading and starting each movie one after the other? Try doing this from a thread for each instead, so the second one doesn't have to wait for the first one to start playing.

Otherwise, on Windows, you can certainly create a new window with a mirrored version of the first (just make the thumbnail the same size as the original movie) -> https://www.purebasic.fr/english/viewto ... 89#p520089