shell icon indicating copy to clipboard operation
shell copied to clipboard

[FEATURE] Mp4 as wallpaper

Open depcustodian opened this issue 1 year ago • 4 comments

Is there any option to apply .mp4 or .mkv file as wallpaper? I've tried to add a proper filetypes to a Wallpaper.qml, but that obviously didn't work as planned.

depcustodian avatar Jun 25 '25 21:06 depcustodian

The issue is that to play a video, you need a different QML component (Video instead of Image). This means that if I want to support both, it will be a lot more complicated (because of the transitions). I may add support for this in the future (when I get time), but for now you'll have to create your own fork and replace the code in the QML sorry.

soramanew avatar Jun 26 '25 05:06 soramanew

you mean wallpaper.qml, i haven't found any image.qml in files

depcustodian avatar Jun 26 '25 19:06 depcustodian

you mean wallpaper.qml, i haven't found any image.qml in files

The file containing the code for the wallpaper is modules/background/Wallpaper.qml yes, but I was talking about the QML components. I recommend you just go to the file modules/background/Background.qml and replace the Wallpaper component with a Video from Qt6Multimedia, manually passing the path to the wallpaper to the component. Additionally, if using a video wallpaper, the dynamic scheme generation will not work

soramanew avatar Jun 27 '25 01:06 soramanew

Would it be possible to instead integrate swww into the wallpaper backend so that we could select .gif and .webp files as wallpapers and have transitions between them when switching through wallpapers in the launcher?

PandaBear80 avatar Aug 02 '25 17:08 PandaBear80