I saw some apps to set a video as wallpaper but they are not free. I don't have a lot of money, so I've decided to create my own with Python!
It was way easier to create than I thought! Unfortunately, I have completely insane percent of processor use with this script!
In fact, the change of background as I does ask lot of resources for explorer.exe
I mean, wait, just look:
Oof... And this is for the version of 25 FPS!
So, I ask your help and your knowledge to, I hope, achieve the 30 FPS without so much from the processor.
This is my script, it's pretty short:
from time import sleep
import ctypes, os
imagePath = [os.path.normpath("C:/Users/Administrateur/Pictures/bg/output ({}).jpg".format(i)) for i in range(250)]
while True :
for i in range(250):
ctypes.windll.user32.SystemParametersInfoW(20, 0, imagePath[i], 0)
sleep(0.04) # only 25 fps !
Thanks!