[solved] movie on two screens

Everything else that doesn't fall into one of the other PB categories.
k3pto
User
User
Posts: 87
Joined: Sat Jan 17, 2015 5:24 pm

[solved] movie on two screens

Post 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.
Last edited by k3pto on Wed Aug 21, 2024 6:18 pm, edited 2 times in total.
BarryG
Addict
Addict
Posts: 4218
Joined: Thu Apr 18, 2019 8:17 am

Re: movie on two screens

Post 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
Post Reply