ghostlexly / gpu-video-wallpaper

Use your GPU for rendering low CPU usage video animated wallpaper.
MIT License
165 stars 12 forks source link

wallpaper does not zoom to fit screen #17

Closed rubybirdy closed 1 year ago

rubybirdy commented 2 years ago

using a wallpaper without a resolution matching that of the monitor results in large black bars appearing instead of simply zooming in the wallpaper. this could be a problem for setups with multiple monitors of differing resolutions

image

ghostlexly commented 2 years ago

Which dimensions are your wallpaper and desktop screen ?

rubybirdy commented 2 years ago

my wallpaper is 2560x1080, and my monitor is 1920x1080

SwallowYourDreams commented 2 years ago

video-wallpaper does not support stretch or zoom to fit screen yet. For now, it just takes the video you throw at it and displays it as is. If your screen resolution deviates from video resolution, mpv will add black bars.

For now, the only workaround is to change the video resolution size to fit screen size, i.e. in your case: cut the width to 1920px. This shouldn't be a problem because your video wallpaper was artificially extended in width (hence the two ferris wheels, trees, falling stars, etc.).

We might consider adding a zoom/stretch video to match screen resolution feature in the future.